HI,
I am getting this error:
class org.richfaces.component.html.HtmlDropDownMenu (id="_idJsp2") did not find parent form.
at org.richfaces.component.util.FormUtil.throwEnclFormReqExceptionIfNeed(FormUtil.java:49)
at org.richfaces.renderkit.html.DropDownMenuRenderer.doEncodeBegin(DropDownMenuRenderer.java:180)
at org.richfaces.renderkit.html.DropDownMenuRenderer.doEncodeBegin(DropDownMenuRenderer.java:174)
at org.ajax4jsf.renderkit.RendererBase.encodeBegin(RendererBase.java:101)
at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:515)
at javax.faces.webapp.UIComponentTag.encodeBegin(UIComponentTag.java:467)
at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:363)
at org.apache.jsp.jsp.AdvancedBooking_jsp._jspx_meth_rich_005fdropDownMenu_005f0(AdvancedBooking_jsp.java:255)
at org.apache.jsp.jsp.AdvancedBooking_jsp._jspx_meth_f_005fview_005f0(AdvancedBooking_jsp.java:168)
at org.apache.jsp.jsp.AdvancedBooking_jsp._jspService(AdvancedBooking_jsp.java:86)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
the following code is writen:
<rich:dropDownMenu value="Booking Types" style="width:30;background-color:lightblue;">
<rich:menuItem submitMode="ajax" value="Advanced Booking" action="#{clinicalDetailsBean.advancedBooking}" />
<rich:menuItem submitMode="ajax" value="Current Booking" action="#{clinicalDetailsBean.currentBooking}"/>
</rich:dropDownMenu>