Thank you very much.
You have to use the corresponding IEngineService service for the type
of url
you are generating.. That is how everything in the system (including form
urls) are generated. Each service has different requirements on the
object
type passed in but it's all more or less like:
@InjectObject("service:tapestry.services.DirectService")
public abstract IEngineService getDirectService();
public String getUrl()
{
String url = getDirectService().getLink(false, new
DirectServiceParameter(/* params */)).getUrl();
return url;
}
Services can be found in hivedoc linked to off of:
http://tapestry.apache.org/tapestry4.1/tapestry-framework/index.html
On 5/30/07, Denis Burlaka <[EMAIL PROTECTED]> wrote:
Hi, All.
How can I generate URL for the listener method in my component? I need
that
for my javascript function that must send async request to that URL. I
can't
use DirectLink component because the element that will send request is
generated dynamically in another javascript function on the client side.
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]