>> I used this.getPage() in SignInPanel's constructor In the constructor, the page is not yet set (See onInitialize and onConfigure)
-----Ursprüngliche Nachricht----- Von: vaibhav2012 [mailto:[email protected]] Gesendet: Mittwoch, 20. Juni 2012 08:20 An: [email protected] Betreff: Re: AW: How to reload a Wicket-page from Wicket-panel. Hi Hans, I have already tried this, but it doesn't work. SignInPanel is a seperate class which extends *org.apache.wicket.markup.html.panel.Panel*, and it is having its seperate markup. I am adding this SignInPanel as a Component in different wicket pages, as mentioned in the scenario in my original question. SignInPanel has a form, and from onSubmit() of that form, i want to reload the page which holds this SignInPanel. I used this.getPage() in SignInPanel's constructor, but it gives this exception *"org.apache.wicket.WicketRuntimeException: No Page found for component [SignInPanel [Component id = signInPanel]]"* Can u suggest some other way? Thanks, ----- Regards, Vaibhav Gupta -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-reload-a-Wicket-page-from- Wicket-panel-tp4650097p4650099.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
