Hi,

If my app (MyTest) is the root context everything runs smoothly. This is
because in my "MyTestApplication" class, in the constructor i have

mount(new IndexedParamUrlCodingStrategy("/firstPage", FirstPage.class,
null));
mount(new IndexedParamUrlCodingStrategy("/secondPage", SecondPage.class,
null));
mount(new IndexedParamUrlCodingStrategy("/thirdPage", ThirdPage.class,
null));

This means that if i deployed this on say....www.MyTest.com and clicked on a
link which took me to the frstPage the url will be www.MyTest.com/firstPage

Now, this is when i get a problem....when the deployed context isn't the
root, for example if the root is
www.anotherapp.com and my app is on www.anotherapp.com/MyTest, when i click
on first page now it will try and look for www.anotherapp.com/firstPage not
www.anotherapp.com/MyTest/firstPage. 

in a nutshell the problem is that all the links in the app refer to the root
context and not the deployed context.

How can i fix this?
-- 
View this message in context: 
http://www.nabble.com/Referring-Page-links-to-a-deployed-context-tp14668169p14668169.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