I have a form in my tml page and in that form I have the following

<tr>
<td><label t:type="Label" for="username" class="signup_label"/><sup
style="color:#FC0213;"> *</sup></td>
<td><input t:type="TextField" t:id="username" t:value="username"
t:label="Username" t:validate="required,maxlength=50"
t:mixins="lombok/watermark" message="Enter user name" class="signup_input"
/></td>
</tr>

and in the corresponding java class I have a method onSuccess() and written
code to insert the values in the database in that method when I clicked the
submit button in that form this onSuccess() method will invoke.

My problem is now I am going to place another button called
checkuserexistence near the username field when the user click that button I
need to go to call a method in java class to find the user name existence
match and need to show a message in tml page

how can I do that, plz help me?

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/How-to-call-a-method-in-java-page-for-button-submit-action-tp5491713p5491713.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to