Since i'm just navigating from one page to the next using richfaces panelMenuItem, do those panels/panelMenuGroup/panelMenuItem needs to be enclosed in the form in order for it to navigate successfully? I noticed that if i do not enclose those panels elements in the , nothing happens. But why do i need to enclose it in a form since i'm not submitting any data to the server. At this point, i'm just navigating from one menu page to the next. Please advice.
==========================================================================================================
Portfion of the code:
<ui:composition>
<h:form> <-- if i removed this, nothing happens!!
<rich:panel>
<center><span id="clock"> </span></center>
</rich:panel>
<rich:panel>
<f:facet name="header"><center>MView Modules</center></f:facet>
<rich:panelMenu id="MView" topGroupExpandedRightIcon="triangleDown"
topGroupCollapsedRightIcon="triangle"
groupExpandedLeftIcon="triangleDown"
groupCollapsedLeftIcon="triangle"
itemLeftIcon="grid"
expandSingle="false">
<rich:panelMenuGroup label="Enquiry Management">
<rich:panelMenuItem>Profile
</rich:panelMenuItem>
<rich:panelMenuItem action="/sections/securityHoldings">Security Holdings
</rich:panelMenuItem>
any action components in JSF no matters Ajax or not should be enclosed into form.