Jsf 在popupPanel内重新加载组件失败

Jsf 在popupPanel内重新加载组件失败,jsf,richfaces,popuppanel,Jsf,Richfaces,Popuppanel,我有一个带有简单表单(用于搜索)和数据表(用于搜索结果)的popupPanel。我尝试在提交表单并填充搜索结果后重新提交dataTable,但失败了。这是源代码 <ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://ja

我有一个带有简单表单(用于搜索)和数据表(用于搜索结果)的popupPanel。我尝试在提交表单并填充搜索结果后重新提交dataTable,但失败了。这是源代码

<ui:composition xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:rich="http://richfaces.org/rich"
    xmlns:rd2="http://www.logica.com/raindance/webcomp"
    xmlns:a4j="http://richfaces.org/a4j" template="/layout/template.xhtml">

    <ui:define name="head">

    </ui:define>
    <ui:define name="body" >


    .......................................


    <rich:popupPanel id="ruleSearchPanel" width="600" lenght="400" autosized="true">
            <f:facet name="header">
                <h:panelGroup id="modelPanelHeader">                    
                    <h:outputText styleClass="modalpanel-header"
                        value="Search and select a rule set"></h:outputText>
                </h:panelGroup>
            </f:facet>

            <h:form id="searchForm">                
                <h:panelGrid columns="2" styleClass="center" width="100%">
                    <h:inputText id="searchForKey" value="#{authRuleRegisterManager.rulSetSearchCriteria}"/>                    
                    <a4j:commandButton id="SearchRuleSets" styleClass="plain-btn fright" reRender="ruleSearchPanel"
                            value="#{messages.search}" type="submit" action="#{authRuleRegisterManager.searchAuthRulesMap(authRuleRegisterManager.rulSetSearchCriteria)}"
                    />                                  
            </h:panelGrid>      

        <rich:extendedDataTable  id="resultRuleSets" 
            value="#{authRuleRegisterManager.searchResultsForAuthRuleSets}" selectedClass="active-row"
            rows="#{systemSettingsAction.systemSettings.paginationRows.value}"
            var="ruleSet" 
            rowClasses="odd-row-selectable,even-row-selectable" 
            selectionMode="single">

            <rich:column  label="ruleset name"
                 headerClass="left"
                 styleClass="left" width="70">
                <f:facet name="header">
                    <h:outputText value="name" styleClass="right" />
                </f:facet>
                <h:outputText value="#{ruleSet.description}" />
            </rich:column>
        </rich:extendedDataTable>                   
            </h:form>    
    </rich:popupPanel>          
        </ui:define>
    </ui:composition>

.......................................
为什么我不能重新提交我的数据表,我在这里错过了什么吗?
任何帮助都将不胜感激。

对于
,没有
重新加载属性

根据我看到的代码(
ui:composition
未考虑在内),如果要更新
dataTable
只需更改

reRender="ruleSearchPanel"

如果您对确定ID感到困惑,请查看下面的链接

注意:您正在使用的某些属性未在您正在使用的某些组件中定义。比如说

长度
用于

selectedClass


label
for

我正在使用richfaces 4.2.3谢谢安迪,你救了我一天:)。我从另一个旧项目的不同部分复制了源代码,结果造成了这种混乱。现在,通过添加以下行render=“searchForm:ResultureSets”可以正常工作
render ="searchForm:resultRuleSets"