Ok thanks for the ideas, that's even better ;)
Nathan
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Call-event-from-javascript-tp5096654p5097330.html
Sent from the Tapestry - User mailing list archive at Nabbl
Am 23.12.2011 11:38, schrieb nquirynen:
> Ok nevermind, I fixed my problem :) !
>
> Some simplified code of what I've done:
>
> @Inject
> private Request request; // to access GET and/or POST variables
>
> // Event handler method which returns the JSON based on request parameters
> StreamRespon
n new TextStreamResponse("text/json", buildJson(request));
}
// to retrieve an url to the event handler
public String getDataEventLink() {
return resources.createEventLink("getData").toURI();
}
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Call-event-from-javascri
into the event handler method. So just
asking if this is still possible in 5.3 or maybe I should do it differently?
Thanks
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Call-event-from-javascript-tp5096654p5096654.html
Sent from the Tapestry - User mailing list archiv