• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

coldfusion 10. cfmenu not working. error is 'this.body.firstChild' is null or not an object

Guest
Aug 12, 2013 Aug 12, 2013

Copy link to clipboard

Copied

I am using coldfusion 10. cfmenu not working. Error is 'this.body.firstChild' is null or not an object in menu-min.js file.

Error in line oNode=this.body.firstChild.

Any body faced same issue? What is the fix of this error.

Views

988

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Aug 12, 2013 Aug 12, 2013

Copy link to clipboard

Copied

Hi

Can you share the code to test?

Also, if possible can you test the cfmenu example (at the bottom of the page) code from the link mentioned below and share your findings

https://learn.adobe.com/wiki/display/coldfusionen/cfmenu

Thanks

VJ

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 12, 2013 Aug 12, 2013

Copy link to clipboard

Copied

I have used the same code.

<cfmenu name="menu" type="horizontal" fontsize="14" bgcolor="##CCFFFF">

    <cfmenuitem name="acrobat" href="http://www.adobe.com/acrobat" display="Acrobat"/>

    <cfmenuitem name="aftereffects" href="http://www.adobe.com/aftereffects"

        display="After Effects"/>

    <!--- The ColdFusion menu item has a pop-up menu. --->

    <cfmenuitem name="coldfusion"

            href="http://www.adobe.com/products/coldfusion" display="ColdFusion">

        <cfmenuitem name="buy"

            href="http://www.adobe.com/products/coldfusion/buy/" display="Buy"/>

        <cfmenuitem name="devcenter"

            href="http://www.adobe.com/devnet/coldfusion/" display="Developer Center"/>

        <cfmenuitem name="documentation"

            href="http://www.adobe.com/support/documentation/en/coldfusion/"

                display="Documentation"/>

        <cfmenuitem name="support" href="http://www.adobe.com/support/coldfusion/"

            display="Support"/>

    </cfmenuitem>

    <cfmenuitem name="flex" href="http://www.adobe.com/flex" display="Flex"/>

</cfmenu>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Aug 12, 2013 Aug 12, 2013

Copy link to clipboard

Copied

Is your ColdFusion 10 Application service running as local system, if not then try?

Which Browser you are using? Try and test with different browsers

Thanks

VJ

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 12, 2013 Aug 12, 2013

Copy link to clipboard

Copied

I am not using local system. In server I am trying and checking in local system browser.

I am using IE8 where getting the error. Have checked in firefox, no javascript error but dropdown menus are not appearing.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Aug 12, 2013 Aug 12, 2013

Copy link to clipboard

Copied

If possible, run CF 10 service as local system just for testing purpose. (It might not bring any difference however give it a try)

Is it possible for you to reset IE 8 and then test?

My results with the above :

cfmenu.jpg

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 12, 2013 Aug 12, 2013

Copy link to clipboard

Copied

LATEST

I have reset the IE but no luck.

The error is in this page "CFIDE/scripts/ajax/yui/menu/menu-min.js"

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation