Re: Re: For loop with checkboxes that use ajax

2007-02-13 Thread Diego
Ok, now it works, had to change the EventListener and the div that is surrounding the checkboxes to an Any component. Thanks Diego On 2/13/07, Kristian Marinkovic <[EMAIL PROTECTED]> wrote: please try the project i uploaded with following bug https://issues.apache.org/jira/browse/TAPESTRY-124

re: Re: For loop with checkboxes that use ajax

2007-02-13 Thread Kristian Marinkovic
please try the project i uploaded with following bug https://issues.apache.org/jira/browse/TAPESTRY-1241 when you click on a list item it will trigger an event should work to with form elements too greetings kris

Re: For loop with checkboxes that use ajax

2007-02-13 Thread Diego
Hello Kris, Thank for you answer. I tried what you suggested but I couldn't get it to work. When a checkbox is clicked it look like there is a HTTPXMLRequest but the listener in Tapestry is not fired. But I did get it to work by changing the EventListener: @EventListener(elements = "conceptFilt

Antwort: For loop with checkboxes that use ajax

2007-02-13 Thread Kristian Marinkovic
hi diego, the simplest way is to add an EventListener to the parent node of the checkboxes add to take advantage of the javascript event model (event bubbling, event delegation). ... lets say you are enclosing your checkboxes with a DIV tag //for loop for checkboxes in your page class y

For loop with checkboxes that use ajax

2007-02-12 Thread Diego
Hello, I am starting to use Tapestry 4.1.1 and want to build a filter with checkboxes that filters a result list. The checkboxes are being generated from a list and when a checkbox is checked a list is filtered by means of a Ajax call. After that the results in the div with id=SearchResults is up