> 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. Eelco ------------------------------------------------------------------------- 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 http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user