Did you try defer="false" ?
http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/components/Submit.html

Cheers,
Dragan Sahpaski



On Sat, Nov 24, 2012 at 9:12 PM, Lenny Primak <lpri...@hope.nyc.ny.us>wrote:

> 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 <lpri...@hope.nyc.ny.us
> >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: users-unsubscr...@tapestry.apache.org
> >> For additional commands, e-mail: users-h...@tapestry.apache.org
> >>
> >>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

Reply via email to