• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

How many text fields to I need (GWT)?

 
clojure forum advocate
Posts: 3479
Mac Objective C Clojure
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
A visitor stores some data in his session-scoped shopping cart.
I want to create GWT managing cart page.
-----------
Item Name | Quantity
-----------
Quantity is a text field shows the current quantity for each item.
There is a submit method to update the data.
A visitor can edit the quantities for the current items in his cart
and press Update button to propagate those changes to his cart.
Here is the question:
* The application has many text fields (the number of text fields
depends on the current number of items in the cart).
How many text field do I need? one for each item? or just one instance?
Thanks.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you looked at the GWT PEt Store example?
http://code.google.com/p/gwtpetstore/

Might give you ideas

Eric
 
He repaced his skull with glass. So you can see his brain. Kinda like this tiny ad:
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!