1 Reply Latest reply on Oct 20, 2009 7:05 AM by Ilya Shaikovsky

    rich:page and one form

    Florian Duehring Newbie


      I have a question regarding the rich:page tag:

      I have a facet for the sidebar (<f:facet name="sidebar">) the content of the page:

       <f:facet name="sidebar">
       <f:facet name="header">
       <h:outputText value="Options" />
       <ui:insert name="sidebar" />
       <ui:insert name="content" />

      The following code is inserted into sidebar:
       <ui:define name="sidebar">
       <a4j:commandLink value="Save List" action="#{listAdmin.saveList}" reRender="listAdminContent"/>

      Moreover, I have a textbox in the content.

      When I click the save link now, the content of the text box is not saved (because it is in a different form, therefore logical). How can I achieve that the content of the text box is saved when I click the button?

      I tried to surround everything with one form tag, but than the layout is destroyed.

      Does anybody know how to solve this?