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,
I asked this same question a while ago and didn't get a response. You
can implement ServiceEncoder and reform the URLs yourself for the
Direct Service. However, I never did figure out how to do this using
the same URL, since the encoders use the URL to determine what actual
service to use.
I think it's not possible because form submitions are handled by the
different service than "Friendly URLS".
However you can use "Tapestry-flash" and have redirect after post
which is always a good decision anyway.
Renat
On 13/07/07, Mahmut Izci <[EMAIL PROTECTED]> wrote:
Hi all,
friendly URLs