Re: CF, IE6 & Ext JS Oh My!

2009-10-30 Thread Paul Cormier

>So, Ext.isReady is like $("document").ready() in jQuery ... good to know 
>if I ever play around with Ext.  It's a convention in jQuery to wrap all 
>those sorts of functions in a ready() call for just this reason:
>
>$("document").ready().function {
>doMyStuffNowThatWeAreDoneLoading();
>}

Actually, Ext.isReady doesn't have anything to do with whether or not your 
components are rendered or not. It is a boolean property not to be confused 
with the on.Ready event. ExtJS has very granular and specific event triggers, 
so using setTimeout and reading Ext.isReady isn't the most elegant solution.

If you want to start interacting with ExtJS directly, I suggest you download 
and install the latest version (3.0.x) who's syntax has changed somewhat from 
v1.x. It's also the version that ships with CF9.

You'll find you'll be doing a lot more event-driven programming (e.g. on.Render 
do this).

Lastly, keep in mind that the IE6 Javascript engine is orders of magnitude 
slower than what you have in contemporary browsers, so some of the flickering 
and jumping around you see when ExtJS is doing its layouts may be unavoidable.

To help you get started, you can view a presentation I did at CFinNC a few 
weeks ago titled: "Building RIAs Using ExtJS 3 and ColdFusion"

http://www.slideshare.net/paulcormier/building-rias-using-extjs-3-and-coldfusion

Once you get over the initial (moderately steep) learning curve, you'll find 
using the Ext widgets directly rather than the CF Tags to be quite flexible.

Paul Cormier
webmasterymadesimple.com 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327853
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: where to buy cfmx7 standard linux licenses

2009-10-30 Thread Gerald Guido

I just remembered... Other places to look are Price Watch and Google
Shopping. I didn't see any thing for v. 7 on Price Watch but I got some hits
on Google.
Price watch is a good barometer to get a feel for what's the going rates for
items.

http://www.pricewatch.com/
http://www.google.com/products?q=coldfusion+7&aq=f

HTH,
G!


On Fri, Oct 30, 2009 at 5:00 PM, Jeff Gladnick wrote:

>
> I was hoping I could find a couple of them at steep discount.
> CDW link is a good one, although its pricey.
>
> Matt - how many copies you got and is it the linux version.
>
>
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327852
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Apache/ColdFusion 9 per-directory application isolation

2009-10-30 Thread Seth Stone

With CF9 enterprise, I'd like to connect to multiple CF instances in a single 
Apache virtual host.

For example,

mydomain.com/app1 -> handled by instance1
mydomain.com/app2 -> handled by instance2

It seems most people accomplish this by using separate vhosts, but I was 
wondering if this could be done at a directory level.  I've tried using 
 and  stanzas with their own JRunConfig directives, but 
they end up overwriting the JRun config for the entire virtual host.

If anyone knows of a built-in way to accomplish this, I would be interested.  
Alternatively, I'd like input on using an Apache reverse proxy configuration so 
that I can map /app1 to the WebService port of the JRUN instance:

mydomain.com/app1 -> localhost:8301/app1
mydomain.com/app2 -> localhost:8302/app2

Has anyone had luck with this?  Does anyone see issues with this or have a 
better idea?

Thanks!
Seth S. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327851
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


FKCEditor URL Vars

2009-10-30 Thread Donnie Carvajal

Is there any way to pass URL variables into the FCKeditor either through the 
cftextarea tag or the custom tag fckeditor.cfm that comes with CF 9?  I have a 
popup window that needs certain variables to determine what information to 
display.  I am trying to avoid using session/client variables for this; 
although, I think this may be my only choice.

Thanks,

Donnie Carvajal 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327850
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CF, IE6 & Ext JS Oh My!

2009-10-30 Thread Jason Fisher

So, Ext.isReady is like $("document").ready() in jQuery ... good to know 
if I ever play around with Ext.  It's a convention in jQuery to wrap all 
those sorts of functions in a ready() call for just this reason:

