Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Getting MyFaces jsCookMenu to work in JDEV?

450645Aug 24 2005 — edited Sep 2 2005
I am trying to get the MyFaces jsCookMenu to work in Jdev but it keeps generating a blank page in the browser (view source shows the div and javascripts are there and I get no errors). My source is as follows, any suggestions appreciated:

<?xml version='1.0' encoding='windows-1252'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:x="http://myfaces.apache.org/extensions">
<jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
doctype-system="http://www.w3.org/TR/html4/loose.dtd"
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
<jsp:directive.page contentType="text/html;charset=windows-1252"/>
<f:view>
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1252"/>
<title> menuTest </title>
<script language="JavaScript" src="jscookmenu/JSCookMenu.js" type="text/javascript"/>
<script language="JavaScript" src="jscookmenu/ThemeOffice/theme.js"/>
<link rel="stylesheet" href="jscookmenu/ThemeOffice/theme.css" type="text/css"/>
</head>
<body>
<x:jscookMenu layout="hbr" theme="ThemeOffice">
<x:navigationMenuItem itemLabel="Clients"/>
</x:jscookMenu>
</body>
</html>
</f:view>
</jsp:root>

The jscookmenu directory (and contents) are in my public_html directory and myfaces-extensions.jar is in WEB-INF/lib
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 30 2005
Added on Aug 24 2005
3 comments
816 views