House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

ext20 & ColdFusion

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
ColdFusion
01/31/2008 09:50 PM

Anyone using the ext js functions on a CF site? I am trying to setup the basic files needed to use the messagebox functions and then maybe some others but right now just the one. http://extjs.com/ http://extjs.com/deploy/dev/examples/message-box/msg-box.html I thought I pulled the core files but the JS error shows "Ext.get is null or not an object"

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Azadi Saryev
01/31/2008 10:01 PM

see if this helps: http://feeds.feedburner.com/~r/ajaxian/~3/213173675/ext-20-and-coldfusion --- Azadi Saryev Sabai-dee.com http://www.sabai-dee.com ColdFusion wrote: > Anyone using the ext js functions on a CF site?

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
James Holmes
01/31/2008 10:20 PM

I've used Ext 2 with CF with great success so far. On Feb 1, 2008 11:26 AM, ColdFusion <coldfusion@mindkeeper.net> wrote: ----- Excess quoted text cut - see Original Post for more ----- -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Cutter (CFRelated)
01/31/2008 10:54 PM

I've done a lot with utilizing the underlying 1.1 in the CF8 Ajax components, as well as some extensive pieces using straight Ext, both 1.1 and 2.0. Great fun. Steve "Cutter" Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _____________________________ http://blog.cutterscrossing.com ColdFusion wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Andrew Scott
01/31/2008 10:58 PM

Can you post your code? If you are using Firefox and fireBug you can see if there extJS files are actually being loaded, I am guessing that this is the case. ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Cutter (CFRelated)
01/31/2008 11:03 PM

Should have read the rest of the question, sorry. Look at Dan Vega's cfext project on RIAForge. He's already written a custom tag set specifically for working with simple message boxes in Ext 2.0. http://cfext.riaforge.org/ Steve "Cutter" Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _____________________________ http://blog.cutterscrossing.com ColdFusion wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Cutter (CFRelated)
01/31/2008 11:06 PM

BTW, if you try to create a MessageBox that is tied to an existing DOM element, by using the 'el' attribute in the config, then you want to make sure your object initialization code is written inside some kind of document.ready function (I use JQuery, but Ext 2.0 has a built in construct). If the document isn't ready, then your init can't find the element it must bind to. Steve "Cutter" Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _____________________________ http://blog.cutterscrossing.com ColdFusion wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Andrew Scott
01/31/2008 11:15 PM

Ext,get is a core function of extJS. Has nothing to do with his problem Cutter:-) However, I have not only used extJS on many projects and have used it with extreme confidence. As well as interfacing the V1.0 that Coldfusion uses. So any questions, please ask away. As for good libraries. This is the best one on hte internet today. Yes it is written in JSTL, but it is very usable in cfmx6+ http://www.exttld.com/ ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
James Holmes
01/31/2008 11:22 PM

Oh nice, thank for the heads up on that one. I really love the vegan conditions of use! On Feb 1, 2008 12:52 PM, Andrew Scott <andrew.scott@aegeon.com.au> wrote: > > As for good libraries. This is the best one on hte internet today. Yes > it is written in JSTL, but it is very usable in cfmx6+ > > http://www.exttld.com/ -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Cutter (CFRelated)
02/01/2008 06:42 AM

Ext.get is used to find a DOM element by ID (using the Ext core). If used outside of a document.ready type scenario, and if the DOM isn't completely rendered at the time the statement is loaded, then it will absolutely error out in the way he describes. It might not be his problem, I haven't seen his code, but it is definitely a possibility. Steve "Cutter" Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _____________________________ http://blog.cutterscrossing.com

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Andrew Scott
02/01/2008 07:06 AM

And if you do not load the libraries the error message that has been reported is the exact error messag reported by the borswer... Cutter, give up... ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Cutter (CFRelated)
02/01/2008 10:13 AM

I never give up;) Steve "Cutter" Blades Adobe Certified Professional Advanced Macromedia ColdFusion MX 7 Developer _____________________________ http://blog.cutterscrossing.com Andrew Scott wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Rey Bango
02/01/2008 01:54 AM

Do you have some code to look at? You're either missing a file or you have them in the wrong order. Rey... Ext JS Core Team Member ColdFusion wrote: ----- Excess quoted text cut - see Original Post for more -----


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference