RE: T5 document is wrong or the code is wrong or I am wrong and confused. (Return Link from action Link handler)

2008-11-16 Thread Russell Brown
Hi, Yes Link from AJAX request. Like the docs say. Seems like a really good feature to cancel all the AJAXing and just redirect the browser. Doesn't work in 5.0.15. I will let you know Monday if it works in 5.0.16. I like moving target. Cheers Russell -Original Message- From: Geoff

T5 document is wrong or the code is wrong or I am wrong and confused. (Return Link from action Link handler)

2008-11-14 Thread Russell Brown
Hi, So the documentation here http://tapestry.apache.org/tapestry5/guide/ajax.html says:- Event Handler Return Types In a traditional request, the return value of an event handler method is used to determine which page will render a complete response, and a redirect is sent to the client

Re: T5 document is wrong or the code is wrong or I am wrong and confused. (Return Link from action Link handler)

2008-11-14 Thread Howard Lewis Ship
What version of Tapestry are you using? On Fri, Nov 14, 2008 at 8:07 AM, Russell Brown [EMAIL PROTECTED] wrote: Hi, So the documentation here http://tapestry.apache.org/tapestry5/guide/ajax.html says:- Event Handler Return Types In a traditional request, the return value of an event

RE: T5 document is wrong or the code is wrong or I am wrong and confused. (Return Link from action Link handler)

2008-11-14 Thread Nick Davies
Hi Howard, We're using 5.0.15 Thanks -Original Message- From: Howard Lewis Ship [mailto:[EMAIL PROTECTED] Sent: 14 November 2008 16:38 To: Tapestry users Subject: Re: T5 document is wrong or the code is wrong or I am wrong and confused. (Return Link from action Link handler) What

Re: T5 document is wrong or the code is wrong or I am wrong and confused. (Return Link from action Link handler)

2008-11-14 Thread Howard Lewis Ship
The docs on the website reflect the latest stable release except for when a new release is being voted, as is the case currently. The functionality you're having trouble with is part of 5.0.16. We are very good about every change being committed against a JIRA issue, so the release notes:

RE: T5 document is wrong or the code is wrong or I am wrong and confused. (Return Link from action Link handler)

2008-11-14 Thread Russell Brown
I am having trouble understanding your answer: are you saying if I move to 5.0.16 the feature will work? Are you also saying that the documentation reflects 5.0.16 and not the stable release? Having read the release notes you link to I can't see a mention of this new feature. Righto...so I

Re: T5 document is wrong or the code is wrong or I am wrong and confused. (Return Link from action Link handler)

2008-11-14 Thread Geoff Callender
Perhaps I misunderstand your problem - are you trying to return a Link from an Ajax event handler? If Ajax is not involved then this might help: http://jumpstart.doublenegative.com.au:8080/jumpstart/examples/navigation/returntypes1 On 15/11/2008, at 8:09 AM, Russell Brown wrote: I