Hi Igor, another problem relating to the borders:

The markup is the same now, but if the content is set to be hidden
(visible=false) on the first time I load the page, I get the same
error message (Expected close tag for "border"). So it now only works
if the contents are visible by default, but can be hidden (and shown
again) using the ajax toggle button:

Main page:
::::::::::::::::::::::
<span wicket:id="border">
Hide me by default (contents.setVisible=false)
</span>


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>
       <span wicket:id="contents">
          <wicket:body/>
       </span>
  </fieldset>
</wicket:border>
</body>
</html>

Somehow the renderer does not find the body tag because the "contents"
-block is not visible? Is there any fix to allow hiding the border
contents by default?

**
Martin

2008/8/10 Igor Vaynberg <[EMAIL PROTECTED]>:
> thanks
>
> -igor
>
> On Sat, Aug 9, 2008 at 10:19 PM, Martin Makundi
> <[EMAIL PROTECTED]> wrote:
>>> 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
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to