Author Login
Post Reply
Hi,
I have class structure as follows:
class Store {
List<Fruit> fruits;
Fruit choosenFruit;
}
So, I need in my jsp to represent fruits, but one of those fruits must be
choosen any time (in choosenFruit object, which select one Fruit object from
fruits list) during user input, e.g. when first Fruit is in the list it must
be selected as "choosen", and when other Fruits are put in this list, user
can choose some else Fruit, like this:
Fruits
====================================
| Name | SomeValue | Default |
====================================
| Apple | 5 | |
----------------------------------------------
| Blueberry | 3 | * |
----------------------------------------------
I'm thinking maybe about radio tag to use for this ? Any hint, is it
possible ?
--
Regards, Milan
--
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)