开发者

Disable rich:listShuttle

I need to disable listshuttle control components.

that is, i need to display the following components ..copy, copy all remove and remove all, and First, up down and last.

But disable to all the above components.

<rich:listShuttle sourceValue="#{Shuttle1.sourceStrList}"
                  targetValue="#{Shuttle1.destStrList}"
             开发者_StackOverflow中文版     var="items"
                  listsHeight="150"
                  sourceListWidth="130"
                  targetListWidth="130"
                  sourceCaptionLabel="Available Items"
                  targetCaptionLabel="Currently Active Items">

              <rich:column>
                    <h:outputText value="#{items}" />
              </rich:column>
</rich:listShuttle>

Help me. Thanks in advance.


You can redefine buttons in facets, and then set the disabled attribute on the new buttons.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