Hello guys,
i have a problem with the modal panel component, in my page i show a form in a modal panel. The information inside of that form is not sumitted !
Does anyone have a solution for this problem or a example?
<rich:modalPanel id="modalForm" width="400" height="120">
<f:facet name="header">
<h:panelGroup>
<h:outputText value="My form"></h:outputText>
</h:panelGroup>
</f:facet>
<f:facet name="controls">
<h:panelGroup>
<h:graphicImage value="/img/fechar.gif" style="cursor:pointer" id="closeLinkA" />
<rich:componentControl for="modalForm" attachTo="closeLinkA" operation="hide" event="onclick" />
</h:panelGroup>
</f:facet>
<a4j:form ajaxSubmit="true">
<h:inputTextarea value="#{mb.person.name}" />
<a4j:commandButton ajaxSingle="true" actionListener="#{mb.save}" reRender="personTable" value="Save" oncomplete="Richfaces.hideModalPanel('modalForm');"/>
<a4j:commandButton value="Cancel" onclick="Richfaces.hideModalPanel('modalForm');" ajaxSingle="true"/>
</a4j:form>
</rich:modalPanel>Have you tried without the ajaxSingle="true" in the save button?