hi, something is not working with handling events fired by different submit
buttons (or i have overlooked something...). that's my form:

<t:form t:id="fform" clientValidation="false">
  <t:submit t:id="view"  value="${message:forms.filter.apply}" />
  <t:submit t:id="reset" value="${message:forms.filter.reset}" />
</t:form>

and the source:

@OnEvent(component="view", value="selected")
void onSelectedFromView()   { action = FilterAction.VIEW; }

@OnEvent(component="reset", value="selected")
void onSelectedFromReset()   { action = FilterAction.RESET; }

unfortunately, no matter which submit is clicked, everytime handler of the
first one is invoked (onSelectedFromView in this case). If I put the reset
button as the first one on the form, its onSelectedFromReset will be called
even for 'view' submit.

Could you suggest what is wrong here?

thanks,
jm.


-- 
View this message in context: 
http://www.nabble.com/T5-problem-with-multiple-submit-buttons-tp17982456p17982456.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to