$("document").ready().function {
doMyStuffNowThatWeAreDoneLoading();
}


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327849
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: SQL Update questions

2009-10-30 Thread Jason Fisher

Need more information ... what type of data is in the checkbox values? 
how is the table set up? how does the checkbox data relate to the other 
data in the form and in the table(s)?

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327848
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: where to buy cfmx7 standard linux licenses

2009-10-30 Thread Jeff Gladnick

I was hoping I could find a couple of them at steep discount.  
CDW link is a good one, although its pricey.

Matt - how many copies you got and is it the linux version.



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327847
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CF7 & iText to Merge PDFs - Examples?

2009-10-30 Thread Leigh

> If so, does that mean they're already
> installed because  my CF7 has cfDocument?

Yes. Though it is an older version of iText. The usual location is something 
like:
c:\CFusionMX7\lib\iText.jar 


> If I already have the iText libraries, does anyone have any
> example ColdFusion code for merging two PDFs?

http://cfsearching.blogspot.com/2007/12/getting-started-with-itext-part-17.html

.. or for the smart/lazy, there are some utility classes in the iText.jar for 
stuff like concatenation, watermarking, etc. At least in the CF8 version.  

-Leigh


 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327846
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: where to buy cfmx7 standard linux licenses

2009-10-30 Thread Andy Allan

You can buy CF9 and contact Adobe, and ask for a CF7 license key.

Just contact one of the folks on the following link:
http://www.adobe.com/products/coldfusion/buy/

Andy

2009/10/30 Jeff Gladnick :
>
> It seems impossible to purchase new CFMX 7 licenses, and for the project I am 
> currently working on it MUST be cfmx 7 (not 8, not 9, not railo or bd).  I'd 
> rather upgrade, but its not an option - don't ask.
>
> Anyway, does anyone know where I can get a few cfmx7 standard linux licenses
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327845
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: where to buy cfmx7 standard linux licenses

2009-10-30 Thread Gerald Guido

>>EBay, but buyer beware of course.

+1
I picked up CF Server on Ebay a while back and even managed to save a couple
hundred bucks. I take a look every so often and there always seems to be a
couple of versions listed.

>>but buyer beware of course.

Indeed. Plenty of scoundrels on the internets. I look for ppl with lots of
feed back. People live and die by there Ebay reputations.

G!

On Fri, Oct 30, 2009 at 1:41 PM, Ian Skinner  wrote:

>
> Jeff Gladnick wrote:
> > Anyway, does anyone know where I can get a few cfmx7 standard linux
> licenses
> >
> EBay, but buyer beware of course.
>
>
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327844
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


SQL Update questions

2009-10-30 Thread Scott Stewart

Hey all, 

I've got a series of checkboxes, with the same name, call them X

I need to run an update query with the contents of X

 

Is this valid SQL?

 

"UPDATE table

 Set var1 = x

Where var0 = form.var0 and

Var1 in (X)"

 

Or do I loop over X and perform a series of updates?

 

--

Scott Stewart

IT Consultant/ColdFusion Developer

4405 Oakshyre Way

Raleigh, NC 27616

(919) 874-6229

 



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327843
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CF7 & iText to Merge PDFs - Examples?

2009-10-30 Thread David G

I'm in CF7 and want to merge two PDFs.

I've been doing some reading, and it seems that the cfDocument tag uses the
iText libraries under the hood.  If so, does that mean they're already
installed because  my CF7 has cfDocument?

If I already have the iText libraries, does anyone have any example
ColdFusion code for merging two PDFs?


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327842
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


ClassCastException thrown when using with a JNDI datasource

2009-10-30 Thread Dirk Johnson

Hi, I'm using CF 8.0.1 with hot fix 3 on Glassfish and MS Sql Server and we're 
trying to move from using database datasources in the Administrator to JNDI 
datasources, but found queries bomb when using  and stored 
procedures.  I saw a similar post about using dynamic dsn's but we're only 
using static dsn's defined in the admin console and we applied the Adobe 
Cumulative Hot Fix 3 that is supposed to address this bug, but with no luck?

