Fellow Tapestry Users,

I have a form that when submitted needs to
 make a call to an external service (calling a URL that will return a 
value of type string) which i will then add to the form data and do the 
actual submit.
What is the best way to handle this in Tapestry?

So for e.g

    @Log
    Object onSubmitFromTestForm() {

//need to make some form of AJAX or javascript call here to the URL provided
//that will return a value

String key = $.ajax... //not sure how to call the URL in tapestry that will get 
me the value

.. continue with regular process with key obtained and do the submit

return ConfirmedPage.class;
}

Thanks for your help!

Reply via email to