Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Flash Form and CFGrid Limitations?

Status
Not open for further replies.

MsChelle

Programmer
Jul 11, 2002
54
US
I am attempting to consolidate several reports into a tabbed Flash form. I have 3 heirarchies of tabnavigators, and in the bottom level there are 3 pages, each with a cfgrid (the reports).

It all works fine and dandy if I have 10 or less mid-level pages (Cincinnati, Columbus, etc, in code below) OR if I remove the grids from the 3rd page (traff) of the bottom level tabnavigator. If I remove all the grids, I can put as many tabs as I want on any of the levels.

I'm wondering if anyone knows of any element limitations that would apply here? Or maybe I'm missing something?

Here's the code:
{{{Main Form}}}

<cfform format="flash" method="get" height="800" width="100%" name="chgrid">
<cfformgroup type="tabnavigator" label="Area">

<!---- ################################### OKI ################################ ---->
<cfformgroup type="page" label="Ohio-Indiana-Kentucky">
<cfformgroup type="tabnavigator" label="Market"> <!--- Start market navigator --->

<cfset q = "cin"><cfset pname = "cinperf"><cfset cname="cincap"><cfset tname = "cintraff"><cfset pgname="Cincinnati">
<cfinclude template="CHGrid/MarketPage.cfm">

<cfset q = "col"><cfset pname = "colperf"><cfset cname="colcap"><cfset tname = "coltraff"><cfset pgname="Columbus">
<cfinclude template="CHGrid/MarketPage.cfm">

<cfset q = "cle"><cfset pname = "cleperf"><cfset cname="clecap"><cfset tname = "cletraff"><cfset pgname="Cleveland">
<cfinclude template="CHGrid/MarketPage.cfm">

<cfset q = "indysb"><cfset pname = "indysbperf"><cfset cname="indysbcap"><cfset tname = "indysbtraff"><cfset pgname="Indianapolis">
<cfinclude template="CHGrid/MarketPage.cfm">

</cfformgroup> <!--- End market navigator --->
</cfformgroup><!---- End OKI page --->
<!----- ###################################################################### --->

<!---- ############################### ILWI #################################### --->
<cfformgroup type="page" label="Illinois-Wisconsin">
<cfformgroup type="tabnavigator" label="Market"> <!--- Start market navigator --->

<cfset q = "il"><cfset pname = "ilperf"><cfset cname="ilcap"><cfset tname = "iltraff"><cfset pgname="Chicago">
<cfinclude template="CHGrid/MarketPage.cfm">

<cfset q = "mil"><cfset pname = "milperf"><cfset cname="milcap"><cfset tname = "miltraff"><cfset pgname="Milwaukee">
<cfinclude template="CHGrid/MarketPage.cfm">

</cfformgroup> <!--- End market navigator --->
</cfformgroup><!---- End ILWI page --->
<!--- ######################################################################### --->

<!---- ############################### MI #################################### --->
<cfformgroup type="page" label="Michigan">
<cfformgroup type="tabnavigator" label="Market"> <!--- Start market navigator --->

<cfset q = "emi"><cfset pname = "emiperf"><cfset cname="emicap"><cfset tname = "emitraff"><cfset pgname="East Michigan">
<cfinclude template="CHGrid/MarketPage.cfm">

<cfset q = "wmi"><cfset pname = "wmiperf"><cfset cname="wmicap"><cfset tname = "wmitraff"><cfset pgname="West Michigan">
<cfinclude template="CHGrid/MarketPage.cfm">

<cfset q = "tol"><cfset pname = "tolperf"><cfset cname="tolcap"><cfset tname = "toltraff"><cfset pgname="Toledo">
<cfinclude template="CHGrid/MarketPage.cfm">

</cfformgroup> <!--- End market navigator --->
</cfformgroup><!---- End MI page --->
<!--- ######################################################################### --->


<!---- ############################### Plains #################################### --->
<cfformgroup type="page" label="Plains">
<cfformgroup type="tabnavigator" label="Market"> <!--- Start market navigator --->

<cfset q = "mn"><cfset pname = "mnperf"><cfset cname="mncap"><cfset tname = "mntraff"><cfset pgname="Minnesota">
<cfinclude template="CHGrid/MarketPage.cfm">

<cfset q = "ks"><cfset pname = "ksperf"><cfset cname="kscap"><cfset tname = "kstraff"><cfset pgname="Kansas">
<cfinclude template="CHGrid/MarketPage.cfm">

<cfset q = "mo"><cfset pname = "moperf"><cfset cname="mocap"><cfset tname = "motraff"><cfset pgname="Missouri">
<cfinclude template="CHGrid/MarketPage.cfm">

</cfformgroup> <!--- End market navigator --->
</cfformgroup><!---- End Plains page --->
<!--- ######################################################################### --->

</cfformgroup><!---- End Area navigator --->
</cfform>



{{{MarketPage.cfm}}}

<cfformgroup type="page" label="#pgname#">
<cfformgroup type="tabnavigator">
<cfformgroup type="page" label="Performance">
<cfinclude template="perf.cfm">
</cfformgroup>
<cfformgroup type="page" label="Capacity">
<cfinclude template="Cap.cfm">
</cfformgroup>
<cfformgroup type="page" label="Traffic">
<cfinclude template="Traff.cfm">
</cfformgroup>
</cfformgroup>
</cfformgroup>


{{{Cap.cfm, Traff.cfm, and Perf.cfm are all just CFGRIDs with 10 or less columns each.}}}

Any help or better ways to do this would be highly appreciated.

TIA

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top