[ 
https://issues.apache.org/jira/browse/WICKET-1173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12546088
 ] 

Gerolf Seitz commented on WICKET-1173:
--------------------------------------

just to save you some time, the suggested solution doesn't work.

my speculation:
when the bodycontainer is set visible and is rendered again, the 
"originalMarkupStream" in 
Border.BorderBodyContainer.onComponentTagBody(MarkupStream, ComponentTag) is 
still at the position like it was after the Border has been initially rendered.
as a consequence, MarkupContainer#renderComponentTagBody (which is called for 
the BorderBodyContainer) doesn't render the tagbody, because the call to 
markupStream.hasMore() (which is actually the before mentioned 
originalMarkupStream) returns false and does the body of the while loop for 
rendering the children is not executed.


> Border bodycontainer doesn't render a markup placeholder
> --------------------------------------------------------
>
>                 Key: WICKET-1173
>                 URL: https://issues.apache.org/jira/browse/WICKET-1173
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-rc1
>            Reporter: Carlos Pita
>             Fix For: 1.3.0-rc2
>
>         Attachments: border.tgz
>
>
> A border with getBodyContainer().setOutputMarkupPlaceholderTag(true); doesn't 
> generate a placeholder after its body is hidden. I've attached an example.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to