You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Joshua Jackson <jo...@gmail.com> on 2007/11/13 04:16:39 UTC

Search Form and Search List on one page

Dear all,

Is it possible to have a Page with Search Form and Search List on the same Page?

It seems that the List object that is retrieved from onSubmit() is not
updated to my DataView that lies inside the Page constructor. Or is
there anyway I can have something like afterRender after the button is
submitted or something? I'm quite confused regarding how everything
works here.

Does anyone has a solution for having search form and search list on one page?

Thanks in advance

-- 
What you want today, may not exist tommorrow

Blog: http://joshuajava.wordpress.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Search Form and Search List on one page

Posted by Maurice Marrink <ma...@gmail.com>.
In general you don't let the "filterbar" provide the list of results
but have it update a filter bean. This filter is then used inside your
dataprovider to get the list of results.

Maurice

On Nov 13, 2007 4:16 AM, Joshua Jackson <jo...@gmail.com> wrote:
> Dear all,
>
> Is it possible to have a Page with Search Form and Search List on the same Page?
>
> It seems that the List object that is retrieved from onSubmit() is not
> updated to my DataView that lies inside the Page constructor. Or is
> there anyway I can have something like afterRender after the button is
> submitted or something? I'm quite confused regarding how everything
> works here.
>
> Does anyone has a solution for having search form and search list on one page?
>
> Thanks in advance
>
> --
> What you want today, may not exist tommorrow
>
> Blog: http://joshuajava.wordpress.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