In order to protect my application against cross site forgeries I am
using a LinkFactory that adds a sid to every link (see:
http://wiki.apache.org/tapestry/Tapestry5CSRF)

Because every action link now contains a sid parameter (ie URL looks
something like "some_url?sid=1234") some Javascript functions of
t5Components no longer function because they do not expect a link to
contain a parameter.For example AjaxCheckbox.js adds a a boolean to the
context like:

this.requestUrl + "/" + ($(this.elementId).getValue() == null ?
"false" : "true")

but, this will result in the incorrect URL

"some_url?sid=1234/true" whereas it should be "some_url/true?sid=1234"

Martijn Brinkers

PS. will there a t5Components version for 5.0.14?




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

Reply via email to