In order to work propertly the jscookmenu should be nested in form.

2007/2/20, Srinivas V <[EMAIL PROTECTED]>:

Hi All,
CAn anybody help me with jscook menu issue??

I have installed JSF 1.1.5-SNAPSHOT,Tomahawk1.1.5- SNAPSHOT and
tomahawk-sandbox-1.1.5-SNAPSHOT.

I am getting the error : org.apache.jasper.JasperException: jscook menu is
not embedded in a form.
*Do we have to put the jscook menu in the form only??*


I have a header page which is included in all my other jsps before form
tag.

page_header.jsp:

<SCRIPT LANGUAGE="JavaScript"
SRC="/EPCManager/scripts/JSCookMenu.js"></SCRIPT>
<SCRIPT LANGUAGE="JavaScript"
SRC="/EPCManager/scripts/MyFacesHack.js"></SCRIPT>
<LINK REL="stylesheet" HREF="/EPCManager/scripts/ThemeOffice/theme.css"
TYPE="text/css">
<SCRIPT LANGUAGE="JavaScript"
SRC="/EPCManager/scripts/ThemeOffice/theme.js"></SCRIPT>
<[EMAIL PROTECTED] <[EMAIL PROTECTED]> file="../inc/taglibs.jsp"%>
<div style="background-color: Navy; width: 100%">
<t:jscookMenu layout="hbr" theme="ThemeOffice" >
 <t:navigationMenuItems value="#{menuBean.navItems}" />
</t:jscookMenu>
</div>

 Main page:

<body marginheight="4" topmargin="4" vspace="4" onLoad="
document.getElementById('mScreen:linkAggregate').focus();">

<!-- Header -->
<[EMAIL PROTECTED] <[EMAIL PROTECTED]> file="../inc/page_header.jsp"%>

<x:outputText styleClass="pageheader" value="#{
msgBundle.EPCMGR_MainPage_PageTitle}" visibleOnUserRole="floor"/>
<f:verbatim><br></f:verbatim>

<h:form id="mScreen">......<h:/form>

Reply via email to