On Fri, Aug 27, 2010 at 11:41 AM, Mike Dee <mdichiapp...@cardeatech.com> wrote:
>
> In my experience, there are lots of other situations too.  For example, we
> have lots of forms for doing searches.  The form gathers the search
> criteria.  Maybe it would make sense to have a SearchFormCriteria class,
> which would be the model?  How are others doing this?
>

We do exactly that!  It helps in the case where you need to add
parameters to the search criteria.  You don't have to change your
method signatures in your repository/dao.  It just accepts
MySearchCriteria (or whatever you want to call it).  Then, you have a
Form<MySearchCriteria> which edits it.

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

Reply via email to