Here is my latest issue: I am trying to use @EventListener to handle cascading dependencies in PropertySelections. Imagine three PropertySelections in a form, representing countries, regions, and cities respectively. When the user selects a country, the regions list is populated with appropriate values. When the user selects a region, the cities list is populated with appropriate values.
The problem I am having is that when the regions PropertySelection is re-rendered using @EventListener and cycle.getResponseBuilder().updateComponent("regions"), the newly written "regions" element is not connected to its listener. I looks as if the listeners are attached to the elements when the page is first rendered and if an individual element is re-rendered, it is not hooked up to any listener. If I call cycle.getResponseBuilder().updateComponent("body") then the listeners get hooked up again, but that sort of defeats the whole purpose, plus has the side effect of putting the focus back on the first field. Has anyone gotten something like this working? -- Mark R