ng context = ...;
> Link l = componentResources.createEventLink("YourEvent", context);
> return l.toString();
> }
>
> ... ${myEventLink} ...
>
> Hope that helps,
>
> Richard.
>
>
>
> -Original Message-
> From: Thiago H. de Paula Figueiredo
>
ink() {
String context = ...;
Link l = componentResources.createEventLink("YourEvent", context);
return l.toString();
}
... ${myEventLink} ...
Hope that helps,
Richard.
-Original Message-
From: Thiago H. de Paula Figueiredo
Reply-to: "Tapestry users"
To: Tape
Why not pass your javascript an event link? Then your js can invoke getJSON,
tapestry will handle the request and call an event handler server-side. Your
event handler can then store the value and return a JSONObject.
You can stick the value into the url as a request parameter and get it back ou
On Wed, 08 Dec 2010 20:55:27 -0200, Tim Koop wrote:
I have a pile of Javascript on my page (it's a component really), and
sometimes it comes up with a value it needs to store on the server (in a
SessionState or something). Can someone please tell me the best way to
call the server from pl