Re: Referring Page links to a deployed context

2008-01-08 Thread mbelarbi
; > root, for example if the root is www.anotherApp.com and my app runs 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 nuts

Re: Referring Page links to a deployed context

2008-01-07 Thread Igor Vaynberg
in the app refer to the > > root context and not the deployed context. > > > > so basically what i'm looking for is something like this > > mount(new IndexedParamUrlCodingStrategy([WHAT EVER THE DEPLOYED CONTEXT > > IS]+"/firstPage", FirstPage.class, n

Re: Referring Page links to a deployed context

2008-01-07 Thread mbelarbi
app.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. > > so basically what i'm looking for is something like this > mount(new IndexedParamUrlCodingStrategy([WHAT EVER THE DEPLOYED CO

Re: Referring Page links to a deployed context

2008-01-07 Thread mbelarbi
context and not the deployed context. >> >> so basically what i'm looking for is something like this >> mount(new IndexedParamUrlCodingStrategy([WHAT EVER THE DEPLOYED CONTEXT >> IS]+"/firstPage", FirstPage.class, null)); >> >> How can i fix this? >> > > -

Re: Referring Page links to a deployed context

2008-01-07 Thread mbelarbi
; 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

Re: Referring Page links to a deployed context

2008-01-07 Thread Igor Vaynberg
p.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.nabbl

Re: Referring Page links to a deployed context

2008-01-07 Thread Erik van Oosten
Try this first: mount(new IndexedParamUrlCodingStrategy("firstPage", FirstPage.class, null)); (no slash in front of firstPage) Regards, Erik. mbelarbi wrote: > Hi, > > If my app (MyTest) is the root context everything runs smoothly. This is > because in my "MyTestApplication" class, in the cons

Referring Page links to a deployed context

2008-01-07 Thread mbelarbi
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 Wic