7 Replies Latest reply on Jul 10, 2009 8:37 AM by John Who

    problems with modal panel

    John Who Newbie

      Hi everybody,

      I'm trying to add a modal panel to my webapp but I'm still having some problems with my modal panel.

      I want to submit some form-informations of the modal panel so I tried to reproduce this example(http://www.jboss.org/file-access/default/members/jbossrichfaces/freezone/docs/devguide/en/html/rich_modalPanel.html)

      This is my code:

      <rich:modalPanel id="kommentar">
       <f:facet name="header">
       <h:outputText value="What ever..." />
       <f:facet name="controls">
       <h:commandLink value="Close" style="cursor:pointer" onclick="Richfaces.hideModalPanel('kommentar')" />
       <h:inputTextarea value="#{mb.newKommentar}" cols="40" rows="5" />
       <h:commandButton value="Kommentar erfassen" actionListener="#{mb.anzeigeKontakt}" />
       <h:commandLink actionListener="#{mb.anzeigeKontakt}" value="Test" />

      (The bold code was just an attempt of an already working link)
      In both cases I don't reach my action-Method in my managed bean.

      Can anybody help me?
      Thanks in advance!