Happy New Year All, I'm attempting to pass an url in an ajax request to an onEvent handler. So I'm making a request like:
GET /MyPage.MyComponent:event/http://blah.com/.... MyComponent.java: public StreamResponse onEvent(String url) { .... } The problem is that what's being passed to onEvent() is just "http:" Now I realise that "/" is the context delimiter. However I've tried encoding the url with escape(url), encodeURI(url), and encodeURIComponent(url) (the latter 2 encode the "/") but to no avail - same issue. I also realise that Tapestry employs it's own encoding scheme - do I have to encode in this way? If so, does anyone have some code to implement Tapestry url encoding in javascript? Many thanks, Richard. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org