This content has been marked as final.
Show 4 replies
-
1. Re: rich:listShuttle - count of items in source and target l
nbelaevski Nov 14, 2008 2:07 PM (in response to bobc75)Hi,
Looks like there's no API for that. As a workaround you can use:$('j_id259:j_id273').component.targetList.shuttleItems.length
but that may change in the future versions. -
2. Re: rich:listShuttle - count of items in source and target l
bobc75 Nov 14, 2008 2:29 PM (in response to bobc75)Thanks for the workaround. Is that something I could use as the value of an h:outputText, for exampe? I guess I'm not sure how I would use that code that you mentioned:
$('j_id259:j_id273').component.targetList.shuttleItems.length -
3. Re: rich:listShuttle - count of items in source and target l
nbelaevski Nov 16, 2008 8:46 AM (in response to bobc75)<h:panelGroup id="text" /> <rich:listShuttle id="shuttle" onlistchanged="#{rich:element('text')}.innerHTML = #{rich:component('shuttle')}.targetList.shuttleItems.length" sourceValue="#{testBean.objects}"> <h:column>...</h:column> </rich:listShuttle>
-
4. Re: rich:listShuttle - count of items in source and target l
bobc75 Nov 17, 2008 10:50 AM (in response to bobc75)Thanks. That a fine workaround.