Title:
Bug 80766:When using the CFMenu tag for your menu system, if you have a page that uses the CFFileUpload right below it, the menu will get cut off and appears to want to go behind the CFFileUpload
| View in TrackerStatus/Resolution/Reason: Closed/Won't Fix/
Reporter/Name(from Bugbase): Jeffrey Cookle / Jeffrey Cookle (Jeffrey Cookle)
Created: 11/23/2009
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Normal / Most users will encounter
Locale/System: English / Win All
Vote Count: 0
Problem:
When using the CFMenu tag for your menu system, if you have a page that uses the CFFileUpload right below it, the menu will get cut off and appears to want to go behind the CFFileUpload.
Method:
<!---Put this code in a .cfm to see what is happening ---><cfajaximport tags="CFGRID, CFMESSAGEBOX, CFFILEUPLOAD, CFLAYOUT-ACCORDION, CFSLIDER, CFBUTTON, CFINPUT-AUTOSUGGEST, CFTREE, CFPOD, CFTEXTAREA, CFWINDOW, CFLAYOUT-TAB, CFFORM, CFINPUT-DATEFIELD,CFMENU, CFCHART,CFPROGRESSBAR, CFLAYOUT-BORDER, CFAJAXPROXY, CFTOOLTIP, CFDIV"><cfparam name="url.menu" default="d"><cfparam name="url.sm" default=""><cfmenu name="menu" type="horizontal" fontsize="14" bgcolor="##82825b" fontcolor="white" selectedFontColor="white" selectedItemColor="##bdb48a"> <cfmenuitem name="dashboard" href="javascript:ColdFusion.navigate('#request.root#/dashboard/ajaxDash.cfm','searchapplet',mycallBack,myerrorHandler);" display="<b>My Dashboard</b>"/> <cfmenuitem name="application" display="<b>Application</b>"> <cfmenuitem name="app1" href="javascript:ColdFusion.navigate('#request.root#/attach/ajaxAttach.cfm?menu=#url.menu#&sm=d&claimid=777&attid=1','searchapplet',mycallBack,myerrorHandler);javascript:applet_show('searchapplet'); javascript:applet_hide('detailsapplet');javascript:applet_hide('moredetailsapplet');"display="<b>Attachments</b>"></cfmenuitem><cfmenuitem name="app2" href="javascript:ColdFusion.navigate('#request.root#/application/applets/ajaxUser.cfm?menu=#url.menu#','searchapplet',mycallBack,myerrorHandler);javascript:applet_show('searchapplet');javascript:applet_hide('detailsapplet');javascript:applet_hide('moredetailsapplet');" display="<b>User Example</b>"></cfmenuitem><cfmenuitem name="app3" href="javascript:ColdFusion.navigate('#request.root#/application/applets/menuValidation.cfm?menu=#url.menu#&step=view','searchapplet',mycallBack,myerrorHandler);javascript:applet_show('searchapplet');javascript:applet_hide('detailsapplet');javascript:applet_hide('moredetailsapplet');" display="<b>Validation</b>"></cfmenuitem><cfmenuitem name="app4" href="javascript:ColdFusion.navigate('#request.root#/application/applets/ajaxColumnSorting.cfm?menu=#url.menu#&step=view','searchapplet',mycallBack,myerrorHandler);javascript:applet_show('searchapplet');javascript:applet_hide('detailsapplet');javascript:applet_hide('moredetailsapplet');" display="<b>User Column Sorting</b>"></cfmenuitem><cfmenuitem name="app5" href="javascript:ColdFusion.navigate('#request.root#/application/applets/ajaxDataSource.cfm?menu=#url.menu#&step=view','searchapplet',mycallBack,myerrorHandler);javascript:applet_show('searchapplet');javascript:ColdFusion.navigate('#request.root#/application/applets/menuDataSource.cfm?menu=#url.menu#&step=view','detailsapplet',mycallBack,myerrorHandler);javascript:applet_show('detailsapplet');javascript:applet_hide('moredetailsapplet');" display="<b>DataSources</b>"></cfmenuitem><cfmenuitem name="app6" href="javascript:ColdFusion.navigate('#request.root#/application/applets/ajaxTypeAhead.cfm?menu=#url.menu#&step=view','searchapplet',mycallBack,myerrorHandler);javascript:applet_show('searchapplet');javascript:applet_hide('detailsapplet');javascript:applet_hide('moredetailsapplet');" display="<b>Auto Suggest</b>"></cfmenuitem><cfmenuitem name="app7" href="javascript:ColdFusion.navigate('#request.root#/application/applets/ajaxMultipleDivHeader.cfm?menu=#url.menu#&step=view','searchapplet',mycallBack,myerrorHandler);javascript:applet_show('searchapplet');javascript:ColdFusion.navigate('#request.root#/application/applets/menuMultipleDiv.cfm?menu=#url.menu#&step=view','detailsapplet',mycallBack,myerrorHandler);javascript:applet_show('detailsapplet');javascript:applet_hide('moredetailsapplet');" display="<b>Multiple Divs</b>"></cfmenuitem><cfmenuitem name="app8" href="javascript:ColdFusion.navigate('#request.root#/application/applets/ajaxEmail.cfm?menu=#url.menu#&step=view','searchapplet',mycallBack,myerrorHandler);javascript:applet_show('searchapplet');javascript:applet_hide('detailsapplet');javascript:applet_hide('moredetailsapplet');" display="<b>Email</b>"></cfmenuitem><cfmenuitem name="app9" href="javascript:ColdFusion.navigate('#request.root#/application/applets/ajaxMultiValueSelect.cfm?menu=#url.menu#&step=view','searchapplet',mycallBack,myerrorHandler);javascript:applet_show('searchapplet');javascript:applet_hide('detailsapplet');javascript:applet_hide('moredetailsapplet');" display="<b>Multi-Value Select</b>"></cfmenuitem><cfmenuitem name="app10" href="javascript:ColdFusion.navigate('#request.root#/application-flash/applets/ajaxCFTree.cfm?menu=#url.menu#&sm=t','searchapplet',mycallBack,myerrorHandler);applet_show('searchapplet');applet_hide('detailsapplet');applet_hide('moredetailsapplet')" display="<b>CFTree</b>"></cfmenuitem> <cfmenuitem name="app11" href="javascript:ColdFusion.navigate('#request.root#/application-flash/applets/ajaxCFLayout.cfm?menu=#url.menu#&sm=l','searchapplet',mycallBack,myerrorHandler);applet_show('searchapplet');applet_hide('detailsapplet');applet_hide('moredetailsapplet')" display="<b>CFLayout</b>"></cfmenuitem><cfmenuitem name="app12" href="javascript:ColdFusion.navigate('#request.root#/application-flash/applets/ajaxCFRichText.cfm?menu=#url.menu#&sm=r','searchapplet',mycallBack,myerrorHandler);applet_show('searchapplet');applet_hide('detailsapplet');applet_hide('moredetailsapplet')" display="<b>CFRichText Editor</b>"></cfmenuitem><cfmenuitem name="app13" href="javascript:ColdFusion.navigate('#request.root#/application-flash/applets/ajaxCFWindow.cfm?menu=#url.menu#&sm=w','searchapplet',mycallBack,myerrorHandler);applet_show('searchapplet');applet_hide('detailsapplet');applet_hide('moredetailsapplet')" display="<b>CFWindow</b>"></cfmenuitem><cfmenuitem name="app14" href="javascript:ColdFusion.navigate('#request.root#/application-flash/applets/ajaxCFGrid.cfm?menu=#url.menu#&sm=g','searchapplet',mycallBack,myerrorHandler);applet_show('searchapplet');applet_hide('detailsapplet');applet_hide('moredetailsapplet')" display="<b>CFGrid</b>"></cfmenuitem><cfmenuitem name="app15" href="javascript:ColdFusion.navigate('#request.root#/application-flash/applets/ajaxCFFileUpload.cfm?menu=#url.menu#&sm=u','searchapplet',mycallBack,myerrorHandler);applet_show('searchapplet');applet_hide('detailsapplet');applet_hide('moredetailsapplet')" display="<b>CF File Upload</b>"></cfmenuitem><cfmenuitem name="app16" href="javascript:ColdFusion.navigate('#request.root#/application-flash/applets/ajaxCFAjaxProxy.cfm?menu=#url.menu#&sm=p','searchapplet',mycallBack,myerrorHandler);applet_show('searchapplet');applet_hide('detailsapplet');applet_hide('moredetailsapplet')" display="<b>CF AjaxProxy</b>"></cfmenuitem><cfmenuitem name="app17" href="javascript:ColdFusion.navigate('#request.root#/application-flash/applets/ajaxUser.cfm?menu=#url.menu#&sm=user','searchapplet',mycallBack,myerrorHandler);applet_show('searchapplet');applet_hide('detailsapplet');applet_hide('moredetailsapplet')" display="<b>CF User</b>"></cfmenuitem></cfmenuitem> <cfmenuitem name="reporting" display="<b>Reporting</b>"> <cfmenuitem name="report1" href="javascript:ColdFusion.navigate('#request.root#/reporting/applets/ajaxReport1.cfm','searchapplet',mycallBack,myerrorHandler);javascript:applet_hide('detailsapplet');" display="<b>User Report 1</b>"/> </cfmenuitem> <cfmenuitem name="maintenance" display="<b>Maintenance</b>"> <cfmenuitem name="maint1" href="javascript:ColdFusion.navigate('#request.root#/maintenance/applets/ajaxLookupType.cfm?menu=#url.menu#&step=home','searchapplet',mycallBack,myerrorHandler);applet_show('searchapplet');javascript:applet_hide('detailsapplet');" display="<b>Lookups</b>"/> </cfmenuitem> <cfmenuitem name="integration" display="<b>Integration</b>"> <cfmenuitem name="int1" href="javascript:ColdFusion.navigate('#request.root#/integration/applets/ajaxGetfile.cfm?menu=#url.menu#&step=getfile','searchapplet',mycallBack,myerrorHandler);javascript:ColdFusion.navigate('#request.root#/integration/applets/ajaxBlank.cfm','detailsapplet',mycallBack,myerrorHandler);" display="<b>File Upload</b>"/> <cfmenuitem name="int2" href="javascript:ColdFusion.navigate('#request.root#/integration/applets/ajaxBatches.cfm?menu=#url.menu#&step=view','searchapplet',mycallBack,myerrorHandler);javascript:ColdFusion.navigate('#request.root#/integration/applets/ajaxBlank.cfm','detailsapplet',mycallBack,myerrorHandler);" display="<b>Batches</b>"/> <cfmenuitem name="int3" href="javascript:ColdFusion.navigate('#request.root#/integration/applets/ajaxConfig.cfm?menu=#url.menu#&step=view','searchapplet',mycallBack,myerrorHandler);javascript:ColdFusion.navigate('#request.root#/integration/applets/ajaxBlank.cfm','detailsapplet',mycallBack,myerrorHandler);" display="<b>Config Tables</b>"/> <cfmenuitem name="int4" href="javascript:ColdFusion.navigate('#request.root#/integration/applets/ajaxDataMaps.cfm?menu=#url.menu#&step=view','searchapplet',mycallBack,myerrorHandler);javascript:ColdFusion.navigate('#request.root#/integration/applets/ajaxBlank.cfm','detailsapplet',mycallBack,myerrorHandler);" display="<b>Data Maps</b>"/> <cfmenuitem name="int5" href="javascript:ColdFusion.navigate('#request.root#/integration/applets/ajaxMessages.cfm?menu=#url.menu#&step=view','searchapplet',mycallBack,myerrorHandler);javascript:ColdFusion.navigate('#request.root#/integration/applets/ajaxBlank.cfm','detailsapplet',mycallBack,myerrorHandler);" display="<b>Messages</b>"/> <cfmenuitem name="int6" href="javascript:ColdFusion.navigate('#request.root#/integration/applets/ajaxRunlog.cfm?menu=#url.menu#&step=view','searchapplet',mycallBack,myerrorHandler);javascript:ColdFusion.navigate('#request.root#/integration/applets/ajaxBlank.cfm','detailsapplet',mycallBack,myerrorHandler);" display="<b>Runlog</b>"/> </cfmenuitem> <cfmenuitem name="admin" display="<b>Admin</b>"> <cfmenuitem name="admin1" href="javascript:ColdFusion.navigate('#request.root#/admin/applets/ajaxUsers.cfm?menu=#url.menu#','searchapplet',mycallBack,myerrorHandler);javascript:applet_hide('detailsapplet');" display="<b>Users</b>"/> </cfmenuitem> <cfmenuitem name="logout" href="logout.cfm" display="<b>Logout</b>"/> </cfmenu><cffileuploadurl="uploadFiles.cfm"progressbar="true"name="myupload"addButtonLabel = "1. Add File to Upload"UPLOADBUTTONLABEL="2. Upload File"clearButtonlabel = "3. Reset Files"hideUploadButton = "false"width=700height=300title = "ColdFusion File Attachments"maxuploadsize="100"extensionfilter="*.jpg, *.png, *.flv, *.txt"stoponerror="true"BGCOLOR="bdb48a"style="titletextalign:center;rollovercolor:bdb48a"MAXFILESELECT=10/>
Result:
CFMenu seems to have an issue when a CFFileUpload tag is used right below it. The menu wants to go behind the CFFileUpload Flash component and is cut off. The CFMenu works fine with CFGrid, RichText, but not with CFFileUpload.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3040443
External Customer Info:
External Company:
External Customer Name: Jeffrey Cookle
External Customer Email: 56C7328143F0F8F50AAC0C19
External Test Config: 11/23/2009
Attachments:
Comments: