You can use DirectService.getLink, an ILink can then return the URL.

But if you need a JSON reply you'll need your class to implement

http://tapestry.apache.org/tapestry4.1/apidocs/org/apache/tapestry/IJSONRender.html

On 8/10/07, Bill Holloway <[EMAIL PROTECTED]> wrote:
> In a component class, I need to be able to generate a client URL to put into
> a JSON object that links to a server-side listener method.
>
> Didn't see this in the wiki or first search in mailing list.  Ideas?
>
> Bill
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to