0

需要设置rich:simpleTogglePanel open=false 单击命令按钮后下面是我的命令按钮编码,单击此命令按钮后我应该如何更改我的simpleTogglePanel open=false

<a4j:commandButton value="Search" status="waitSearchStatusSO" 
                    id="soSearchBtn"
                    reRender="soSearchResultsPanel,soErroMessages,searchSoKey"
                    action="#{soSearchAction.processAction}"
                    onmouseover="this.style.color='#d30100'"
                    onmouseout="this.style.color='#ffffff'"
                    onclick="javascript:validateSOsearch();"
                    oncomplete="javascript:Richfaces.hideModalPanel('processpanel');"
                    styleClass="btnBackground"
                    disabled="#{ viewScope.soform.waveSoExistFlag == 'false' ?false: !viewScope.soform.searchAccess}" />
4

1 回答 1

0
  if (SimpleTogglePanelManager.panels.get(panel.id).status == "true") {
    SimpleTogglePanelManager.toggleOnClient(event, panel.id);
  }

有关更多详细信息,请参阅此处: https ://community.jboss.org/thread/183160

于 2012-07-17T00:30:35.600 回答