Hi, I do the following in the page code so that I don't have to manipulate urls, you never know if the format could change;
@Inject private ComponentResources resources; public String getUrl() { return resources.createEventLink("someEvent", 'some context').toURI(); } And then reference that in the .tml using ${url} You could then return a JSONObject with the payload. Hope this helps. Dave On 2 Apr 2011, at 05:53, coriolisguy wrote: > Hi All, > > I have an ajax request that needs to return a text/xml payload. I need to > dynamically make the URL string in the browser to send to the server. What > should the format of that URL be? > > Thanks > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/XHR-request-to-return-a-test-xml-payload-tp4277254p4277254.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org >
smime.p7s
Description: S/MIME cryptographic signature