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 plain Javascript?

I'm using jQuery, which is already working, so I suspect I would like to use the jQuery.getJSON() or something similar, which I have done in other non-Tapestry projects.

The only way I can think of doing it now is to create a new page (with .tml file and .java file), which produces JSON instead of html.

Does anyone have any better ideas?

I've looked into Mixins, but I don't know if that would apply. I just want the Javascript code that calls the correct URL.

Thanks.

--
Tim Koop
[email protected] <mailto:[email protected]>
www.timkoop.com <http://www.timkoop.com>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to