Skip to main content
Inspiring
April 26, 2010
Question

CF9 CFLayout Tab Bug??

  • April 26, 2010
  • 2 replies
  • 1257 views

Hi All,

I have the following code. CF9 running on windows under iis.

<cfoutput>#SERVER.ColdFusion.ProductVersion#</cfoutput>

<cflayout type="tab"  name="someTabs">
<cflayoutarea name="tab1" title="Your Tab 1"   selected="true">
Tab 1
</cflayoutarea>
<cflayoutarea name="tab2" title="Your  Tab 2"  selected="false">
Tab 2
</cflayoutarea>
<cflayoutarea  name="tab3" title="Your Tab 3"  selected="false">
Tab 3
</cflayoutarea>
<cflayoutarea  name="dontDisplay" title="dont display this" initHide="true">The  Hidden Tab!</cflayoutarea>
</cflayout>

This works fine. See image

However, if the dontDisplay tab is moved to the front.

<cfoutput>#SERVER.ColdFusion.ProductVersion#</cfoutput>

<cflayout  type="tab"  name="someTabs">

<cflayoutarea  name="dontDisplay" title="dont display this" initHide="true">The  Hidden Tab!</cflayoutarea>
<cflayoutarea name="tab1" title="Your Tab 1"   selected="true">
Tab 1
</cflayoutarea>
<cflayoutarea name="tab2" title="Your  Tab 2"  selected="false">
Tab 2
</cflayoutarea>
<cflayoutarea  name="tab3" title="Your Tab 3"  selected="false">
Tab 3
</cflayoutarea>

</cflayout>

Then a javascript error is generated and none of the tabs are displayed except the one you want to be hidden!!!!. See image.

This works absolutely fine in CF8.

We have a mix of CF9 and CF8 servers so I can't put any of the cf9 servers live as it will cause the apps not to work properly.

Have checked the bug list and this doesn't seem to be in there.

Any help appreciated.

    This topic has been closed for replies.

    2 replies

    Nick_B2Author
    Inspiring
    April 30, 2010

    For Info. This will be bug fixed in Version 9.0.1

    Inspiring
    April 26, 2010

    Just a curious question.

    What happens when you turn off your debugging and run the same page again?.

    Nick_B2Author
    Inspiring
    April 27, 2010

    Hi,

    Turned debugging off and exactly the same behaviour is shown.

    Nick

    Inspiring
    April 27, 2010

    Yes Nick!.. I am also receiving the same error in CF9.

    I even searched the CF bug tracker and no errors were logged for this. Why can't you log one for this?.

    http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html