View Full Version : Load coldfusion flash objects into extJS panels

27 Apr 2010, 10:52 AM
Okay I made a mistake, the Thread name should be :"Load coldfusion flash objects inside extJS Panels"

Hi guys, I have been working on coldfusion 9 and I have a problem, I want to load a new flash object called "cffileupload" inside a tabPanel, but when I pop up the extjs window the object is not displayed inside the panel, do you know if I'm missing something here? here's the code:

<script type="text/javascript">

var button = Ext.get('show-btn');

button.on('click', function(){

mUploadTab = new Ext.TabPanel({
region : 'center',
margins : '3 3 3 0',
activeTab : 0,
width : 400,
defaults: {autoScroll:true,hideMode:'visibility'},
autoLoad:{ url:'<cfoutput>#dAdress#</cfoutput>actionPage.cfm',scripts: true}

var win = new Ext.Window({
title : 'Layout Window',
closable : true,
width : 600,
height : 350,
//border : false,
plain : true,
layout : 'border',
items : [mUploadTab]


Here's the action page code:

<cffileupload url="#dAdress#mycontroller.cfm" />
there's a particular way to handle flash objects inside extjs containers like panels?