Problem with wicket:extend / wicket:child and ListView on not visible component
-------------------------------------------------------------------------------

                 Key: WICKET-2537
                 URL: https://issues.apache.org/jira/browse/WICKET-2537
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.4.3
            Reporter: Ann Baert


I have two panels: ChildPanel extends from ParentPanel.
ParentPanel has a WebMarkupContainer with a <wicket:child>.
ChildPanel has <wicket:extend> and a repeater like listView of Loop.

When the WebMarkupContainer from ParentPanel is not visible 
(setVisible(false)), I receive an error with as message that I have added 
components in code, but forgot to reference it in markup. He only gives the 
components from the ChildPanel (in the errorMessage), so the label in the 
WebMarkupContainer on ParentPanel is no problem. It is also only a problem when 
it's a repeater, with a label on ChildPanel, there is no problem (when repeater 
and label, also the label is mentioned in the errorMessage)

I've made a simple example to make it more clear.

-- 
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