Вопрос по jsf-2, jsf – Действие вызывается только при втором щелчке

12

Error: User Rate Limit Exceeded

<h:panelGrid id="addToThisDepartmentPanel">
    <h:outputText value="#{messageDataBean.message}" rendered="#{messageDataBean.isSuccess eq false}" style="color:red" id="addToThisDepartmentMessage"/>
    <h:form>
        <h:dataTable value="#{systemResultViewUtil.systemUserDetailDataBeansList}" var="departmentdetail" id="addToThisDepartmentDataTable" rendered="#{systemResultViewUtil.systemUserDetailDataBeansList.size() gt 0}">
            <h:column>
               <f:facet name="header">
                   Name
               </f:facet>
               <h:outputText value="#{departmentdetail.name}" style="text-align: left;padding-right: 120px" />
            </h:column>
            <h:column>
                <f:facet name="header">
                    Current Department
                </f:facet>
                <h:outputText value="#{departmentdetail.depName}" style="text-align: left;padding-right: 120px" />
            </h:column>
            <h:column>
                <f:facet name="header">
                    Add To This
                </f:facet>
                <h:selectBooleanCheckbox value="#{departmentdetail.cheked}" style="text-align: left;padding-right: 120px"/>
            </h:column>
         </h:dataTable>

         <a4j:commandButton oncomplete="if(#{messageDataBean.isSuccess eq true}){ closeAddToThisDepartmentDialog()}" value="Add TO This Department" action="#{departmentServiceBean.addEmployeeToThisDepartment}" id="addToThisDepartmentButton"
                                                       render=":addToThisDepartmentMessage :message" execute=":addToThisDepartmentDataTable" />
     </h:form>
</h:panelGrid>

Error: User Rate Limit Exceeded<a4j:commandButton>Error: User Rate Limit Exceeded
Error: User Rate Limit Exceeded

Error: User Rate Limit Exceeded BalusC
Error: User Rate Limit Exceeded BalusC
Error: User Rate Limit Exceeded Harshit Shah
Error: User Rate Limit Exceeded Harshit Shah
Error: User Rate Limit Exceeded<h:panelGrid>Error: User Rate Limit Exceeded BalusC

Ваш Ответ

1   ответ
24

Error: User Rate Limit ExceededError: User Rate Limit ExceededError: User Rate Limit Exceeded<h:form>Error: User Rate Limit Exceeded

Error: User Rate Limit Exceeded<h:form>Error: User Rate Limit ExceededyourFormIdError: User Rate Limit Exceeded

<h:panelGrid id="addToThisDepartmentPanel">
    ...
    <h:form id="yourFormId">
        ...

Error: User Rate Limit ExceededrenderError: User Rate Limit Exceeded

<f:ajax ... render=":addToThisDepartmentPanel :yourFormId" />

Error: User Rate Limit Exceeded<a4j:xxx>Error: User Rate Limit Exceeded

<a4j:commandButton ... render=":addToThisDepartmentPanel :yourFormId" />

See also:

Error: User Rate Limit Exceeded
Error: User Rate Limit Exceededstackoverflow.com/q/8634156

Похожие вопросы