On 4/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Second question is whether Wicket provides support for creating unique id's > for elements. > My html for the PostalAddressFieldset includes things like: > > <input wicket:id="addressLine" id="addressLine" type="text" size="40"/> > > Obviously this is no good as when I use this component multiple times on a > form, I end up > with multiple fields with the same id.
Wicket will create unique id's (names) for the form components automatically, as the panel is a differentiating factor here: it takes into account the fact that you have the fields on a panel (the wonders of a true component oriented framework). Martijn -- Learn Wicket at ApacheCon Europe: http://apachecon.com Join the wicket community at irc.freenode.net: ##wicket Wicket 1.2.6 contains a very important fix. Download Wicket now! http://wicketframework.org ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user