Of course, you can make your code below significantly smaller by doing
something like (I haven't checked this code for 100% accuracy):

Long brandId = params.getLong("brand")
if (StringUtils.isEmpty(brandId) == false) {
brand = yourDao.getBrand(brandId);
}

You get the point - remove the big loop and just pull what you need from the
parameters.


-- 
Jeremy Thomerson
http://www.wickettraining.com

On Mon, Jun 23, 2008 at 5:35 PM, Mathias P.W Nilsson <[EMAIL PROTECTED]>
wrote:

>
> Ok thanks. So If I need a google friendly website I need to go with the
> parsing of PageParameters. That makes sense of course.
>
> --
> View this message in context:
> http://www.nabble.com/Google-friendly-urls-tp18079064p18079925.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to