For most cases, the PropertyChangeEvents are ok. But now I'm facing a
particular problem and I guess I'm trying to use the wrong tool for the
task.
    Let's say I have a bean with two properties and I want to show them as
dropdownchoices, but they are related, think for example of the CarMake,
CarModel, or Country, State pairs, where the first value determines a subset
of possibilities for the second value.
    I would like to select the first value, and have the second
dropdownchoice to get filtered by the possible values. How should I face
such a situation ?  I guess having the second dropdownchoice based on an
enum is not correct, since I only want a (non necessarily contiguous) subset
of values to be allowed.

Thanks for your help !

Daniel



Dan Syrstad-2 wrote:
> 
> I assume your real-life case is more involved than just calling info().
> See
> the Introduction/Getting Started documentation at
> http://wicketwebbeans.sourceforge.net for an examples on how to implement
> PropertyChangeEvents and how to do #2 above.
> 

-- 
View this message in context: 
http://www.nabble.com/Enums-and-DropDownChoices-in-Web-Beans-tf4481885.html#a12796948
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to