-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I have 2 problems with the jscookmenu component.


1:
my header with standard layout, works fine

<!-- JSCook Menu -->
  <script language="JavaScript" src="jscookmenu/JSCookMenu.js"
type="text/javascript"></script>
  <script language="JavaScript"
src="jscookmenu/ThemeOffice/theme.js"></script>
  <link rel="stylesheet" href="jscookmenu/ThemeOffice/theme.css"
type="text/css">
  <script language="JavaScript"
src="jscookmenu/ThemeMiniBlack/theme.js"></script>
  <link rel="stylesheet" href="jscookmenu/ThemeMiniBlack/theme.css"
type="text/css">

jsp

<x:jscookMenu layout="hbr" theme="ThemeMiniBlack"
rendered="#{MenuBean.hasMenu}">
                        <x:navigationMenuItems value="#{MenuBean.menu}" />
                </x:jscookMenu>

works also fine, but

I am using 2 jscookmenus and i want for each a unique theme.
so i created 2 themes (lets say theme1 theme2) and changed the files to
<!-- JSCook Menu -->
  <script language="JavaScript" src="jscookmenu/JSCookMenu.js"
type="text/javascript"></script>
  <script language="JavaScript" src="jscookmenu/theme/theme.js"></script>
  <link rel="stylesheet" href="jscookmenu/theme1/theme.css" type="text/css">
  <script language="JavaScript" src="jscookmenu/theme2/theme.js"></script>
  <link rel="stylesheet" href="jscookmenu/theme2/theme.css" type="text/css">

<x:jscookMenu layout="hbr" theme="theme1" rendered="#{MenuBean.hasMenu}">
                        <x:navigationMenuItems value="#{MenuBean.menu}" />
                </x:jscookMenu>

i have a jscookmenu folder in webcontent and there are my themes stored.
when i put in the jscookmenu folder the mini black and i change this
theme all works fine? someone any idea?

2.

i get the nav items from a bean:

menu.add(new NavigationMenuItem(bundle.getString("nav_home"), "go_home",
null,false));

and there i create the menu dynamic, but i have problems with the links.
 i thought only the action "go_home" counts but when i click on a menu
item a new browser window opens with the following url:
MYPATH/header__id2_menu:go_home. i want a link to another jsp file =(
and the action "go_blabla" are all in the faces config.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE

iD8DBQFDCuUxkg7OsoSBexYRAiG0AKCBYSCmof8/b6BVHHgRfxzb6miOMgCfbe3x
4mmIR93WNj6MMnvRIiud6gw=
=SMI3
-----END PGP SIGNATURE-----
begin:vcard
fn:Helmut Juskewycz
n:Juskewycz;Helmut
adr;quoted-printable:;;Minnes=C3=A4ngerplatz 3/4/9;Linz;Upper Austria;4020;Austria
email;internet:[EMAIL PROTECTED]
tel;work:+43 (0)7582 62120-14
tel;cell:+43 (0)650 609 13 73
x-mozilla-html:TRUE
version:2.1
end:vcard

Reply via email to