Re: Ajax, For-Loops and PropertySelections

2006-11-22 Thread Patrick Klein
Hi, once more Sorry, completely forgot the real problem... The downstep with the solution we use now is that it is pretty static, which would've been avoided using a for loop It looks like the following: html-template: [...] updateComponents="ognl:updateComponents"> Te

Re: Ajax, For-Loops and PropertySelections

2006-11-21 Thread Patrick Klein
Hi! Here it is. To be called from the EventListener-Methods which get the BrowserEvent as parameter. public String getCallingElementId(BrowserEvent event) { return (String) event.getTarget().get(BrowserEvent.TARGET_ATTR_ID); } Patrick Please post your solution to the list. It

Re: Ajax, For-Loops and PropertySelections

2006-11-21 Thread Patrick Klein
Nevermind, found it 2 minutes after hitting the send button :) Patrick Hi! I scraped the for-loop in favor of a hardcoded list of components which does the trick for our needs here. It would have been nicer the way below (and much more flexible) but i could not find a working solution for th

Re: Ajax, For-Loops and PropertySelections

2006-11-21 Thread Patrick Klein
Hi! I scraped the for-loop in favor of a hardcoded list of components which does the trick for our needs here. It would have been nicer the way below (and much more flexible) but i could not find a working solution for the problem using this approach. Now another question came up: Using an Ev

Re: Re: Ajax, For-Loops and PropertySelections

2006-11-21 Thread Sam Gendler
Please post your solution to the list. It makes it much easier for other folks to find it later. --sam On 11/21/06, Patrick Klein <[EMAIL PROTECTED]> wrote: Nevermind, found it 2 minutes after hitting the send button :) Patrick > Hi! > > I scraped the for-loop in favor of a hardcoded list of