2 Replies Latest reply on Aug 6, 2008 10:15 AM by rmuruga

    Help In Page Submition

    rmuruga
      Hi There,
         Iam new to richfaces , i have a page with richpanel and iam rendering the panels based on a onclick event. to get that rendered i have kept all my rich panel under a4j:outputPanel and its rendering the panel for my selections , but when i submit the page its not submitting the field values and returning back to the same page .

      Here is the peice of  code used in my page . The page is not getting submitted Please suggest me.

      <a4j:form>
          <rich:panelMenuGroup label="Applicant Details">
             <rich:panelMenuItem label="Personal Details">           
                      <a4j:support event="onclick"  action="#{uiRenderUtil.updateCurrent('pd1')}" reRender="pd1,pd2">
                     </a4j:support>
                  </rich:panelMenuItem>
          </rich:panelMenuGroup>
          <a4j:outputPanel id="pd1">
                <rich:panel>
                   <h:inputText id="t1" value="#{backBean.t1}" />
                </rich:panel>
          </a4j:outputPanel>
      <h:panelGrid>
             <h:column>
                 <h:commandButton action="#{updateBean.actionPerformer}" onclick="if (!confirm('Are you sure you want to proceed?')) return false;" value="Submit" >
                 </h:commandButon>
             </h:column>

      </h:panelGrid>
      </a4j:form>