If the "job panel" and "search panel" has the same id and parent, you can
use the *#addOrReplace(Component)* method on its parent to add the panel
that you need to display.

If the "search panel" is on the previous page, you need to keep the
reference of it and when you submit the form your submit/search button
should call *#setResponsePage(Page)* with the previous page as parameter.

2015-01-21 9:54 GMT-02:00 K <kondetiudayki...@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/Wicket-panel-oninitilize-for-replacing-tp4669063.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
Rodrigo Ribeiro Miguele

Reply via email to