Hi, I have two forms in a page, and I need to determine which form trigger the onSuccess, tried following code, but does not work, any idea? Thanks, A.C.
String onSuccessFromSubmit2() { System.out.println("submit1"); return null; } String onSuccessFromSubmit2() { System.out.println("submit2"); return null; } <t:form t:id="searchForm1" t:clientValidation="false"> <input t:type="submit" name="Submit1" t:id="Submit1" value="Search Now" /><br /> </t:form> <t:form t:id="searchForm2" t:clientValidation="false"> <input t:type="submit" name="Submit2" t:id="Submit2" value="Search Now" /><br /> </t:form> -- View this message in context: http://www.nabble.com/T5%3A-multiple-forms-tf4967253.html#a14229085 Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]