File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes GWT and the fly likes How many text fields to I need (GWT)? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "How many text fields to I need (GWT)?" Watch "How many text fields to I need (GWT)?" New topic

How many text fields to I need (GWT)?

Hussein Baghdadi
clojure forum advocate

Joined: Nov 08, 2003
Posts: 3479

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?
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Have you looked at the GWT PEt Store example?

Might give you ideas

I agree. Here's the link:
subject: How many text fields to I need (GWT)?
It's not a secret anymore!