why are the names not unique?Which names?It should work fine building those forms. Just use setOptimizedRemoval(true) on the listviewso that it doesn't regenerate youre form everytime.johan
On 2/13/06, VGJ [EMAIL PROTECTED] wrote:
I understand simple wicket forms at least a little now...but I'mreally starting to struggle w/ things beyond the trivial when it comesto forms.I'm also having some trouble locating some real solidexamples or documentation...the API reference stops being helpful
really quick.The wicket-examples aren't bad but aren't that greateither...am I missing some documentation somewhere that might behelping 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 rowin wicket using tr wicket:id= ... and the list is displayed on thepage.Now I need to add a radio button list, textbox, and submit
button for each item in the listwhich would submit the form thatthe entire table is wrapped in...how can this be done w/o generatingan error?Obviously, the names aren't unique so an exception isthrown.
Here's an example...a table w/ a dynamic row-set...w/ nested radiobutton list(s)table border=1 width=100% cellpadding=3 cellspacing=0tr wicket:id=mydatalist
span valign=top wicket:id=rclist id=statusrctdinput type=radio //tdtdinput type=radio /
/tdtdinput 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 acertain 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 makessearching your log files as easy as surfing theweb.DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmdlnkkid3432bid#0486dat1642___Wicket-user mailing listWicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user