-Igor
On 10/23/06, Karl M. Davis <
[EMAIL PROTECTED]> wrote:
Hello all,This is a minor annoyance, but I figured I'd throw it out there anyways...Is there a way to have a ListChoice that has no option selected by default and does not insert a default choice (e.g. "Choose One" or an empty entry if you set setIsNullValid(true))? It's possible in HTML but Wicket always inserts an extra <option/> item. AbstractChoice.onComponentTagBody(...) seems to always call AbstractSingleSelectionChoice.getDefaultChoice(...) which will always insert something unless you've pre-selected an item for the user.Thanks,Karl
-------------------------------------------------------------------------
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
------------------------------------------------------------------------- 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