File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Does anyboby use Myfaces JsCookMenu????? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Does anyboby use Myfaces JsCookMenu????? " Watch "Does anyboby use Myfaces JsCookMenu????? " New topic

Does anyboby use Myfaces JsCookMenu?????

Martha Sibretti

Joined: Jun 03, 2005
Posts: 2
I can't put to work jscookMenu
I do the following question and nobody replies.

JSCOOKMENU doesn't work with myfaces? What do you use instead??



<title>MyFaces - the free JSF Implementation</title>
<LINK rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/basic.css">
<LINK rel="stylesheet" href="<%=request.getContextPath()%>/jscookmenu/ThemeOffice/theme.css" type="text/css">

<body bgcolor="white">

<h anelGrid id="header_group2" columns="1" styleClass="pageHeader2" columnClasses="pageHeader2col1" >
<script language="JavaScript" src="<%=request.getContextPath()%>/jscookmenu/JSCookMenu.js" type="text/javascript"></script>
<script language="JavaScript" src="<%=request.getContextPath()%>/jscookmenu/ThemeOffice/theme.js" type="text/javascript"></script>

<x:jscookMenu layout="hbr" theme="ThemeOffice" >
<%/* Availaible jscookMenu themes: ThemeIE, ThemeMiniBlack, ThemeOffice, ThemePanel
Availaible jscookMenu layout: hbr, hbl, hur, hul, vbr, vbl, vur, vul
respect to Heng Yuan
<x:navigationMenuItem id="nav_1" itemLabel="#{Message['menu_item1']}" action="go_home" />
<x:navigationMenuItem id="nav_2" itemLabel="#{Message['menu_item2']}" >
<x:navigationMenuItem id="nav_2_1" itemLabel="#{Message['menu_item2_item1']}" action="go_paciente" icon="images/myfaces.gif" />
<x:navigationMenuItem id="nav_3" itemLabel="#{Messages['menu_item3']}" action="go_paciente" icon="images/myfaces.gif" />
</h anelGrid>



and the Javascript error is that cmTheneOffice isnot defined???

and I modified theme.js as say the documentation, the variable:

var cmThemeOfficeBase = 'jscookmenu/ThemeOffice/';

Don't understand what's worng...
I agree. Here's the link:
subject: Does anyboby use Myfaces JsCookMenu?????
It's not a secret anymore!