0

我需要禁用 listshuttle 控制组件。

也就是说,我需要显示以下组件..copy,copy all remove 和remove all,首先,从上到下。

禁用上述所有组件。

<rich:listShuttle sourceValue="#{Shuttle1.sourceStrList}"
                  targetValue="#{Shuttle1.destStrList}"
                  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>

帮我。提前致谢。

4

1 回答 1

0

您可以在构面中重新定义按钮,然后在新按钮上设置 disabled 属性。

于 2011-07-01T16:38:45.590 回答