Antoine Angénieux wrote: > > May be you should try making your panel abstract and override an > abstract method as an anonymous inner class of your page, instead of all > your "ifs" ? >
Antoine, Thanks for you reply. Your idea is good but it will not work in my case. I have a abstract page to which I add my Panel (menu). All of the other pages extends this abstract page so I don't create/add this panel to them. Best regards, Artur -- View this message in context: http://www.nabble.com/getPage%28%29-throws-IllegalStateException%3A-No-Page-found-for-component-tp14496019p14510157.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]