2 Replies Latest reply on Oct 4, 2007 1:09 PM by Heiko Dähn

    may be a simple Problem with commandButton in ModalPanel

    Heiko Dähn Newbie

      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.

      <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}" />

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