See http://wiki.apache.org/tapestry/Tapestry5HowToUseForms
Martijn On Wed, 2008-08-20 at 19:43 +0300, Argo Vilberg wrote: > hi, > > How to handle two different submit buttons click in tapestry. > @OnEvent(value="submit", component="search") > void onFormSubmit2() > { > } > > > @OnEvent(value="submit", component="search") > void onFormSubmit3() > { > > } > > > <t:form t:id="search"> > <t:submit STYLE="font-family:sans-serif; background:#E0FFFF > none; color:#000; " value="Kontaktisikutes pƤring Ƥriregistrist"/> > > <t:submit STYLE="font-family:sans-serif; background:#E0FFFF > none; color:#000; " value="Lisa kontaktisik"/> > </t:form> > > > > > > How to tell tapestry wich button was clicked? > > > Argo --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]