Today I downloaded the nigthly build version....
and it is working now.
In exception the external link feature of NavigationMenuItem....
But is need to put the jscookmenu outside of any form, sometimes I need it inside :(
Martin...
Make sure the jscookmenu is outside of any form and the Myfaces extension filter is correctly configured...
And the _javascript_s is automatic included on the head of the page.
thanks
On 1/27/06, Martin Marinschek <
[EMAIL PROTECTED]> wrote:
We know that jscookmenu is currently not working. We've been hit by
that as well for a current project. That is on top of my list of
things to be fixed, hopefully on monday everything will be up to speed
again.
regards,
Martin
On 1/27/06, Marco Mistroni < [EMAIL PROTECTED]> wrote:
> hello all,
> i have huuuuuge problems iwth jscookmenu..... :(
> i have downloaded, from nightly, tomahawk-1.1.2 and myfaces-core-1.1.2
> i took the jscookmenu sample from apps and 'adapted' to my app (at hte end i
> reduced it to folloowing lines)
>
> <[EMAIL PROTECTED] file="/taglibs.jsp"%>
> <[EMAIL PROTECTED] file="/inc/head.inc"%>
>
> <f:view>
> <f:loadBundle
>
> basename="org.apache.myfaces.examples.resource.example_messages
> "
> var="example_messages" />
> <t:jscookMenu layout="vbr" theme="ThemeOffice">
> <%/* Availaible jscookMenu themes: ThemeIE, ThemeMiniBlack,
> ThemeOffice, ThemePanel
> Availaible jscookMenu layout: hbr, hbl, hur, hul, vbr, vbl,
> vur, vul
> respect to Heng Yuan
> http://www.cs.ucla.edu/~heng/JSCookMenu
> */%>
>
> <t:navigationMenuItem id="nav_1"
> actionListener="#{ navigationMenu.actionListener}"
> itemLabel="nav_Home" itemValue="insertExpense"
> action="">>
>
>
> </t:jscookMenu>
> </f:view>
> <[EMAIL PROTECTED] file="/inc/page_footer.jsp"%>
>
>
> i added 'config data' for jscookmenu in my faces-config.xml
>
> <component>
> <component-type> org.apache.myfaces.JSCookMenu</component-type>
>
> <component-class>org.apache.myfaces.custom.navmenu.jscookmenu.HtmlCommandJSCookMenu</component-class>
> </component>
>
> <renderer>
> <component-family>javax.faces.Command</component-family>
> <renderer-type>org.apache.myfaces.JSCookMenu</renderer-type>
> <renderer-class>
> org.apache.myfaces.custom.navmenu.jscookmenu.HtmlJSCookMenuRenderer</renderer-class>
> </renderer>
>
>
> and when i click on a menuitem i am gettign following exception in my logs
>
> 11:12:48,582 WARN [ReducedHTMLParser] Invalid tag found: unexpected input
> while
> looking for attr name or '/>' at line 287
> 11:12:48,582 WARN [ReducedHTMLParser] Invalid tag found: unexpected input
> while
> looking for attr name or '/>' at line 290
>
>
> i have checked the myfaces-example, but i m not really sure if jscookmenu is
> working there since whenever i click
> on any link, the main page does not change.....
>
> can anyone help me out? is there still something that i need to configure?
>
> thanks in advancea nd regards
> marco
>
>
>
>
>
>
>
>
>
>
--
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces
--
Dudu
`P

