Move the fragment markup *outside* the form. Martijn
On 3/29/07, Dmitry Kandalov <[EMAIL PROTECTED]> wrote: > > Hi, > > I have a fragment inside of form: > Form form = new Form( "form" ); > Fragment fragment = new Fragment( "fragmendId", "markupId" ); > form.add( fragment ); > > and markup: > <form wicket:id="form" action=""> > > <wicket:fragment wicket:id="markupId"> > ... > </wicket:fragment> > </form> > > It fails with "WicketMessage: Markup does not contain a fragment with > id=markupId;". Though using new Fragment( "fragmendId", "form:markupId" ) it > works. Is it a bug? > -- > View this message in context: > http://www.nabble.com/using-fragment-inside-of-form-tf3486450.html#a9733642 > 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
