-
1. Re: Is it possible to disable in listshuttle?
nbelaevski Jan 8, 2010 2:46 PM (in response to boy18nj)Hi,
You can use rich:listShuttle attributes to hide unnecessary buttons. Please refer to component documentation.
-
2. Re: Is it possible to disable in listshuttle?
boy18nj Jan 9, 2010 10:40 PM (in response to nbelaevski)i tried used these attributes in different ways. Still it makes no difference.
<rich:listShuttle id="lsi" sourceValue="#{codeBrandsBean3.airlines}"
targetValue="#{codeBrandsBean3.target}" var="air"
targetListWidth="220"
copyControlLabel="Copy" removeControlLabel="Remove"
removeAllControlLabel="Remove all"
copyAllControlDisabled="true"
upControlDisabled="false"
>
<f:facet name="topControlDisabled">
<h:outputText value="Move to top" />
</f:facet>
<f:facet name="bottomControlDisabled">
<h:outputText value="Move to top" />
</f:facet>
<f:facet name="upControlDisabled">
<h:outputText value="Move to top" />
</f:facet>
<f:facet name="downControlDisabled">
<h:outputText value="Move to top" />
</f:facet>
</rich:listShuttle>
Can you please help to recommend to use the right attribute to disable ordering control sets. -
3. Re: Is it possible to disable in listshuttle?
boy18nj Jan 9, 2010 10:50 PM (in response to boy18nj)finally i got it. but got to know about the attributes from rich:orderlingList.
"orderControlsVisible" attribute has two values: "true" or "false". If false Up and Down controls are not displayed.
"fastOrderControlsVisible" attribute has two values: "true" or "false". If false Top and Bottom controls are not displayed.