Before we have this new url encoding strategy for Home page, we need to take
another approach for the problem?

for my problem:

http://mydomain.com/<dynamaic parameters value>/<dynamaic parameters value
2>/...

It seems that wicket will return "404" when there is no mapping of the page.
Could we assign a "default" page for the application if wicket can't find
any page mapping? Is there any hint for the problem?

Thanks for your help.

-Wing


Johan Compagner wrote:
> 
> currently the empty path is the homepage that you specify in the
> Application
> class.
> so thats why it is not legal, we can't mount the homepage currently.
> 
> Maybe we should see if we can set the url coding strategy for the homepage
> somehow
> instead of :
> 
> getHomePage()
> 
> getHomePageCodingStrategy()
> 
> johan
> 
> 
> 
> On 5/7/07, ywtsang <[EMAIL PROTECTED]> wrote:
>>
>>
>> is it possible to "mount" with "empty" path?
>>
>> e.g.
>>
>> mount(new IndexedParamUrlCodingStrategy("/",  my class, null));
>>
>> wicket complains it is not legal
>>
>> for my problem
>> i want the URL to have something like:
>>
>> http://mydomain.com/value1/value2/value3/value4
>>
>> where I can "use" IndexdParamUrlCodingStrategy to get the value1, 2, 3,
>> 4....
>>
>> if it is not possible to mount with "empty" path, is there any other
>> solution to my problem?
>>
>> any pointer/hint for my problem is great, thanks for your help
>>
>> -Wing
>> --
>> View this message in context:
>> http://www.nabble.com/mounting-with-%22empty%22-path-tf3702181.html#a10352898
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> Wicket-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/mounting-with-%22empty%22-path-tf3702181.html#a10368207
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to