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

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

Guest
Aug 12, 2013 Aug 12, 2013

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.

1.2K
Translate
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

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

Translate
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

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>

Translate
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

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

Translate
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

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.

Translate
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

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

Translate
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
LATEST

I have reset the IE but no luck.

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

Translate
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