Can anyone offer any advice?  Suggest specific db drivers that might work?  
Documentation on this bug seems pretty spotty at best... 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327841
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: where to buy cfmx7 standard linux licenses

2009-10-30 Thread Scott Stewart

@Chuka, Macromedia's not selling much of anything, as they no longer exist, 
With the release of CF 9, I'm sure Adobe's main push is upgrading to 9.

@Jeff, did you call Adobe and see what they can do?

-Original Message-
From: Anene Isioma Wealth [mailto:anene.quor...@yahoo.com] 
Sent: Friday, October 30, 2009 2:47 PM
To: cf-talk
Subject: Re: where to buy cfmx7 standard linux licenses


i thought Macromedia, adobe sell these licences.
 Sincerely, 
Chuka I.W. Anene
Chief Software Eng./CEO
Quorium Solutions 
www.quorium.org
07029609185,07032696113





From: Jeff Gladnick 
To: cf-talk 
Sent: Fri, October 30, 2009 5:18:28 PM
Subject: where to buy cfmx7 standard linux licenses


It seems impossible to purchase new CFMX 7 licenses, and for the project I
am currently working on it MUST be cfmx 7 (not 8, not 9, not railo or bd).
I'd rather upgrade, but its not an option - don't ask.

Anyway, does anyone know where I can get a few cfmx7 standard linux licenses






~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327840
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: where to buy cfmx7 standard linux licenses

2009-10-30 Thread Anene Isioma Wealth

i thought Macromedia, adobe sell these licences.
 Sincerely, 
Chuka I.W. Anene
Chief Software Eng./CEO
Quorium Solutions 
www.quorium.org
07029609185,07032696113





From: Jeff Gladnick 
To: cf-talk 
Sent: Fri, October 30, 2009 5:18:28 PM
Subject: where to buy cfmx7 standard linux licenses


It seems impossible to purchase new CFMX 7 licenses, and for the project I am 
currently working on it MUST be cfmx 7 (not 8, not 9, not railo or bd).  I'd 
rather upgrade, but its not an option - don't ask.

Anyway, does anyone know where I can get a few cfmx7 standard linux licenses 



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327839
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CF, IE6 & Ext JS Oh My!

2009-10-30 Thread Brett Davis

Ok I found my answer and I shall share. What I was looking for was a property 
in the Ext JS that let me know it was done doing it's thing. After digging 
around the Ext JS 1.1 Documentation I found the 'Ext.isReady' property. Quick 
little test with an alert placed in the try catch block showed that the 
property was false when the page content was stacked. So I modified my inline 
JS as follows:


  
  function creation_complete(){
   lpck=setTimeout('creation_complete()',1500); 
   if(Ext.isReady){
clearTimeout(lpck);
disable_tabView('DataContainer', 'Comments');
   }
  }

  function disable_tabView(m,n){
   try{
   ColdFusion.Layout.disableTab(m,n);
   return;
   }
   catch(err){} 
  }
  creation_complete();
 


And just like magic all is well in the land of code and honey. Guess it's 
really past time for me to go and get Cutter's book on learning ExtJS.

-Brett 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327838
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: where to buy cfmx7 standard linux licenses

2009-10-30 Thread Jordan Michaels

CF7 Upgrade License:
http://www.softwaremedia.com/product/2194.html

Couldn't find anything anywhere else. =\

Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
Open BlueDragon Steering Committee
Adobe Solution Provider


Jeff Gladnick wrote:
> It seems impossible to purchase new CFMX 7 licenses, and for the project I am 
> currently working on it MUST be cfmx 7 (not 8, not 9, not railo or bd).  I'd 
> rather upgrade, but its not an option - don't ask.
> 
> Anyway, does anyone know where I can get a few cfmx7 standard linux licenses 
> 
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327837
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: where to buy cfmx7 standard linux licenses

2009-10-30 Thread Ian Skinner

