That won't do, he's in 3.0.3...

Perhaps you can try the code described here:
http://wiki.apache.org/tapestry/EasyBrowserRedirection

It will save you a few keystrokes

Andreas Bulling wrote:
Hi Daniel,

you can make your listener methods return the desired IPage directly...
Perhaps thats a solution to your problem?

hth,
  Andreas

On 06. Jun 2006 - 12:13:34, Daniel M Garland wrote:
| Hi all,
| | I've been using Tapestry 3.03, and I need help getting rid of | cycle.activate, because it is messing up my URL structure. | | When I want to direct a user to a page, I might use cycle.activate, for | instance when i've completed a login procedure or inside a direct link. | Its very convenient to write java code like
| IPage mypage = cycle.getPage("mypage");
| cycle.activate(mypage);
| | Trouble is, that the url for this page is now somthing like | | /app?service=direct/1/Someotherpage/$DirectLink$0 | | so I might have many URLs that point to the one page. Perhaps I could | use RedirectException, but would I then have to write a lot of code to | get the engine, get the service, get the link and finally throw the URL? | seems a lot of work. Whats the best way of doing it? | | Thanks for taking the time to read this | | -- | Dan Garland
| ------------------------
| [EMAIL PROTECTED]
| office: +44 (0) 207 803 1947
| mob: +44 (0) 7979 770053
| icq: 120963437
| aim: dmgarland1767

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



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

Reply via email to