2 Replies Latest reply on Oct 4, 2007 1:09 PM by hdmonty

    may be a simple Problem with commandButton in ModalPanel

    hdmonty

      Hi all,

      here is my simple problem:

      I have a modal panel, where you can edit an inputtext . After you type something in and click on a commandButton a method from my controller class is called.

      <a4j:region>
      <h:form [...]
      <rich:modalPanel [...]
      <h:inputText id="myValueInput" value="#{myBean.myValue}"/>
      <a4j:commandButton action="#{controller.processValue}" >
       <a4j:actionparam id="myValueParam" name="myValueParam" value="#{myBean.myValue}" />
      </a4j:commandButton>
      [...]
      </h:form>
      </a4j:region>
      


      If I step into the methode Controller#processValue() the value is empty or is still the initial-Value.
      What is here wrong?