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

more than one AjaxFormLoop in a

2009-02-24 Thread gladstone
I need to have two AjaxFormLoops in the same form. The problem is you can only have one event method onAddRow/onRemoveRow. Is there some way of doing this? Thanks -- View this message in context: http://www.nabble.com/more-than-one-AjaxFormLoop-in-a-%3Cform%3E-tp22187375p22187375.html Sent fr

Dependent implemented with @OnEvent mixin + AjaxFormLoop

2009-02-19 Thread gladstone
I am desperately looking for a solution to get a select element that is dependent on another select element to work inside an AjaxFormLoop. Outside of an AjaxFormLoop, I can use @OnEvent mixin from T5Components to implement the dependent select (i.e. the value selected in the first select is used

Re: Displaying the source of an event

2009-02-19 Thread gladstone
I am actually completely stuck on a problem that would be solved by being able to get the component id in this fashion. I am implementing a form. The form uses an ajaxformloop to add/remove fields. The fields are elements. What's more, I am using the @OnEvent mixin + javascript to make one se