This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes OnSuccess() not getting called in Tapestry 5. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "OnSuccess() not getting called in Tapestry 5." Watch "OnSuccess() not getting called in Tapestry 5." New topic

OnSuccess() not getting called in Tapestry 5.

Dev Chennai

Joined: Mar 04, 2008
Posts: 1
i had created a demo tml & java using Tapestry 5.
It's a simple page which has some text fields & i had added validation in the tml files for the TextField.
When i press submit , onSuccess Method doesn't gets called..?
Below is the portin on my code.

Can anyone help me on this ..?



<td class="label">Name:</td>
<td class="content"><input t:type="TextField" t:id="name" t:value="name" size="4" maxLength="4" t:validate="required, maxLength=4"/></td>
<td colspan="3"><input type="submit" value="Login"/></td>



void onSuccess(){

if( name is Valid)
redirect to Next page
Have you checked out Aspose?
subject: OnSuccess() not getting called in Tapestry 5.
It's not a secret anymore!