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]
>
>

Reply via email to