Hello, fellow Tapestry users,

I'm using Tap 4.0 here.

The most common way to find a page after a post is to inject the
page and use a listener method, which usually returns IPage:

@InjectPage("ResultPage")
public abstract ResultPage getResultPage();

public IPage doUpdate() {
    ResultPage page = getResultPage();
    ...
    return page;
}

And the corresponding Form component in the template uses that
listener method:

<form jwcid="@Form" success="listener:doUpdate">
...
</form>

Now, is there any way that I can have a form use another service after
a post ? Currently, the Form component seems to always use the Direct
service.

I'd like to choose the service which handles the form post.

Thanks a lot.
Leonel

-- 
View this message in context: 
http://n2.nabble.com/T4%3A-use-a-custom-service-after-a-form-post---tp1450826p1450826.html
Sent from the Tapestry Users mailing list archive at Nabble.com.


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

Reply via email to