Hi.

I create 2 nested panel classes in a page.

public class TestPage extends WebPage {
        ...
        private class Panel1 extends Panel {
                public Panel1 {
                        ...
                        add(new Panel2());
                }
                
                private class Panel2 extends Panel {
                        public Panel2 {
                                super("panel2");
                        }
                }
        }
}

And I create TestPage.html, TestPage$Panel1.html and
TestPage$Panel1$Panel2.html.
Access to the Panel1 is succeeded, but access to the Panel2 is failed.

The exception is,
java.lang.IllegalStateException: No Page found for component
[MarkupContainer [Component id = panel2, page = <No Page>, path =
panel2.TestPage$Panel1$Panel2]]

Is panels addition to panels wrong?

Thank you.
R.A
--
View this message in context: 
http://www.nabble.com/panels-addition-to-panels-t1384873.html#a3719620
Sent from the Wicket - User forum at Nabble.com.



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to