You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2007/10/29 07:12:50 UTC

[jira] Assigned: (WICKET-1095) invisible TransparentResolver skips markup of visible children and thus resulting in an exception in Page#checkRendering (component not found in markup)

     [ https://issues.apache.org/jira/browse/WICKET-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg reassigned WICKET-1095:
-------------------------------------

    Assignee: Johan Compagner

> invisible TransparentResolver skips markup of visible children and thus resulting in an exception in Page#checkRendering (component not found in markup)
> --------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-1095
>                 URL: https://issues.apache.org/jira/browse/WICKET-1095
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.3.0-beta4
>            Reporter: Gerolf Seitz
>            Assignee: Johan Compagner
>             Fix For: 1.3.0-beta5
>
>         Attachments: WICKET-1095.zip
>
>
> the code involved can be found at http://papernapkin.org/pastebin/view/13287
> if a transparent (= isTransparentResolver() {return true;}) markupContainer is set to invisible, the component's markup is skipped (markupStream.skipComponent() in Component.java line 2319).
> if the parent containing the transparent markupContainer is added to the ajax request target and there is a component (in this case a button) "inside" the transparent markupcontainer's markup but is actually a child of the transparent markupcontainer's parent, the button is never actually rendered (due to skipping the markup of the transparent webmarkupcontainer) but is still visibleInHierarchy (see Page.java line 1005), because the invisible transparent markupcontainer is not a parent of the button.
> the ultimate question is: what is the desired behavior for an invisible transparentResolver? render it's "children" or not?

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