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 -- View this message in context: http://www.nabble.com/-S2--Option-for-mandatory-choice-tp18983453p18983453.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]