You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Peter Dotchev <do...@gmail.com> on 2007/08/31 10:44:47 UTC

Custom page <-> class mapping

Hello,

I'd like to use custom convention for page class names.
Something like Home.html <-> HomePage.class
How can I do this in wicket 1.3?
I don't want to mount each page separately.
I guess I should implement IRequestTargetUrlCodingStrategy but would not
like to do it from scratch.
Any hints?

Best regards,
Peter

-- 
View this message in context: http://www.nabble.com/Custom-page-%3C-%3E-class-mapping-tf4358968.html#a12422814
Sent from the Wicket - User mailing list archive at Nabble.com.


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


Re: Custom page <-> class mapping

Posted by Igor Vaynberg <ig...@gmail.com>.
yep, you will have to write your own. i would start with
PackageRequestTargetUrlCodingStrategy and see how that works, then create
your onw.

-igor


On 8/31/07, Peter Dotchev <do...@gmail.com> wrote:
>
>
> Hello,
>
> I'd like to use custom convention for page class names.
> Something like Home.html <-> HomePage.class
> How can I do this in wicket 1.3?
> I don't want to mount each page separately.
> I guess I should implement IRequestTargetUrlCodingStrategy but would not
> like to do it from scratch.
> Any hints?
>
> Best regards,
> Peter
>
> --
> View this message in context:
> http://www.nabble.com/Custom-page-%3C-%3E-class-mapping-tf4358968.html#a12422814
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>