myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomáš Bubeník (JIRA) <>
Subject [jira] Commented: (TOMAHAWK-1013) Cannot use menu: dummyForm.elements.jscook_action has no properties
Date Thu, 07 Jun 2007 13:27:55 GMT


Tomáš Bubeník commented on TOMAHAWK-1013:

Using t:jscookMenu (but not org.apache.myfaces.custom.navmenu.jscookmenu.HtmlCommandJSCookMenu
in UIComponent) can help "I added the line <input type="hidden" id="jscook_action" name="jscook_action"/>
to the jsp ...". See Ingmar's notes on

> Cannot use menu: dummyForm.elements.jscook_action has no properties
> -------------------------------------------------------------------
>                 Key: TOMAHAWK-1013
>                 URL:
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: JS Cook Menu
>    Affects Versions: 1.1.5
>            Reporter: Pawel Czerwinski
> In previous version JSCookMenu worked fine, but when I upgraded to 1.1.5 the following
js error came out:
> dummyForm.elements.jscook_action has no properties
> This is happening in the line: dummyForm.elements['jscook_action'].value = link;
> and I noticed that unlike in the previous version, the tag <input type="hidden" name="jscook_action">
is not being rendered at all. This causes the java scrpit to break and disables menu completely.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message