ModalPanel + model didnt updating
pmanabe Dec 12, 2007 4:32 PMHi all, i'm using modal panel + a4j:commandbutton, but when I click on button the model didnt update, the beans are correctly created, but I couldnt undestand why the value is always null
<a4j:form id="frmSearchRICForDailyPrice">
<richfaces:modalPanel id="searchRIC" height="600" width="694" zindex="2000" moveable="true" resizeable="false">
<f:facet name="header">
<t:outputText value="Search RIC" />
</f:facet>
<f:facet name="controls">
<h:graphicImage value="/images/close.png" style="cursor:pointer" onclick="Richfaces.hideModalPanel('searchRIC')" />
</f:facet>
<t:div>
<t:graphicImage border="0" width="674" height="87" value="/images/header_popup.gif" />
</t:div>
<t:div styleClass="popup_div_header_title">
<t:div styleClass="content_headline_1">
<t:outputText value="Search RIC" />
</t:div>
</t:div>
<db:fieldSet legend="Filter" legendSytleClass="blue_12_bold" styleClass="contentFilterTable_popup">
<t:panelGrid columns="1" cellpadding="1" cellspacing="0" columnClasses="tdAlignRight">
<t:panelGroup>
<t:panelGrid columns="7" cellpadding="3" cellspacing="0" columnClasses="tdAlignRight">
<t:outputLabel value="Code : " for="codeInput" styleClass="grey_11"/>
<t:inputText id="codeInput" value="#{dailyPriceAdjustment.searchResource.searchResourcesBean.ricCodeFilter}" styleClass="grey_11" style="width:150px;"/>
<t:outputLabel value="Industry Group : " for="industryGroupSelect" styleClass="grey_11"/>
<t:selectOneMenu id="industryGroupSelect" value="#{dailyPriceAdjustment.searchResource.searchResourcesBean.ricIndustryGroupFilter}" styleClass="grey_11" style="width:150px;">
<f:selectItems value="#{dailyPriceAdjustment.searchResource.searchResourcesBean.industryGroupItens}"/>
</t:selectOneMenu>
<t:outputLabel value="Industry Sector : " for="industrySectorSelect" styleClass="grey_11"/>
<t:selectOneMenu id="industrySectorSelect" value="#{dailyPriceAdjustment.searchResource.searchResourcesBean.ricIndustrySectorFilter}" styleClass="grey_11" style="width:150px;">
<f:selectItems value="#{dailyPriceAdjustment.searchResource.searchResourcesBean.industrySectorItens}"/>
</t:selectOneMenu>
<a4j:commandButton ajaxSingle="true" action="#{dailyPriceAdjustment.applyRICFilter}" value="Apply" reRender="divErrorMessage" styleClass="grey_12"/>
</t:panelGrid>
</t:panelGroup>
</t:panelGrid>
</db:fieldSet>
<t:div id="divErrorMessage" style="margin-top: 10px;vertical-align: middle;text-align: center;">
<h:messages id="errorMessage" layout="table" styleClass="ValidateError" globalOnly="true"/>
</t:div>
<t:div styleClass="popup_div_footer">
<t:div styleClass="footline_divider" />
<t:panelGrid columns="1" cellspacing="0" cellpadding="0" border="0" style="margin-left:5px;padding-bottom:5px" columnClasses="footline" >
<t:outputText value="Copyright © Deutsche Bank SI" />
</t:panelGrid>
</t:div>
</richfaces:modalPanel>
</a4j:form>