Help

Controls

PermLinkWikiLink

Built with Seam

You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.

Forum: Seam Users Forum ListTopic List
06. Aug 2008, 09:39 CET | Link

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>

 

Thanks Muruga

2 Replies:
06. Aug 2008, 09:59 CET | Link

What if you use a4j:commandButton?

06. Aug 2008, 10:15 CET | Link

Hi Alexander, Thanks for The Reply, But i have tried that too, no difference in that ..

 

Thanks Muruga