-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 <form wicket:id="fooForm"> <p wicket:id="barFeedback"></p> <input type="text" wicket:id="barText" /> </form>
Rüdiger Schulz wrote: > Hello list, > > I'm just starting to use Wicket 1.1, and stumbled upon an issue with > the component tree. > > Say I have a Form fooForm and a TextField barText, which is wrapped in a > FormComponentFeedbackBorder barFeedback. The tree therefore is like > this: > > fooForm:barFeedback:barText > > I'd like to do HTML like this: > > <form wicket:id="fooForm"> > <p wicket:id="barFeedback"> > <input type="text" wicket:id="barText" /> > </p> > </form> > > If I run the page, I get a MarkupException: Unable to find component > with id 'barText'. > > But if I replace the <p> tag with a <div> tag, this works fine, which > seems rather strange to me. Does it really matter in what tags i put > the wicket:id? And if so, why is there no error regarding the > barFeedback in the first place? Is there a list of valid tags for > building the component tree in the HTML? > > - -- Justin Lee http://www.antwerkz.com AIM : evan chooly Phone: 720.299.0101 Skype : evan chooly -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (Cygwin) iD8DBQFEKrH7JnQfEGuJ90MRA8bSAKCXBfBBjjgvpPJrlcRr8az/dVdnVwCdFmF0 NZ4PS8EE5tH9o8ajAGTtly0= =oQE4 -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user