Jeff Gladnick wrote:
> Anyway, does anyone know where I can get a few cfmx7 standard linux licenses 
>   
EBay, but buyer beware of course.



~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327836
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: where to buy cfmx7 standard linux licenses

2009-10-30 Thread Matt Quackenbush

Jeff, I may have a CF7 license that I can part ways with. Shoot me an  
email off list.

Sent from my iPhone

On Oct 30, 2009, at 12:18, Jeff Gladnick   
wrote:

>
> It seems impossible to purchase new CFMX 7 licenses, and for the  
> project I am currently working on it MUST be cfmx 7 (not 8, not 9,  
> not railo or bd).  I'd rather upgrade, but its not an option - don't  
> ask.
>
> Anyway, does anyone know where I can get a few cfmx7 standard linux  
> licenses
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327835
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: where to buy cfmx7 standard linux licenses

2009-10-30 Thread Alan Rother

CDW still has some for sale

http://www.cdw.com/shop/products/default.aspx?EDC=895784

=]

On Fri, Oct 30, 2009 at 10:18 AM, Jeff Gladnick wrote:

>
> It seems impossible to purchase new CFMX 7 licenses, and for the project I
> am currently working on it MUST be cfmx 7 (not 8, not 9, not railo or bd).
>  I'd rather upgrade, but its not an option - don't ask.
>
> Anyway, does anyone know where I can get a few cfmx7 standard linux
> licenses
>
> 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327834
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


where to buy cfmx7 standard linux licenses

2009-10-30 Thread Jeff Gladnick

It seems impossible to purchase new CFMX 7 licenses, and for the project I am 
currently working on it MUST be cfmx 7 (not 8, not 9, not railo or bd).  I'd 
rather upgrade, but its not an option - don't ask.

Anyway, does anyone know where I can get a few cfmx7 standard linux licenses 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327833
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CF, IE6 & Ext JS Oh My!

2009-10-30 Thread Brett Davis

Ok well from the last post I got an idea to use the try catch to throw an alert 
box up with the error message. When the alert box pops up lets me know exactly 
when my inline javascript is firing and as I kind of expected, the content 
drawn on the screen stacked down the page. Which means that the divs that get 
applied to the content to give it the tabbed interface haven't been applied 
yet. Meaning the object id my inline JS is looking for doesn't exist yet until 
after the screen redraws itself and the tabs are displayed.

So now I need to know if there is some event that fires off to let you know the 
tab creation on screen has completed. 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327832
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CF, IE6 & Ext JS Oh My!

2009-10-30 Thread Stephane Vantroyen

Hi,

I'm not aware of such a book, but have you tried something like :

function refreshActiveTab(){
try{
var mySelectedTab = '#url.selectedTab#'
ColdFusion.Layout.selectTab("myTabs", mySelectedTab);
return;
}
catch(err){}
}
function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
window.onload = func;
  } else {
window.onload = function() {
  oldonload();
  func();
}
  }
}
addLoadEvent(refreshActiveTab);


Where "refreshActiveTab" should hold the needed disabletabs of yours..
I use this to do something else, but why shouldn't it work in your case...?



> Ok got a question for all the gurus out there. Is there a hidden book 
> of knowledge on the subject of ColdFusion and Ext JS for version 8 of 
> CF? One of the annoying things I am running into that I can live with 
> but I just want to know why it happens is this. I am using  
> in a tabbed layout. The target browser of the client is IE 6 [Can't 
> change it, large corporate monster I'd sooner get a pardon from the 
> president then them upgrading.]. When the page renders, the content 
> renders first kind of in a stack down the screen way and then there is 
> like a slight hiccup [flicker if you will] then all the tabs get 
> rendered properly and the display is as intended. I am wondering if 
> like in Flex there is some kind of creation complete event that fires 
> off when all the data is done loading and then the browser is 
> reloading everything into the tabbed interface.
> 
> The reason I am asking that question is because it spawns from another 
> thing I noticed. I was attempting to 'hide' one of the tabs depending 
> on if a certain flag was flipped on or off. I was controlling this via 
> inline javascript on the page. See code below:
> 
> 
 
