Thank you for the advice. I used the information on Partial Page Rendering (PPR) information described at
http://myfaces.apache.org/trinidad/devguide/ppr.html In particular, using the partialTriggers attribute in the table tag to specify which selectOneChoice IDs that the table depends on. I mistakenly thought that "PPR" was only a feature of being able to use AJAX to submit part of the page; PPR actually refers to the kind of functionality I was attempting to do in synchronising the selectOneChoice items with the table. Perhaps this section of the Developer Guide should include the words "synchronising widget events and dependencies"; just my opinion.... Also, I store a separate collection to represent the table, based on queries that filter via the selectOneChoice events. Thanks, Mike Quentel -----Original Message----- From: Marco G Sent: 22 May 2009 13:53 To: [email protected] Subject: Re: synchronising selectOneChoice and table Mike Quentel-3 wrote: > > <tr:selectOneChoice label="Station" id="stationSelectOneChoice" > valueChangeListener="#{propertyRightBean.setSelectedStationListener}" > autoSubmit="true" immediate="true"> > <f:selectItems value="#{propertyRightBean.stationOptions}"/> > </tr:selectOneChoice> > <tr:selectOneChoice label="Property Type" id="propertyTypeSelectOneChoice" > unselectedLabel="(all)" > valueChangeListener="#{propertyRightBean.setSelectedPropertyTypeListener}" > autoSubmit="true" immediate="true"> > <f:selectItems value="#{propertyRightBean.propertyTypeOptions}"/> > </tr:selectOneChoice> > You didn't provide the methods, which are called by the valueChangeListeners. You either have to call "RequestContext.getCurrentInstance().addPartialTarget(UIComponent);" there or add partialTriggers-attribute to the tr:table to get the table refreshed by change of the selectOneChoice. -- View this message in context: http://www.nabble.com/synchronising-selectOneChoice-and-table-tp23672409p236 75286.html Sent from the MyFaces - Users mailing list archive at Nabble.com.

