> do you call contents.add(getbodycontainer()) so that <border:body/> is > properly inside the "contents" container?
Thanx.. now it works. It didn't occur to me to look into the javadoc as I was following the example in the wiki. BUT, I have now updated the WiKi accordingly! ** Martin > > On Sat, Aug 9, 2008 at 7:43 AM, Martin Makundi > <[EMAIL PROTECTED]> wrote: >> I tried also >> >> <wicket:container wicket:id="contents"> >> <wicket:body/> >> </wicket:container> >> >> which gives the same error message. >> >> ** >> Martin >> >> 2008/8/9 Igor Vaynberg <[EMAIL PROTECTED]>: >>> wicket:body should not have a wicket:id >>> >>> -igor >>> >>> On Sat, Aug 9, 2008 at 2:17 AM, Martin Makundi >>> <[EMAIL PROTECTED]> wrote: >>>> Hi! >>>> >>>> I am trying to follow the example at >>>> http://cwiki.apache.org/WICKET/consistent-page-layout-using-borders.html >>>> >>>> However, I keep getting the error >>>> >>>> Expected close tag for <wicket:container wicket:id="test"> >>>> >>>> where the test-container is the border block. >>>> >>>> I cannot seem to find any hierarchy errors from the markup and I do >>>> not understand why it does not work... regardless whether the contents >>>> are visible by default or not... anybody? >>>> >>>> Here is my markup: >>>> >>>> Main page: >>>> :::::::::::::::::::::: >>>> >>>> >>>> Border page: >>>> :::::::::::::::::::::: >>>> <html xmlns:wicket="http://wicket.sourceforge.net"> >>>> <head> >>>> <title>Title</title> >>>> </head> >>>> <body> >>>> <wicket:border> >>>> <fieldset style="padding: 0px;"> >>>> <legend> >>>> <input type="button" wicket:id="toggle_contents_button" value=""/> >>>> <span wicket:id="legend"></span> >>>> </legend> >>>> <wicket:body wicket:id="contents" /> >>>> </fieldset> >>>> </wicket:border> >>>> </body> >>>> </html> >>>> >>>> ** >>>> Martin >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>> >>>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
