You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Leszek Gawron <lg...@apache.org> on 2008/11/19 20:42:15 UTC

Very custom URL mapping

Hello

I would like to achieve the following url space:
/ redirects to /form

/form - home page with a from
/form?something - followup of a home page's form

/resources/*.css
/resources/*.jpg - resources served from <webapp root>/resources

/<id> - SomePage with <id> in PageParamters


I know it would be a lot easier if I could do /somePage/<id> but 
unfortunately the requirement is different.

How can I achieve something like this without rewritng 90% of wicket's 
url matching logic ?

	lg
-- 
Leszek Gawron

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


Re: Very custom URL mapping

Posted by kan <ka...@gmail.com>.
If wicket cannot do it, try http://tuckey.org/urlrewrite/

2008/11/19 Leszek Gawron <lg...@apache.org>:
> Hello
>
> I would like to achieve the following url space:
> / redirects to /form
>
> /form - home page with a from
> /form?something - followup of a home page's form
>
> /resources/*.css
> /resources/*.jpg - resources served from <webapp root>/resources
>
> /<id> - SomePage with <id> in PageParamters
>
>
> I know it would be a lot easier if I could do /somePage/<id> but
> unfortunately the requirement is different.
>
> How can I achieve something like this without rewritng 90% of wicket's url
> matching logic ?
>
>        lg
> --
> Leszek Gawron
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>



-- 
WBR, kan.

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