I have the same problem.
When using standard ThemeIE, it just redisplays the same page whenever I
have submenus? It works ok if I have just top level menu items.
I am using :
facelets 1.1.12
myfaces 1.1.4
tomahawk 1.1.4
Do I need a facelets taghandler for this?
This doesn't work :
<t:jscookMenu id="theMenu" layout="vbr" theme="ThemeIE">
<t:navigationMenuItem id="item11" itemLabel="Label1">
<t:navigationMenuItem id="item121" itemLabel="Dummy1"
action="ACTION1"/>
<t:navigationMenuItem id="item122" itemLabel="Dummy2"
action="ACTION1"/>
<t:navigationMenuItem id="item123" itemLabel="Dummy3"
action="ACTION1"/>
</t:navigationMenuItem>
<t:navigationMenuItem id="item12" itemLabel="Label2"
action="ACTION2"/>
</t:jscookMenu>
This works:
<t:jscookMenu id="theMenu" layout="vbr" theme="ThemeIE">
<t:navigationMenuItem id="item11" itemLabel="Label1"
action="ACTION1">
</t:navigationMenuItem>
<t:navigationMenuItem id="item12" itemLabel="Label2"
action="ACTION2"/>
</t:jscookMenu>
Help appreciated,
Mike
On 19/02/07, Zohner, Michael <[EMAIL PROTECTED]> wrote:
Hi.
I implemented the jsCookMenu and made a simple menu with that.
In the navigation-xml (jsf) I added for e.g.
<navigation-rule>
<from-view-id>*</from-view-id>
<navigation-case>
<from-outcome>SCHEDULER</from-outcome>
<to-view-id>/scheduler/schedulerManager.xhtml</to-view-id>
</navigation-case>
</navigation-rule>
In the xhtml-page:
<t:jscookMenu layout="hbr" theme="ThemeXY">
<f:attribute name="org.apache.myfaces.STYLE_LOCATION"
value="_css/jscookmenu"/>
<t:navigationMenuItem id="item11" itemLabel="Menu">
<t:navigationMenuItem id="item121" itemLabel="Job" action="JOB"/>
<t:navigationMenuItem id="item122" itemLabel="Scheduler"
action="SCHEDULER"/>
</t:navigationMenuItem>
</t:jscookMenu>
But when I click on the link "Scheduler", the page reloads and nothing
more.
But it whould redirect to the "scheduler page" which is declared in the
navigation xml.
What I am doing wrong ?
kind regards
Michael
________________
Dresdner Bank AG
Sitz/Registered Office: Frankfurt am Main, Handelsregister/Commercial
Register: Amtsgericht/Local Court, Frankfurt am Main, HRB 14000
Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Michael
Diekmann
Vorstand/Board of Managing Directors: Herbert Walter
(Vorsitzender/Chairman), Andreas Georgi, Stefan Jentzsch, Wulf Meier, Andree
Moschner, Klaus Rosenfeld, Otto Steinmetz, Friedrich Woebking
This e-mail is confidential and the information contained in it may be
privileged. It should not be read, copied or used by anyone other than the
intended recipient. If you have received it in error, please contact the
sender immediately by telephoning +44 (0)20 7623 8000 or by return email,
and delete the e-mail and do not disclose its contents to any person. We
believe, but do not warrant, that this e-mail and any attachments are virus
free, but you must take full responsibility for virus checking. Please
refer to http://www.dresdnerkleinwort.com/disc/email/ and read our e-mail
disclaimer statement and monitoring policy.
________________