I tried that way too, but the problem is I can't correlate the button events with the form submission event either. Thanks for your help though
On Nov 24, 2012, at 3:09 PM, Dragan Sahpaski wrote: > Maybe use the form's context param to differentiate which form got > submitted, and handle onSubmit or onSuccess instead of the submit event? > > Cheers, > Dragan Sahpaski > > > > On Sat, Nov 24, 2012 at 8:31 PM, Lenny Primak <[email protected]>wrote: > >> <t:loop source="..."> >> <t:zone update="none"> >> <form t:type="form" zone="^"> >> <input t:type="submit" event="start" value="Start"/> >> </form> >> </t:zone> >> </t:loop> >> >> ... Java >> >> onStart() >> { >> // how do I know which one of the start buttons got pushed? >> // there are n possibilities since there are n loop iterations >> return zone.getBody(); >> } >> >> >> Thanks for your help! >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
