避免对嵌套的 a4j:region 进行验证

问题描述

当单击外部“a4j:commandButton”时,我希望避免对嵌套的“a4j:region”进行验证。

你能帮我吗?

    <f:view>
    
        ... 
    
        
            <h:form id="frmProduto">
                <a4j:region>
                
                    ...
                    
                    <a4j:region renderRegionOnly="true">
                        <h:panelGrid columns="5" styleClass="margin-top-20">
                            ...
                            <a4j:commandButton value="Ok1" />
                        </h:panelGrid>
                    </a4j:region>
    
                    ...
                    
                    <a4j:commandButton value="Salvar" action="#{produtoBean.gravar}" reRender="table,codigo,nome,marca" />
                    
                    ...
                    
                    
                </a4j:region>   
            </h:form>
        
    </f:view>

enter image description here

enter image description here

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)