Where the fragment is defined is different from where it is used. You define the fragment outside the form (just as you would do a panel, but that is in another file). The fragment is then instantiated and added to the place where it will render itself, in your case: the form.
Martijn On 3/29/07, Dmitry Kandalov <[EMAIL PROTECTED]> wrote: > > > Martijn Dashorst wrote: > > > > Move the fragment markup *outside* the form. > > > > It works outside the form. But I want to show/hide some of form inputs and > related html tags. > -- > View this message in context: > http://www.nabble.com/using-fragment-inside-of-form-tf3486450.html#a9734356 > Sent from the Wicket - User mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Wicket-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-user > -- Learn Wicket at ApacheCon Europe: http://apachecon.com Join the wicket community at irc.freenode.net: ##wicket Wicket 1.2.5 will keep your server alive. Download Wicket now! http://wicketframework.org ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
