2 Replies Latest reply on Oct 12, 2009 8:30 AM by waq

    can't able to reterive field value in rich:modalPanel

      HI i am using rich:modalPanel in which i have a text field and a button. Now the requriement is that when i click on the button i need to get the value of the text field in the action method. But instead i am getting null. Here is the code:

      <rich:modalPanel id="panel" width="600">
       <f:facet name="header">
       <h:outputText value="#{insertSuggestion.desc_word}" />
       </f:facet>
       <h:inputText id="dup_id_fld" value="#{insertSuggestion.desc_id}"/>
       <h:outputText value="#{insertSuggestion.desc_meaning}" styleClass="text_word"/>
       <a4j:commandButton value="Override" action="#{insertSuggestion.overrideDuplicate}"
       oncomplete="Richfaces.hideModalPanel('panel');"
       onclick="if (!getConfirmed('override')) return true;" />
       <a onclick="Richfaces.hideModalPanel('panel');" href="#">Hide</a>
      </rich:modalPanel>
      


      Any suggestion.?