Em Thu, 19 Feb 2009 17:44:54 -0300, Elmer Smith
<esm...@venterraliving.com> escreveu:
I first thought of somehow using getClientId(). The problem is that I
need the id in the JavaScript function (the onCompleteCallback one) to
then try and determine which select put values into.
I have also needed to know what component fired an event, so I filed
https://issues.apache.org/jira/browse/TAP5-146. You can vote there. The
most votes, the most likely to beee solved. :)
Another solution, maybe more complicated, would be to write the Javascript
yourself instead of using the @OnEvent mixin. Using Prototype, that
wouldn't be hard. Your JS code would request an URL generated by
ComponentResources.createEventLink(). Maybe you'll need to add the client
id to this URL, maybe not. Your event handler method would receive the id
through its parameter. I don't know if this works, but that's what I would
try to do. ;)
--
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