I only afraid, you cannot mount to "root".
So, it will be "http://localhost/company/edgesoft/something....";,
"http://localhost/company/another/something....";
Maybe easier and much more flexible for you will be UrlRewriteFilter.

2008/12/2 kan <[EMAIL PROTECTED]>:
> Basically, just implement IRequestTargetUrlCodingStrategy. :)
> What is precise question?
>
> 2008/11/24 Mathias P.W Nilsson <[EMAIL PROTECTED]>:
>>
>> Hi,
>>
>> I need some info in how to create my own UrlCodingStrategy
>>
>> This is the preconditions.
>> I have a database with 20 - 100 customers that needs to access this
>> application. Every customer has it's own properties files and css variation.
>>
>> What I want is that let's say Edgesoft wants to use the application. Then
>> the user will access
>> http://localhost/app/edgesoft
>>
>> If I want to mount Base.class I do not want to do /edgesoft/base only base
>> and the UrlCodingStrategy will handle the rest for me. Check if the customer
>> exists, set variation and then continue with the request.
>>
>> An example.
>> http://localhost/edgesoft/order/order/13
>> http://localhost/another/order/order/14
>> mount( MyStrategy( "/order/" , .... );
>>
>> This should go to the exact same page but with different variation and
>> properties. How can this be achieved. What classes do I need to subclass to
>> make this happen?
>> --
>> View this message in context: 
>> http://www.nabble.com/Create-custom-UrlCodingStrategy-tp20660813p20660813.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]
>>
>>
>
>
>
> --
> WBR, kan.
>



-- 
WBR, kan.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to