> 
  
> 
 
> 
 
> 
  
> 
 
> 
 
> 
  
> 
 
> 
> 
> 
> 
  
>   
 
> function disable_tabView(m,n){
  
> ColdFusion.Layout.disableTab(m,n);
 
> }
 
> disable_tabView('DataContainer','Comments');  
  
> 
> 
> 
>  onclick="disable_tabView('DataContainer','Comments');"/>
> 
> When this page loads there is a javascript error [down in the 
> statusbar] thrown stating that there was an unhandled exception. Appon 
> further inspection and running this in Firefox with Error Console 
> plugin the error states: [Error: uncaught exception: ColdFusion.Layout.
> disableTab: Tab layout not found, id: DataContainer] which is strange 
> because if I click the button I have on the page, guess what, the tab 
> is disabled. This is leading me to believe that the whole flicker 
> problem I described above is related. Maybe the flicker I see when the 
> browser redraws the content in to the tabs on the screen is happening 
> after my inline js fires off, in which case I am inclined to 
> understand why my code is busted. If this is the case, then is there 
> an event that fires off to let me know that the browser is done 
> redrawing the content and then I can fire off the js function?
> 
> This is not super important, just wanna know why this is not working.
> 
> Brett 


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327831
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Order Form | How to do it?

2009-10-30 Thread Arsalan Tariq Keen

Guys -

I want to make an order form. The idea is simple. There has to be one Item Code 
field in which the user will enter the Item code of the purchased item and the 
press enter or hit 'Add to order' key. Below should be a editable grid to which 
that particular item is added on the fly with its price and quantity. After 
adding all the bought items, user hits the Commit button after which the grid 
values are posted to my processing page.

I have tried this using ColdExt... however I have not been successful uptill 
now. So anyone has any suggestions/better options/guidelines to perform this 
task... I want to use AJAX ... ExtJS is more suited for me.


Regards,
Arsalan

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327830
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


CF, IE6 & Ext JS Oh My!

2009-10-30 Thread Brett Davis

Ok got a question for all the gurus out there. Is there a hidden book of 
knowledge on the subject of ColdFusion and Ext JS for version 8 of CF? One of 
the annoying things I am running into that I can live with but I just want to 
know why it happens is this. I am using  in a tabbed layout. The 
target browser of the client is IE 6 [Can't change it, large corporate monster 
I'd sooner get a pardon from the president then them upgrading.]. When the page 
renders, the content renders first kind of in a stack down the screen way and 
then there is like a slight hiccup [flicker if you will] then all the tabs get 
rendered properly and the display is as intended. I am wondering if like in 
Flex there is some kind of creation complete event that fires off when all the 
data is done loading and then the browser is reloading everything into the 
tabbed interface.

The reason I am asking that question is because it spawns from another thing I 
noticed. I was attempting to 'hide' one of the tabs depending on if a certain 
flag was flipped on or off. I was controlling this via inline javascript on the 
page. See code below:


 
  
 
 
  
 
 
  
 




 function disable_tabView(m,n){
  ColdFusion.Layout.disableTab(m,n);
 }
 disable_tabView('DataContainer','Comments');  
  




When this page loads there is a javascript error [down in the statusbar] thrown 
stating that there was an unhandled exception. Appon further inspection and 
running this in Firefox with Error Console plugin the error states: [Error: 
uncaught exception: ColdFusion.Layout.disableTab: Tab layout not found, id: 
DataContainer] which is strange because if I click the button I have on the 
page, guess what, the tab is disabled. This is leading me to believe that the 
whole flicker problem I described above is related. Maybe the flicker I see 
when the browser redraws the content in to the tabs on the screen is happening 
after my inline js fires off, in which case I am inclined to understand why my 
code is busted. If this is the case, then is there an event that fires off to 
let me know that the browser is done redrawing the content and then I can fire 
off the js function?

This is not super important, just wanna know why this is not working.

Brett 

~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327829
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4