You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by K <ko...@gmail.com> on 2015/01/17 16:14:14 UTC
replacing panels using replaceWith in wicket
Hi i am trying to navigate between two panels. my code has a condition where
if false it has to go back to the actual panel with parameters which in turn
prints a error msg in feedbackpanel.
i am getting this error when condition is true.
Please suggest how to redirect to actual panel.
Thanks
-----
K
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/replacing-panels-using-replaceWith-in-wicket-tp4669020.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: replacing panels using replaceWith in wicket
Posted by K <ko...@gmail.com>.
Hi i have been strugguling with this for a while. could you please suggest
changes.
Scenario: when i search for a job, if a job exists job is displayed in this
panel and if the job does not exist it is redirected back to the search
panel. i am unable to redirect back to the search panel.
-----
K
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/replacing-panels-using-replaceWith-in-wicket-tp4669020p4669056.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: replacing panels using replaceWith in wicket
Posted by K <ko...@gmail.com>.
thanks Sven
i wanted to know how to get around it. i got the solution for it.
Using #onInitilize() method to add the jobdetails panel and then use the
replacewith method.
Thanks
-----
K
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/replacing-panels-using-replaceWith-in-wicket-tp4669020p4669022.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: replacing panels using replaceWith in wicket
Posted by Sven Meier <sv...@meiers.net>.
Hi,
> AgileJobDetails.this.replaceWith(...)
your AgileJobDetails is not yet added to a parent, yet you're trying to replace it with another component.
Check your component hierarchy.
Regards
Sven
On 17.01.2015 16:14, K wrote:
> Hi i am trying to navigate between two panels. my code has a condition where
> if false it has to go back to the actual panel with parameters which in turn
> prints a error msg in feedbackpanel.
>
> i am getting this error when condition is true.
>
>
>
>
>
>
>
>
>
> Please suggest how to redirect to actual panel.
> Thanks
>
> -----
> K
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/replacing-panels-using-replaceWith-in-wicket-tp4669020.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org