You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Jezza (JIRA)" <ji...@apache.org> on 2017/08/24 09:44:00 UTC

[jira] [Comment Edited] (WICKET-6456) Headers not rendered for components inside nested TransparentWebMarkupContainer on ajax update

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

Jezza edited comment on WICKET-6456 at 8/24/17 9:43 AM:
--------------------------------------------------------

Yeah, in hindsight, my entire problem was caused from a misunderstanding of TransparentWebMarkupContainer.
*This ticket can be closed.*

As a side-note in case people have this same issue:
One of my developers decided it was a good idea to nest 3 different TransparentWebMarkupContainers, using the rendering ability of the TWMC to correctly place the components within the hierarchy.

This was removed and replaced by overriding the add method on the panel, calling super.add only when we want to directly add a component to the abstract panel.


was (Author: jezza):
Yeah, in hindsight, my entire problem was caused from a misunderstanding of TransparentWebMarkupContainer.
This ticket can be closed.

As a side-note in case people have this same issue:
One of my developers decided it was a good idea to nest 3 different TransparentWebMarkupContainers, using the rendering ability of the TWMC to correctly place the components within the hierarchy.

This was removed and replaced by overriding the add method on the panel, calling super.add only when we want to directly add a component to the abstract panel.

> Headers not rendered for components inside nested TransparentWebMarkupContainer on ajax update
> ----------------------------------------------------------------------------------------------
>
>                 Key: WICKET-6456
>                 URL: https://issues.apache.org/jira/browse/WICKET-6456
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 7.6.0
>            Reporter: Jezza
>
> Due to https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/markup/html/TransparentWebMarkupContainer.java#L87, if a TransparentWebMarkupContainer isn't the root of the ajax update, it won't be able to render its children's headers.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)