I had similar issues in 4.0.2, I now use 4.1.1 and this works correctly for me:

   final ILink pageLink = getPageService().getLink(false, "whateverPage");
   throw new RedirectException(pageLink.getURL());

But I Don't know if this will work in 4.0.2, I never tried.

Mahmut Izci wrote:
Hi all,

friendly URLs are working well, as long as the page URLs are called directly.
But how about activating a page after form submit?
If I call "cycle.activate("NextPage"), it results in
"http://localhost:8080/myapp/app"; and not "http://localhost:8080/myapp/NextPage.html";.
Is there a way to activate the url?
I can throw a redirect exception, but i'm sure, this is not the best solution.

Thanks
Mahmut

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


--
Peter Stavrinides
Albourne Partners (Cyprus) Ltd
Tel: +357 22 750652 If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Please visit http://www.albourne.com/email.html for important additional terms relating to this e-mail.


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

Reply via email to