1 Reply Latest reply on Sep 19, 2012 3:31 PM by Brendan Healey

    <a4j:commandButton> in <rich:popupPanel> tag could not get the foucs。

    Roger James Newbie

      <rich:popupPanel id="popupShift" autosized="false" modal="true"

         show="#{newAddSaleInvoiceBB.pollEnabled}" rendered="true"

         resizeable="true" moveable="true" domElementAttachment="parent"

         width="440" height="100">

         <f:facet name="header">

          <h:outputText value="setwork" />

         </f:facet>

         <h:panelGrid columns="2" columnwidths="40%,50%"

          columnClasses="content_index,content_body"

          styleClass="editpanelGrid">

          <h:outputText value="班次:" width="100"></h:outputText>

          <rich:select id="shift" value="#{newAddSaleInvoiceBB.currentBO.shift}">

           <f:selectItems value="#{newAddSaleInvoiceBB.shiftList}" />

          </rich:select>

         </h:panelGrid>

         <a4j:commandButton id="popupShiftButton" value="#{msgs.PSSMIS_ENSURE}" render="memberPanelGrid" styleClass="ui-corner-all3"

          execute="shift,@this" action="#{newAddSaleInvoiceBB.setMorning}"

          limitRender="true" onclick="#{rich:component('popupShift')}.hide();">

          <a4j:param value="false" assignTo="#{newAddSaleInvoiceBB.pollEnabled}" />

         </a4j:commandButton>

        </rich:popupPanel>

       

      。。。

       

       

      When I get the commandButton Id and setfocus,but fail.