Re: Dependent implemented with @OnEvent mixin + AjaxFormLoop

2009-02-24 Thread gladstone
Thanks Thiago, you are very helpful. I tried a cheaper fix, but hacking the T5COnEvent.js file and creating my own version of T5 Components JAR. All I did was add a second parameter to the JavaScript method that is the clientId (elementId). This only allows my dependent select solution to work

Re: Dependent implemented with @OnEvent mixin + AjaxFormLoop

2009-02-19 Thread Thiago H. de Paula Figueiredo
Em Thu, 19 Feb 2009 17:44:54 -0300, Elmer Smith 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 compon

RE: Dependent implemented with @OnEvent mixin + AjaxFormLoop

2009-02-19 Thread Elmer Smith
entry in my JSONArray. The problem there is, what could I base the getClientId() method off of? -Original Message- From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] Sent: Thursday, February 19, 2009 3:33 PM To: Tapestry users Subject: Re: Dependent implemented with

Re: Dependent implemented with @OnEvent mixin + AjaxFormLoop

2009-02-19 Thread Thiago H. de Paula Figueiredo
Em Thu, 19 Feb 2009 17:28:16 -0300, gladstone escreveu: Once this is placed inside an AjaxFormLoop, the client id for the select elements are made unique by having a unique number appended to it. Inside the JavaScript function, it can no longer find the select element to update as it doesn