每个按钮单击显示panelGroup组件(它包含3个组件)

时间:2014-04-24 11:44:34

标签: jsf-2 richfaces

每个按钮单击显示panelGroup组件(它包含3个组件)。如何使用jsf或richfaces

    <h:form id="autoId">

        <h:panelGroup id="pg1" columns="3" >
        <rich:autocomplete mode="client" minChars="1" autofill="false" 
                           selectFirst="false"
                           autocompleteMethod="#{autocompleteBean.autocomplete}"
                           autocompleteList="#{autocompleteBean.suggestions}"

                           />
        <h:inputText value=""/>
        <h:inputText value=""/>
        </h:panelGroup>
        <a4j:commandButton  value="show pg" />
    </h:form>

点击commanButton我想显示panelGroup 该怎么做

0 个答案:

没有答案