Em Thu, 10 Sep 2009 18:26:18 -0300, xfile80303 <l...@grokers.net> escreveu:
purpose... is there no way to identify the event handler in such a way
as to be tied to the 'remove' concept?
Use an EventLink instead of an ActionLink. <a href="#" t:type="EventLink"
t:event="remove" t:context="..."/>
2) The quantity of the line item is reflected in a text field which the
user can change. To update the total price, the form must be submitted
so the
values of the text fields can be known. However, to interpret this
submission differently than, say, the actual checkout submission one has
to capture the 'selected' event and set some property appropriately,
such that the onSuccess handler can act accordingly. Again, the only
way seems to be to use the catch all 'onSelected' handler, and not a
specific handler for
this particular type of selected event.
Doesn't onSelectedFromMyLinkSubmit(Integer id) work in your case? (you
would need to add t:id="mylinksubmit" to your LinkSubmit).
--
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org