I understand simple wicket forms at least a little now...but I'm really starting to struggle w/ things beyond the trivial when it comes to forms. I'm also having some trouble locating some real solid examples or documentation...the API reference stops being helpful really quick. The wicket-examples aren't bad but aren't that great either...am I missing some documentation somewhere that might be helping me better? The wiki doesn't appear to be complete just yet. I'm loving wicket but having a hard time taking it too far since the documentation seems to be so sparse!
Anhow...let's say I've got a List of data...I "map" it to a table row in wicket using <tr wicket:id="" ... and the list is displayed on the page. Now I need to add a radio button list, textbox, and submit button for each item in the list....which would submit the form that the entire table is wrapped in...how can this be done w/o generating an error? Obviously, the names aren't unique so an exception is thrown. Here's an example...a table w/ a dynamic row-set...w/ nested radio button list(s) <table border="1" width="100%" cellpadding="3" cellspacing="0"> <tr wicket:id="mydatalist"> <span valign="top" wicket:id="rclist" id="statusrc"> <td> <input type="radio" /> </td> <td> <input type="radio" /> </td> <td> <input type="radio" /> </td> </span> ... I'm stumped, can't find a good example of a RadioChoice beyond "here's the control packed w/ a simple array as an example" type of stuff. How do I programmatically set one of the controls "checked" if a certain condition is true? A lot of the stuff I'm doing these days pertains to dynamically building forms like this. Thanks in advance! -v ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user