You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Pawel Czerwinski (JIRA)" <de...@myfaces.apache.org> on 2007/05/30 10:12:15 UTC

[jira] Created: (TOMAHAWK-1013) dummyForm.elements.jscook_action has no properties

dummyForm.elements.jscook_action has no properties
--------------------------------------------------

                 Key: TOMAHAWK-1013
                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1013
             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.


[jira] Issue Comment Edited: (TOMAHAWK-1013) Cannot use menu: dummyForm.elements.jscook_action has no properties

Posted by "Tomáš Bubeník (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOMAHAWK-1013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502361 ] 

Tomáš Bubeník edited comment on TOMAHAWK-1013 at 6/7/07 7:38 AM:
-----------------------------------------------------------------

I've just upgraded not only the Tomahawk, but also core MyFaces to 1.1.5 and the problem is away!


 was:
I've just upgraded also to MyFaces 1.1.5 and the problem is away!

> Cannot use menu: dummyForm.elements.jscook_action has no properties
> -------------------------------------------------------------------
>
>                 Key: TOMAHAWK-1013
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1013
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: JS Cook Menu
>    Affects Versions: 1.1.5
>            Reporter: Pawel Czerwinski
>            Priority: Trivial
>
> 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.
> SOLUTION: Upgrade also MyFaces to 1.1.5!

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


[jira] Commented: (TOMAHAWK-1013) Cannot use menu: dummyForm.elements.jscook_action has no properties

Posted by "Tomáš Bubeník (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOMAHAWK-1013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502361 ] 

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

I've just upgraded also to MyFaces 1.1.5 and the problem is away!

> Cannot use menu: dummyForm.elements.jscook_action has no properties
> -------------------------------------------------------------------
>
>                 Key: TOMAHAWK-1013
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1013
>             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.


[jira] Commented: (TOMAHAWK-1013) Cannot use menu: dummyForm.elements.jscook_action has no properties

Posted by "Tomáš Bubeník (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOMAHAWK-1013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502334 ] 

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 http://forum.java.sun.com/thread.jspa?forumID=427&threadID=761310

> Cannot use menu: dummyForm.elements.jscook_action has no properties
> -------------------------------------------------------------------
>
>                 Key: TOMAHAWK-1013
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1013
>             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.


[jira] Updated: (TOMAHAWK-1013) Cannot use menu: dummyForm.elements.jscook_action has no properties

Posted by "Tomáš Bubeník (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOMAHAWK-1013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomáš Bubeník updated TOMAHAWK-1013:
------------------------------------

    Status: Patch Available  (was: Open)

> Cannot use menu: dummyForm.elements.jscook_action has no properties
> -------------------------------------------------------------------
>
>                 Key: TOMAHAWK-1013
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1013
>             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.