0 Replies Latest reply on May 8, 2008 2:08 AM by x x

    Edit record in modalpanel error?

    x x Newbie

      when i add a new record ,i popup a modelpanel to input value,but for some fidlds are not inputed,so save fail. Then,i click the modelpanel's controle Close,(this code like this:<f:facet name="controls"><h:graphicImage value="/admin/images/close.png" style="cusor:pointer;border:0" onclick="Richfaces.hideModalPanel('ad_grp_tab')"/></f:facet>).but now ,i select another record to edit,and also popup this modelpanel,but some fileds's values are not same as the values which stored in database.
      for example:when i edit:
      <h:outputText value="#{grpBean.grp.groupName}"/>
      <h:inputText id="grp_groupName" value="#{grpBean.grp.groupName}" />
      they display different values,why?
      i am very sorry,my english is very poor,i hope you can understand.