-
1. Re: rich:listshuttle: is it possible to remove some control buttons?
ilya_shaikovsky Jan 15, 2010 10:06 AM (in response to agallo73)next attributes should be usefull
- MoveControlsVisible
- OrderControlsVisible
- fastMoveControlsVisible
- fastOrderControlsVisible
and in order to reject copying try to check js api available at component and use it in onlistchange handler. conditionally return false there should cancel moval.
-
2. Re: rich:listshuttle: is it possible to remove some control buttons?
agallo73 Jan 15, 2010 10:50 AM (in response to ilya_shaikovsky)Hello Ilya , thanks very much for your collaboration.
May you give me some more hints please?
I do not understand how I can use these attributes to avoid the listshuttle component to render some control button.
May you give me more details please?
Thanks.
-
3. Re: rich:listshuttle: is it possible to remove some control buttons?
nbelaevski Jan 17, 2010 9:58 AM (in response to agallo73)Hi Antonio,
You have to define attribute value in your page code, e.g.:
literally:
<rich:listShuttle fastMoveControlsVisible="false" ...> ...
or using EL-expression:
<rich:listShuttle fastMoveControlsVisible="#{bean.property}" ...> ...
-
4. Re: rich:listshuttle: is it possible to remove some control buttons?
boy18nj Jan 17, 2010 5:03 PM (in response to nbelaevski)the problem with rich:listShuttle attributes is, you cannot distinguish between copy all and remove all buttons. Either both will be false or true.
You can't have 1 of them present at a time.