This content has been marked as final.
Show 3 replies
-
1. Re: listShuttle interoperability
ilya_shaikovsky Jul 25, 2008 6:24 AM (in response to gilksd)add a4j:support to each shuttle. event should be onlist cahnged reRender should be pointed to the second list.
So every time you moved item - source and target collections will be updated. -
2. Re: listShuttle interoperability
gilksd Jul 26, 2008 3:11 AM (in response to gilksd)Thanks !
That does exactly what i need.
:-) -
3. Re: listShuttle interoperability
gilksd Jul 29, 2008 2:13 AM (in response to gilksd)One more thing (should anyone want to do the same thing as I was), each listShuttle needs to be within its own 'a4j:region' else sometimes the reRender does not update properly.
e.g.<a4j:region id="groupingListShuttleReg"> <rich:listShuttle id="groupingListShuttle" sourceValue="#{Controller.sourceShuttleList}" targetValue="#{TestFilterBean.groupingList}" var="item" sourceCaptionLabel="Data available for grouping" targetCaptionLabel="Group data by" sourceListWidth="150" targetListWidth="150" showButtonLabels="false" fastMoveControlsVisible="false" listsHeight="250" converter="TestFieldConverter"> <rich:column> <h:outputText value="#{item.description}" /> </rich:column> </rich:listShuttle> </a4j:region>