> I succesfully manage to create the html-code right, thru suppling an
> IChoiceRenderer. However: how do I get the selecte Value-ID from the
> DropDownChoice-Element. All I manage to get is a String containing the
> Name and the ID.

Typically, you should do that via your model. The drop down component
uses and updates the model for the current selection. So e.g.
myDropDown.getModelObject() or a query directly on the model you
passed in should get you the current selection without you having to
fool around with the id and display values.


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
Wicket-user mailing list

Reply via email to