Re: Where to put your code

2010-11-17 Thread Cutter (ColdFusion)

Some of it is a little dated...

http://blog.cutterscrossing.com/index.cfm/General-Coding-Guidelines

Steve Cutter Blades
Adobe Community Professional - ColdFusion
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 11/15/2010 4:13 PM, Paul Alkema wrote:
 Thanks for your feedback. You make some good points.

 Does anyone out there have any written coding standards or coding
 documentation that they would be willing to share? I would be interested in
 seeing what other development teams use as far as coding standards.


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339334
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Sessions persist after server restart.

2010-09-21 Thread Cutter (ColdFusion)

  Is it using the CLIENT scope, with vars in the db? Is it storing 
things in the COOKIE scope, and checking that scope on login for 
previously entered credentials?

Steve Cutter Blades
Adobe Community Professional - ColdFusion
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 9/20/2010 1:45 PM, Eric Cobb wrote:
 So, I was working locally on an application today and I needed to
 restart my CF services.  Much to my surprise, after I bounced CF I came
 back to my application and I was not forced back to the login screen as
 I would have expected.  Rather, all of my session info was still there.
 I then shut down CF, clicked around in my application to make sure
 everything was down, then brought CF back up and my session info was
 still alive in my application.

 So, I did a little research and came across this
 (http://livedocs.adobe.com/coldfusion/8/htmldocs/sharedVars_02.html)
 where it states:
 /If you use J2EE session management and configure the J2EE server to
 retain session data between server restarts, ColdFusion retains session
 variables between server restarts./

 Ok, I'm using J2EE sessions, so now I know what's going on.  Now, my
 question is, how do I turn it off?  Adobe hints that you can configure
 the J2EE server to retain session data, but gives no clue as to where or
 how.  All I've found is the checkbox to enable/disable J2EE sessions.

 Also, is this something that is turned ON or OFF by default?  I'm just
 wondering if I accidentally turned it on, or if it's always been on and
 I never noticed it.



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337262
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Key management for PCI DSS compliance

2010-08-13 Thread Cutter (ColdFusion)

  Storing the key in the same db is ok, if you also encrypt the key. You 
might use a combination of the app name and the timestamp of the key 
record as the key to unencrypt the key (wow that's confusing).

Steve Cutter Blades
Adobe Community Professional - ColdFusion
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 8/13/2010 8:52 AM, Dave Burns wrote:
 I have a client I'm helping with their PCI compliance effort. One question I 
 have is where to store the key that encrypts account numbers, etc. Right now, 
 it's in one location in their CF code. Is there a better practice? I 
 understand that storing it in the same database that contains the encrypted 
 data is a no-no (seems sensible). The cost of an external HSM box just for 
 key management seems prohibitive. Is there an easier way that others here 
 have used?

 Thanks,
 Dave


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336256
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Body too long: Re: cflayout question

2010-08-06 Thread Cutter (ColdFusion)

  I haven't followed this thread too closely but, for reference, the 
'center' region of cflayout should always fill the remaining space 
available by default.

Steve Cutter Blades
Adobe Community Professional - ColdFusion
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 8/6/2010 3:44 PM, Victor Moore wrote:
 I think I found out why it's not working.
 In cflayout if I use the height in % the style declaration it
 disregards the  and treats it as a pixel value.

 This is definitely a bug and should be fixed ASAP. Can't believe that
 has passed the original QA and even one year after the release it's
 not fixed

 I have tried to use jQuery to set the value after the window loads with no 
 luck.

 If anybody has any idea how to fix this (until Adobe) releases an
 update I will really appreciate.

 Thx

 Victor

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336083
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Syntax checking generated code: CF9

2010-08-06 Thread Cutter (ColdFusion)

  I've never seen one, but if you come up with one please let us all know.

Steve Cutter Blades
Adobe Community Professional - ColdFusion
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 8/6/2010 9:18 AM, Dominic Watson wrote:
 I've made a script that remotely parses a fusebox application one
 fuseaction at a time (progress bar stylee). What I'd really like to do
 is, after each parsed file is created, test the syntax of the
 generated code (we've had problems and would like to verify there are
 no problems before we deploy the new parsed files). Does anyone know
 how to get hold of the syntax checking code under the hood (or over
 it) in CF9?

 TIA

 Dominic

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:336084
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: SOT: HTML spec for mobile devices

2010-08-02 Thread Cutter (ColdFusion)

  I would check out the HTML5 series of blog posts on the Sencha site:

(starts here)
http://www.sencha.com/blog/2010/05/23/html5-now-with-20-percent-more-internet/

Then do some travel through some of the links inside those posts. Every 
class-1 mobile phone has a browser supporting HTML5, with RIM 
(BlackBerry) being the next to join the fray (Can't speak to Windows 
Mobile. Can't seem to get any traction...). I would also invest the time 
to look into mobile frameworks like JQTouch and Sencha Touch.

Steve 'Cutter' Blades

On 8/2/2010 9:13 AM, Marc Funaro wrote:
 I'm looking for a basic web resource coover what would be considered best 
 practices for building a website that will be viewed on mobile devices... a 
 general reference guide/best practices document, that might cover (x)html, 
 css, etc... I can't seem to find the right keywords to Google with.  The last 
 mobile xml/html spec I could find was from 2001.  I knwo i could just wing it 
 and use basic html and go from there, but I'd rather follow at least a 
 proposed standard, if there is one.

 Thanks for any links you can provide!

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335923
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Adobe no longer part of the OpenCFML committee

2010-07-23 Thread Cutter (ColdFusion)

http://www.adrocknaphobia.com/post.cfm/adobe-no-longer-part-of-opencfml

Steve Cutter Blades
Adobe Community Professional - ColdFusion
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com



Dan Baughman wrote:
 Is there an official adobe announcement that it pulled out?

 On Thu, Jul 22, 2010 at 5:10 PM, Sean Corfield seancorfi...@gmail.comwrote:

   
 On Thu, Jul 22, 2010 at 12:20 PM, Gerald Guido gerald.gu...@gmail.com
 wrote:
 
 Or support for Amazon Web services:  S3 (well before Adobe did),
   
 My bad. Before I get a public tongue lashing...  I got Railo mixed up
   
 with
 
 OBD with the S3 support.
   
 Yup, Railo introduced the concept of resources quite a long time ago
 (in Railo 2.0, back in 2007) that allows standard file tags to work
 with ram, S3, ZIP files, FTP sites and even database tables.
 --
 Sean A Corfield -- (904) 302-SEAN
 Railo Technologies, Inc. -- http://getrailo.com/
 An Architect's View -- http://corfield.org/

 If you're not annoying somebody, you're not really alive.
 -- Margaret Atwo


 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335676
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Problem with ColdFusion.Window.destroy

2010-07-16 Thread Cutter (ColdFusion)

I never found ColdFusion's destroy() implementation to work in CF8. 
Not sure why...

Steve Cutter Blades
Adobe Community Professional - ColdFusion
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com



Peter Terhorst wrote:
 I'm opening a modal window and then when the form in that window is 
 submitted, destroying the window with ColdFusion.Window.destroy.

 I need the window to be destroyed because it will be opened multiple times 
 from the parent window and I need the URL of the modal window to refresh each 
 time it opens.

 On Apache under Windows (xampp), my code works nicely but after porting it to 
 our staging server where Apache runs under LINUX, ColdFusion.Window.destroy 
 throws an error: ColdFusion.Window.destroy is not a function.

 I've confirmed that both servers are running the same version of CF 
 (8,0,1,195765), up to date with all hotfixes. 

 I don't think it will help, but here is my code, used for opening and closing 
 the window.  Any guesses or known history of a similar problem? 

 the opener:
 script
 $(document).ready(function() {
 
   $(#addbutton).click(function() {
 // obtain the selected categoryID and sent it to dsp_paq.cfm to show 
 associated questions
 var selectedVal = $(#categoryID option:selected).val()
 var splitRes = selectedVal.split(|);
 var categoryID = splitRes[0];
 var qCnt = splitRes[1];
 if(categoryID==0) {
   alert('Please select a Practice Area to add.');
 } else {
   if(qCnt==0){
 // if no questions just add the PA
 
 $.get('Client2/Apply/act_saveAnswers.cfm?categoryID='+categoryID,{},function(data){
   $(#practiceAreas).html(data)
 })  
   } else {
 // show the modal popup for questions
 ColdFusion.Window.create('answindow','Practice Area 
 Questions','Client2/Apply/dsp_paq.cfm?categoryID='+categoryID,{center:true,modal:true})
 ColdFusion.Window.onHide(answindow, destroyWin);
   }
 }
 return false
   }) 
   
 });

 function destroyWin() {
 // delete the window
 ColdFusion.Window.destroy('answindow',true);
 }

 /script 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335428
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Problem with ColdFusion.Window.destroy

2010-07-16 Thread Cutter (ColdFusion)

No, he's trying to call the built in method to destroy a cfwindow. It is 
supposed to call the destroy() method of the underlying Ext object to 
remove it from memory.

Steve Cutter Blades
Adobe Community Professional - ColdFusion
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com



morgan l wrote:
 Many of the built-in CF stuff requires your javascript function declarations
 to be in the form of:
 destroyWin = function(){
 //stuff
 }
 Not sure if that's the case here, but worth a shot.

 On Fri, Jul 16, 2010 at 2:15 PM, Peter Terhorst 
 nouveau.gl...@gmail.comwrote:

   
 I'm opening a modal window and then when the form in that window is
 submitted, destroying the window with ColdFusion.Window.destroy.

 I need the window to be destroyed because it will be opened multiple times
 from the parent window and I need the URL of the modal window to refresh
 each time it opens.

 On Apache under Windows (xampp), my code works nicely but after porting it
 to our staging server where Apache runs under LINUX,
 ColdFusion.Window.destroy throws an error: ColdFusion.Window.destroy is not
 a function.

 I've confirmed that both servers are running the same version of CF
 (8,0,1,195765), up to date with all hotfixes.

 I don't think it will help, but here is my code, used for opening and
 closing the window.  Any guesses or known history of a similar problem?

 the opener:
 script
 $(document).ready(function() {

  $(#addbutton).click(function() {
// obtain the selected categoryID and sent it to dsp_paq.cfm to show
 associated questions
var selectedVal = $(#categoryID option:selected).val()
var splitRes = selectedVal.split(|);
var categoryID = splitRes[0];
var qCnt = splitRes[1];
if(categoryID==0) {
  alert('Please select a Practice Area to add.');
} else {
  if(qCnt==0){
// if no questions just add the PA

  
 $.get('Client2/Apply/act_saveAnswers.cfm?categoryID='+categoryID,{},function(data){
  $(#practiceAreas).html(data)
})
  } else {
// show the modal popup for questions
ColdFusion.Window.create('answindow','Practice Area
 Questions','Client2/Apply/dsp_paq.cfm?categoryID='+categoryID,{center:true,modal:true})
ColdFusion.Window.onHide(answindow, destroyWin);
  }
}
return false
  })

 });

 function destroyWin() {
// delete the window
ColdFusion.Window.destroy('answindow',true);
}

 /script


 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335432
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF9 Installer Error with Apache 2.2.14

2010-06-28 Thread Cutter (ColdFusion)

Look at the ACME Guide - http://www.acidlabs.org/public-speaking/goodies/

Steve Cutter Blades
Adobe Community Professional - ColdFusion
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com



J.B. Mentzer wrote:
 I'd like to install CF9 Server Standard on MacOS 10.6.4. XAMPP 1.7.3 is 
 installed, also. Both XAMPP and the OS have Apache 2.2.14 installed.

 When the CF9 installer gets to the point of Configure Web 
 Servers/Websites, I add the relevant paths (are they correct?)

 Config Directory: /Applications/XAMPP/xamppfiles/etc
 Dir and FN of server binary: /Applications/XAMPP/xamppfiles/etc/httpd.conf
 Dir and FN of server control script: 
 /Applications/XAMPP/xamppfiles/bin/apachectl

 When I click the Add Web Server Configuration dialog's OK button, 
 this error is thrown:

 Adobe ColdFusion 8 does not support this version of Apache. The 
 earliest support Apache version are 1.3.12 or later for Apache 1.x and 
 2.0.43 or later for Apache 2.x

 So, how do I get CF9 installed?

 Thank you!

 * JB *

 JB Mentzer


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334896
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: coldfusion equivalent to php json_encode

2010-06-26 Thread Cutter (ColdFusion)

If you aren't using returnFormat: 'JSON' on your Ajax request calls, 
then you're probably working too hard.

You can use the SerializeJson() method, if need be.

Steve Cutter Blades
Adobe Community Professional - ColdFusion
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com



Richard White wrote:
 hi

 we have used php in the past with extjs, when validating data on the server, 
 if something fails we pass back the failure by writing:

 die(json_encode('reason for failure'));

 it must be encoded for extjs to use it properly

 however we cannot seem to find an equivalent in coldfusion, we have tried 
 cfabort and setting the showError attribute, and with the SerializeJSON but 
 doesnt appear to work

 dos anyone have any suggestions

 thanks 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334857
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF9 Developer Edition - IP Addresses

2010-06-16 Thread Cutter (ColdFusion)

Does it still maintain that restriction in CF9? I thought the EULA now 
provided for development use in a staging environment? I don't know of 
many staging setups that would only be hit by three IPs...

http://www.terrenceryan.com/blog/post.cfm/coldfusion-9-testing-staging-and-development-changes-to-eula

Steve Cutter Blades
Adobe Community Professional - ColdFusion
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com



Paul Alkema wrote:
 That did it. Thanks.

 -Original Message-
 From: Charlie Griefer [mailto:charlie.grie...@gmail.com] 
 Sent: Wednesday, June 16, 2010 9:57 AM
 To: cf-talk
 Subject: Re: CF9 Developer Edition - IP Addresses


 On Wed, Jun 16, 2010 at 6:52 AM, Paul Alkema
 paulalkemadesi...@gmail.comwrote:

   
 Does anyone know how to edit the allowed allocated IP addresses for the
 
 CF9
   
 developer edition license?
 


 AFAIK, not configurable.  The allowed addresses are 127.0.0.1, and whatever
 the first 2 addresses that hit the server are.

 You can reset them by restarting the CF service, but you can't configure
 which 2 external addresses they are.

   


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334602
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Problems with slashes in JSON

2010-06-10 Thread Cutter (ColdFusion)

If Eric is returning a plain string, then there is no need to 
SerializeJson() the result, as all he needs is the string. That is why 
Eric is getting the additional slashes in his closing tag, because the 
SerializeJson() method is automatically escaping the slash characters.

I'll agree with Michael though. If you did get a Json return, and just 
parsed it to add the li tags in your doc you'll reduce your 
(unnecessary) server-side overhead. Returning the string is easier, but 
not necessarily best for you application or your code reusability.

Steve Cutter Blades
Adobe Community Professional - ColdFusion
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334453
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfquery to json array

2010-06-07 Thread Cutter (ColdFusion)

toJson is better if you have room for the server-side overhead, and 
don't mind writing methods that can't be used in any other scenario than 
via Ajax. CFQueryReader is solely a client side solution, so that you 
can reuse your server-side code in any way that you see fit.

Steve Cutter Blades
Adobe Community Professional - ColdFusion
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com



Richard White wrote:
 in fact toJson is even better for th job: http://tojson.riaforge.org/

   
 thanks, sorry dont think i was clear enough, i knew about 
 serializejson but this doesnt work with extjs, in case anyone else 
 stumbles on this post and is interested i found the following: 
 http://blog.cutterscrossing.com/index.cfm/CFQueryReader 

 
 Google is your friend:

 Search cfquery to json and get:

 http://www.coldfusionjedi.com/index.
   
 cfm/2007/9/20/Quick-and-Dirty-JSONQuery-Example
 

   


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334346
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfc accessing session scope - bad?

2010-05-20 Thread Cutter (ColdFusion)

Best practice is to pass in the session variable. There can be issues 
with calling a persistent scope directly within a CFC, typically around 
application performance and proper garbage collection.

Steve Cutter Blades
Adobe Community Professional - ColdFusion
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com



Matthew P. Smith wrote:
 Is it a bad practice to have a cfc access a session variable?  Should the
 session variable be passed in as an argument instead?


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333835
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfgridcolumn bgcolor

2010-05-17 Thread Cutter (ColdFusion)

Untested: Wouldn't it have to be bgColor=#(C1 EQ K?red:black)#? (you 
might have to use the hexadecimal color too)

Steve Cutter Blades
Adobe Community Professional - ColdFusion
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com



Chad Baloga wrote:
 I am displaying a cfgrid from a bind and need certain rows to be a certain 
 color.  I am trying: bgColor=(C1 EQ K?red:black) but doesn't seem to work. 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333763
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Converting Video uploads with ffmpeg on a shared host

2010-05-13 Thread Cutter (ColdFusion)

Carey,

I'm not positive of this, but I think you're only option is to move to a 
different host. Most shared environments would have this restriction, 
but a VPS solution would have the necessary sandbox.

Steve Cutter Blades
Adobe Community Professional - ColdFusion
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com



Carey Duryea wrote:
 i am uploading the videos and after uploading the video i need to convert it 
 into flash format and for that i found ffmpeg to conver vedio into flv.. but 
 to run this exe to convert vedio into flv format i should have access to run 
 the cfexecute tag which is current blocked byt the host...  i'm not sure 
 what to do for  a work around on this 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333636
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Which code reuse method?

2010-05-11 Thread Cutter (ColdFusion)

We set a variable in our onApplicationStart() method that looks at the 
server and defines an Application level variable for the server 
environment (which we'll move to the Server scope once we transition to 
CF9).

Steve Cutter Blades
Adobe Community Professional - ColdFusion
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com



Shannon Rhodes wrote:
 I'm probably overthinking this, but I have a really simple snippet of code 
 that I want to make easily available to other developers in-house.  It takes 
 no input variables; all it does is figure out the correct link to reporting 
 services based on the server environment (dev/QA/prod).

 Given the simplicity, should this just be an include?  Or at most a UDF 
 (though I fail to see the point there, since you have to include those too, 
 and I'm not taking input parameters).  Definitely a custom tag or a cfc seem 
 like overkill.

 However, my secondary concern is that we do not have a process for sharing 
 code in-house so I could see whatever method I choose turning into a sort of 
 default method of code reuse (even when not appropriate).  Also, I'm thinking 
 if I'm really going to approach this properly I need to request a mapping to 
 a folder above the web root rather than simply throwing in a new folder and 
 calling it cfincludes.  Mappings always turn into a PITA around here, but I 
 want to do this right.

 Advice for getting this team moving in the right direction (noting I am not 
 in management here)?  Thanks! 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333576
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Is CFGRID in CF9 solid enough for heavy use for CRUD functionality?

2010-05-07 Thread Cutter (ColdFusion)

I tell everyone that the cfajax tags are great for rapid prototyping, 
but it's best to go straight ExtJs for production implementation on 
anything but the simplest work.

One of the biggest issues I've seen, in examples of paging with the 
cfgrid tags, is the use of the QueryConvertForGrid() method for creating 
your paged datasets. If performance is an issue, you will be much better 
served by writing a true paging query. The QueryConvertForGrid() method 
is basically taking on a QueryOfQuery approach, whereby your querying 
your entire recordset and filtering it down at the CF level before 
passing it to the grid. For large datasets, this is handled much better 
at your SQL tier. There are many examples on this out on the web. It's 
fairly trivial with MS SQL, and really easy with MySQL.

Steve Cutter Blades
Adobe Community Professional - ColdFusion
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com

Steve Cutter Blades
Adobe Community Professional - ColdFusion
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com



Eric . wrote:
 Playing with some CFGRID examples on ColdFusion 9, I noticed some major 
 slowdown without a lot of records being loaded.  Being on a locally hosted 
 server off my workstation that concerned me even more.

 I have a lot of CRUD pages for various parts of a management system we're 
 re-writing as a Software-as-a-Service app that would be great candidates for 
 a CFC that creates a CFGRID (or something similar) with dynamic functionality.

 However playing with my examples, I worry about real-world use and larger 
 datasets making them judge our app for something that isn't its fault.


 Currently I follow the old tried and true model of an HTML table that 
 displays data, a link to edit that goes to a form, etc.  Inline editing would 
 work great for a lot of these screens, so a grid-based format seems ideal.


 Has anyone had any great success with moving away from the old-school 
 approach to something a little more modern?

 I'm on a dual-core box with 2 gigs of ram, which might be a tad higher than 
 I'd expect from our users.  I'm looking for something that does what I need 
 it to do but without that clunky feeling.


 Am I just not customizing CFGRID well enough, or am I on to something you've 
 realized as well?

 TIA :) 

 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333506
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Using CKEditor with CF8

2010-04-20 Thread Cutter (ColdFusion)

Quick Google on this brought up a few links that might be helpful:

http://ajithmanmadhan.wordpress.com/2009/12/16/customizing-ckeditor-and-adding-a-new-toolbar-button/
 
(CF ref in the text)
http://cksource.com/forums/viewtopic.php?f=10t=16602 (read through the 
comments)

Steve Cutter Blades
Adobe Community Professional - ColdFusion
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com



Thane Sherrington wrote:
 Hi All,
   Does anyone have an example of using CKEditor with CF8?  I can't 
 find documentation on doing this, and I'm trying to make the switch 
 from FCKEditor.

 Thanks,

 T



 

~|
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:333030
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CF9 + W2k8 Migration

2010-04-12 Thread Cutter (ColdFusion)

We are considering moving from CF8 on 32-bit Windows 2003 to 64-bit CF9 
on Windows 2008. Anyone who has experience with this, if you could 
please give me your feedback on any issues you may have dealt with, 
hurdles you crossed, and gotchas that slowed your progress.

-- 
Steve Cutter Blades
Adobe Community Professional - ColdFusion
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.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:332836
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Easy application question

2010-04-12 Thread Cutter (ColdFusion)

Barney,

Not to pick a fight, but what problems do you see with using 
Application.cfc? I, personally, find it to be a much better solution, so 
I am curious about your misgivings...

Steve Cutter Blades
Adobe Community Professional - ColdFusion
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com



Barney Boisvert wrote:
 Only a single Application.cfm file (note the capital 'A') will be run
 for a single request.  CF will look up the directory tree until it
 finds one, but it will stop it's search at the first one encountered.
 If you want to chain Application.cfm files as you propose, simply use
 CFINCLUDE to grab the parent one:

 cfinclude template=../Application.cfm /

 Unfortunately, Application.cfc is becoming a requirement for building
 CF applications, so you should switch to that.  It has a host of
 problems, but it's also the only way to get certain functionality with
 CF (ORM, default datasource, code-based mappings, etc.).  Hopefully
 Adobe will change that, but it seems unlikely.  Railo, by contrast,
 lets you use the full functionality without forcing you into
 Application.cfc and all the problems it provides.

 cheers,
 barneyb

 On Mon, Apr 12, 2010 at 7:01 AM, Brian Bradley bbrad...@plrb.org wrote:
   
 I think I misunderstand how to use application.cfm files.  I have a 
 application.cfm file on the root and I set a group of session variables.  I 
 have a folder off the root named products with an application.cfm file in 
 it.  It was my understanding that the root application.cfm would take 
 precedence to the subfolder's application.cfm and could share variables to 
 the application.cfm like it could any page in that folder.  But when I call 
 a variable in the sub application.cfm file to the higher level 
 application.cfm, I get variable is undefined error.  Is that just not 
 possible to share variables among application.cfm files even if they are 
 hierarchically below a higher application.cfm file or am I doing something 
 else wrong?


 

 

~|
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:332841
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Joni Mitchell and Cold Fusion

2010-04-08 Thread Cutter (ColdFusion)

Amazon S3 for the storage, and Amazon CloudFront for CDN delivery. 
That's the ticket...

Steve Cutter Blades
Adobe Community Professional - ColdFusion
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com



b...@bradwood.com wrote:
 The site seems pretty snappy to me.  I'd bet you are taking too much
 bandwidth with the media downloads.  If that truly is the problem, see
 if you can pay more for additional bandwidth, or most all the large
 media to an Amazon S3 bucket.  They charge peanuts.

 ~Brad


  Original Message 
 Subject: Joni Mitchell and Cold Fusion
 From: Les Irvin les.cft...@gmail.com
 Date: Wed, April 07, 2010 3:22 pm
 To: cf-talk cf-talk@houseoffusion.com


 Help me, I think I'm falling... here's an odd request for a certain
 individual. Joni's official site is hosted on a GoDaddy server (don't
 ask) running CF8. They keep shutting it down for overloading the
 server - asking me to streamline the code to avoid continued
 violations. 


 

~|
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:332758
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: FileExists using variable - not working

2010-04-08 Thread Cutter (ColdFusion)

We use this all over, though you don't need the hash marks.

Steve Cutter Blades
Adobe Community Professional - ColdFusion
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com



Fred Grainger wrote:
 Ok - I'm about to pull my hair out.

 I am using fileexists() function to determine whether a image file exists on 
 the server. When I type in the path it works fine, but when I use a variable 
 it always returns false.

 My code is like this:

 cfset variables.ImageSource = C:\somedirectoy\somefile.txt

 cfif FileExists(#variables.ImageSource#)
 do something
 cfelse
 do something else
 /cfif

 The variable works everywhere else in the code. I am outputting it to the 
 browser and have double triple checked to make sure the variable value is 
 correct.

 I've been working on this a day and a half and cannot get it to work.

 HELP! 

 

~|
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:332775
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Prevent Cross-Site Scripting in ColdFusion 5

2010-03-02 Thread Cutter (ColdFusion)

Have you checked CFLib.org yet? Great collection of UDF's. Maybe 
something there that can help you.

Steve Cutter Blades
Adobe Community Professional - ColdFusion
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com



Donnie Carvajal wrote:
 I have an app that is written in ColdFusion 5 and there are several places in 
 the app where CGI.query_string is used to set the query string on the href of 
 an anchor tag.  I need a clean way to scrub the CGI.query_string variable.  I 
 can't use URLEncodedFormat because all of the ampersands and equal signs will 
 be encoded and then there won't be any query string variables.  I can't use 
 the application.scriptProtect variable because the app is in ColdFusion 5 and 
 it can't be upgrade to any version of ColdFusion MX without some major work 
 to fix errors.  Does anyone know of a UDF, custom tag, CFX, etc. that I can 
 use.

 Thanks,

 Donnie 

 

~|
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:331271
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Is it possible for a ColdFusion web service method to return an object?

2010-01-06 Thread Cutter (ColdFusion)

I don't have a ton of experience with web services, but I would think 
the answer is no. Web services generally return string representations 
of data, either in the form of XML or JSON. You could use something like 
cfajaxproxy to create a js proxy object to a cfc, but even then you 
would need to be careful in how your cfc is crafted, and what methods 
are set for remote access, managing security, etc.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com



Ian Skinner wrote:
 I am experimenting to see if it is possible for a ColdFusion web service 
 method to somehow return another object of some sort.  I am not having 
 any luck with either my code or searching Google, but I wanted to ask 
 before I gave this up as impossible.

   My last experiment looked something like this:

 *webservice-test.cfm*

 cfset testObj = createObject(component,webservice)

 |cfoutput#testObj.getID()#/cfoutputhr /
 cfoutput#testObj.getObj().myFunction(george)#/cfoutputhr /
 cfdump var=#testObj.getObj()#hr /
 cfdump var=#testObj#

 cfset testWS = 
 createObject(webservice,http://localhost/webservice.cfc?wsdl;)

 cfoutput#testWS.getID()#/cfoutputhr /
 cfdump var=#testWS.getObj()#hr /
 cfdump var=#testWS#
 |

 *webservice.cfc*

 |cfcomponent
  cfproperty name=ID default=10 type=numeric
cfproperty name=obj type=webservice2

cfset variables.ID = 12
cfset variables.obj = createObject(component,webservice2)

cffunction name=getID access=remote returntype=numeric
cfreturn variables.ID
/cffunction

cffunction name=getObj access=remote returntype=webservice2
cfreturn variables.obj
/cffunction
 /cfcomponent
 |

 *webservice2.cfc*

 |cfcomponent
  cffunction name=myFunction access=remote returntype=string
  cfargument name=myArgument type=string required=yes
  cfset myResult=arguments.myArgument
  cfreturn myResult
  /cffunction
 /cfcomponent
 |

 The top portion of the code that access the nested components locally 
 works exactly as expected.

 The lower portion of the first file that accesses the nested components 
 as a web service produce an empty string for the method that is supposed 
 to reference the second cfc file.  Is that what happens if one tries to 
 nest objects in a web service, or am I doing something wrong.



 

~|
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:329443
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: C:\ColdFusion8\Mail\Spool

2009-12-08 Thread Cutter (ColdFusion)

See if this might help you:

http://blog.cutterscrossing.com/index.cfm/2006/12/10/ColdFusion-Mail-Spool-Lock

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com



John M Bliss wrote:
 So this AM, my production server had not sent me my usual batch of emails
 (via cfmail).  I went to Server Settings  Mail, checked Verify mail server
 connection, clicked Submit Changes, and received Connection Verification
 Successful.  I stopped and restarted my SMTP server and then noticed that
 email I was expecting to receive was sitting in C:\ColdFusion8\Mail\Spool.
 I stopped and restarted the CF server (CF 8 with CHF 4) and now all of the
 mail is being delivered.

 Is this a fluke?  Known issue?  Anything I can do to prevent it from
 recurring?

 Thanks!

   


~|
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:328948
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cfc not returning results to CFSLELCT

2009-11-25 Thread Cutter (ColdFusion)

In your test, I would structure the URL as:

http://www.mysite.com/admin/email/art.cfc?method=getGROUPSreturnFormat=JSON[whatever
 
name value pairs you need for your method]

Otherwise, hitting the component direct, without a query string, would 
try to load the component browser/javadoc layout of the component. It 
may be a permissions issue you are having.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com



Les Mizzell wrote:
 I've got a group of CFSELECTS that were working before a site moved, but 
 now, not. Nothing is being returned to the CFSELECTS

 cfselect name=theCATS
id=theCATS
bind=cfc:art.getCATS()
bindonload=yes
option value=0Select a Category/option
   /cfselect

 cfselect name=sendGROUP
id=sendGROUP
bind=cfc:art.getGROUPS({theCATS})
bindattribute=HTML
queryPosition=Below
option value=0Select a Group/option
/cfselect



 If I try to access the cfc directly in the browser:
 http://www.mysite.com/admin/email/art.cfc

 I get an error:
 File not found: /CFIDE/componentutils/cfcexplorer.cfc


 Checking the CFADMIN, file path is defined:
 C:\inetpub\wwwroot\CFIDE

 Checking the files, the path is correct.

 Ideas? Not sure what to try next...


 __ Information from ESET NOD32 Antivirus, version of virus signature 
 database 4635 (20091125) __

 The message was checked by ESET NOD32 Antivirus.

 http://www.eset.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:328662
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfgrid

2009-11-23 Thread Cutter (ColdFusion)

Ah, yes. But, a complete ExtJs solution would be much more...

OK, that (not) said, cfgrid does have problems with multiple insertions. 
Or, rather, it doesn't really deal with them well. When you insert a 
line, it gives the underlying Ext store record some default values. This 
includes the id, which could be either '0' or empty. Once you've posted 
back to the server, if you haven't updated that record with the id given 
at the server level, then the next time you attempt to insert a line...

Well, you get the idea. What you might do is reload the data store after 
inserting to the server. This does hit the server again to reload your 
grid, but it also ensures correct data after it re-renders. Check out 
the Ext.grid.GridPanel and Ext.data.Store API's on the ExtJs site for 
more information.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com



Won Lee wrote:
 Using CF9 Developer edition
 version 9. 0. 0. 251028

 Anyone else have issues with trying to insert more than one row in cfgrid?

 cfquery name=getOutcome datasource=#application.dsn#
  select * from l_outcomes
 /cfquery
 cfquery name=getSerious datasource=#application.dsn#
  select * from l_serious_criteria
 /cfquery
 cfset variables.outcome = valuelist(getOutcome.outcome)
 cfset variables.serious = valuelist(getSerious.serious_criteria)
 cfform name=event_form action=event_action.cfm method=post
  cfgrid format=html name=event selectmode=edit insert=yes
 delete=yes
   cfgridcolumn name=reported_terms header=Reported Terms
   cfgridcolumn name=onset_date header=Onset Date type=date
 mask=dMY
   cfgridcolumn name=outcome header=Outcome values=#variables.outcome#
 valuesdisplay=#variables.outcome# select=true
   cfgridcolumn name=abated_date header=Abated Date type=date
 mask=dMY
   cfgridcolumn name=serious_criteria header=Serious Criteria
 values=#variables.serious# valuesdisplay=#variables.serious#
 select=true  width=600
  /cfgrid
 /cfform

 I rather not have to build out all the ext for a new grid.


 

~|
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:328620
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfgrid

2009-11-23 Thread Cutter (ColdFusion)

Right on the money! Man, that sounds so much easier than what I wrote ;)

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com



Won Lee wrote:
 NVM.  I just reread your post and realized what you were trying to teach me.

 Basically,

 The user types data into the first row.  I put that row into the DB.  Update
 the datastore.  Reload the Grid.  then the user can click on insert again
 and a new row will be appended to the grid.  Repeat as many times as
 necessary.

 Thanks for the help.


 

~|
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:328627
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: JDK patch testing

2009-11-16 Thread Cutter (ColdFusion)

I would *ALWAYS* test system patches in development and staging, prior 
to putting them in production. Load Balance testing in staging is a must 
during this as well.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 11/16/2009 12:02 PM, Raymond Chiu wrote:
 A JDK patch boogered up our Coldfusion site.

 Is there a regression test out there that will exercise the JDK to determine 
 any shortcomings created by a JDK patch?



 

~|
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:328432
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Any recommandation for a command line video converter?

2009-11-11 Thread Cutter (ColdFusion)

FFMpeg?

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 11/11/2009 9:47 AM, Claude Schneegans wrote:
 Hi,

 Can any one recommand a good command line video converter for Windows
 that could
 - be executed from ColdFusion (any command line converter should do it)
 - convert to FLV Flash format;
 - retrieve metadata from input file like duration, original width and
 height;
 - extract thumbnail images;
 - reasonable price ie below 300$

 So far, the best candidate seems to be Total Video Converter Command line,
 http://www.effectmatrix.com/total-video-converter-command-line/help.htm#cmdlineParam
 but $386 seems just a bit excessive to me

 Thanks

 

~|
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:328265
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Solution for Flash videos needed

2009-11-10 Thread Cutter (ColdFusion)

See this message thread for info on how to get meta content from flash

http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327231

I would think (but I could be wrong) that it also applies to flv format.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 11/9/2009 6:07 PM, Jordan Michaels wrote:
 Hmm... that's an unusual request. Usually you want a video to conform to
 your site's design.

 That said, you *might* be able to do it with FFMPEG. FFMPEG can do a LOT
 of things, plus, this grid says FFMPEG can read FLV files:

 http://ffmpeg.org/general.html#SEC4

 Get the size however I'm not sure. I haven't had a reason to work
 with that sort of thing, so I've never researched it. You'll have to dig
 around a bit to find out.

 Hope this helps.

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


 Claude Schneegans wrote:

   OpenBD uses FlowPlayer, which is actually pretty slick:

 Pretty clean and simple indeed.
 And the domain name unlimited licence is most convenient also.

 Just one question: do you know if it is possible to get the actual width
 and height from the flv file
 in order to adapt the size of the viewer accordingly ?


  
 

~|
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:328174
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 LiveDocs

2009-11-09 Thread Cutter (ColdFusion)

CF 8 docs in FF appear to be hosed, while the 9 docs, and the 7 docs, 
came up with no problem

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 11/9/2009 3:42 PM, Steve Keator wrote:
 Anyone else having a problem accessing them besides me?  Two computers /
 OS'es and 4 different browsers later, I'm still having an issue.



 Any thoughts?



 

~|
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:328148
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: javascript and coldfusion

2009-10-20 Thread Cutter (ColdFusion)

I find it best to use ExtJs, for a number of reasons. One, it's bundled 
in ColdFusion, and I can rapidly prototype applications (using the 
cfajax tags), then build out full featured apps that directly resemble 
the prototypes. Licensing is not an issue, as we are licensed the use of 
the library with the server. It is also the largest (that I know of) 
consistent library of components available. What that means is that, 
aside from being a very large library of client side components, the 
internal make up and methods of those components are consistent as well, 
making it easy to code and manage because the objects and method calls 
maintain familiarity between each other. (not sure if I explained that 
well, but hopefully you get what I mean). It is also very easy to write 
one's own user extensions to the library, creating your own reusable set 
of components for specific tasks.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 10/20/2009 8:54 AM, Richard White wrote:
 Hi,

 we are doing a review of the best javascript components libraries to use with 
 coldfusion, e.g. jquery, extjs, dhtmlx, etc...

 what are your experiences of the above and others?

 thanks

 richard

 

~|
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:327370
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Shift from a single developer team to a multiple developer team

2009-10-20 Thread Cutter (ColdFusion)

There are several things that I would suggest, in moving from a single 
developer to team development dynamic:

Source Control is critical (personal pref - VSS doesn't cut it, go to 
SVN or Git)
Developers should/must setup/maintain their own development environments
Development and initial testing should be done locally (on user's 
desktop), QA and final testing on a centralized staging server, then 
finally deploy to production
Local, Staging, and Production environments should match each other as 
closely as possible
Establish a good set of Coding Guidelines, that everyone on the team 
must follow going forward
Write standardized naming conventions (in your Coding Guidelines) of 
variables, directory and file structure, db architecture, HTML id's and 
classes, etc.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 10/20/2009 8:13 AM, Eric Cobb wrote:
 A friend of mine originally asked this question on LinkedIn's ColdFusion
 Programmers group but didn't get much response, so I told him I would
 post it here to see what you guys thought.  His original post can be
 seen here: http://bit.ly/4aJjes

 Here's his post:

 I have been the primary developer on an application for a number of
 years and we have recently gotten the additional resources to bring on 3
 more programmers.

 I am excited and terrified. We have a Visual Source Safe environment set
 up for file sharing management, but I am curious if anyone has made this
 transition and has any tips for how to head off issues down the road.

 The application is somewhat modular, but certainly not to an object
 oriented extent. I am no project manager and am fearful that without
 proper planning we are going to be stepping on each other's toes an
 awful lot. 





~|
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:327372
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: javascript and coldfusion

2009-10-20 Thread Cutter (ColdFusion)

Especially since ExtJs started out as an 'extension' of YUI ;)

And (and I'm not knockin JQuery) people should really look at ExtCore 
for basic DOM manipulation, ajax and effects...

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 10/20/2009 10:27 AM, James Holmes wrote:
 I'd cut two from that list; just use jQuery and ExtJS (with the jQuery
 connector).

 mxAjax / CFAjax docs and other useful articles:
 http://www.bifrost.com.au/blog/


 2009/10/20 Tony Bentleyt...@tonybentley.com:

 I would suggest using YUI, ExtJS, JQuery and Prototype. Each one has an 
 independent value that the others do not carry. For instance, when using the 
 CFAJAXPROXY, you are using the Prototype library. For UI windows, 
 navigation, etc you are using ExtJS. When building custom controllers or 
 doing your own DOM manipulation I would suggest JQuery for ease of typing 
 syntax. YUI is an alternative to JQuery. I have never used it but there are 
 enough apps built on the framework to make it a worthy option.
  
 

~|
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:327383
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Form validation question

2009-10-15 Thread Cutter (ColdFusion)

The JQuery Validate plugin has a method whereby, aside from any standard 
checks you put in place (not empty, alphanumeric only, etc), it will 
make an Ajax request and assign a field it's validation status based 
upon the Ajax status return.

http://bassistance.de/jquery-plugins/jquery-plugin-validation/

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 10/15/2009 2:05 PM, Les Irvin wrote:
 I'm working on a site where people register and choose their own
 username.  In the registration form I'd like to, onBlur from the
 username field, immediately check to see if that username is already
 in use and if so, trigger an alert that returns them to the field.

 What's the best way to do this?

 Thanks in advance for any help.
 Les

 

~|
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:327259
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 9 + EC2

2009-10-08 Thread Cutter (ColdFusion)

My understanding, from the MAX info, is that the EC2 implementation is 
still in private beta.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 10/8/2009 11:33 AM, Agha Mehdi wrote:
 So now that the new version is out, what are the steps to set it up in EC2
 (Amazon)? Anyone on this list working on it?


 

~|
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:327039
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 9 + EC2

2009-10-08 Thread Cutter (ColdFusion)

With the core product being ready, I'm kind of glad they took the 
marketing opportunity they had with MAX to push a new release to the 
masses. There next big marketing opp would not have had such a diverse 
audience, and it would probably have been a year from now.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 10/8/2009 12:20 PM, Agha Mehdi wrote:
 hmmm. that sucks. they should've been ready with the AMI before the product
 launch.

 On Thu, Oct 8, 2009 at 9:38 AM, Cutter (ColdFusion)
 cold.fus...@cutterscrossing.com  wrote:


 My understanding, from the MAX info, is that the EC2 implementation is
 still in private beta.

 Steve Cutter Blades
 Adobe Certified Professional
 Advanced Macromedia ColdFusion MX 7 Developer

 Co-Author of Learning Ext JS
 http://www.packtpub.com/learning-ext-js/book
 _
 http://blog.cutterscrossing.com


 On 10/8/2009 11:33 AM, Agha Mehdi wrote:
  
 So now that the new version is out, what are the steps to set it up in

 EC2
  
 (Amazon)? Anyone on this list working on it?





  
 

~|
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:327041
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Formatting data in AJAX CFGRID

2009-10-05 Thread Cutter (ColdFusion)

The first step is to add a custom cell renderer to a column. Take a look 
at this post for info on that:

http://blog.cutterscrossing.com/index.cfm/2007/11/30/CF8-Ajax-Grid-Renderers-and-Events

Then, you'll want to tap into the underlying Ext library. Take a look at 
the ExtJs 1.1 API, and specifically find the Ext.util.Format class.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 10/5/2009 9:35 AM, Pete Ruckelshaus wrote:
 I'm using an Ajax CFGRID control and I'm looking for a way to format some of
 the numeric content.  The current content is something like
 38.33 and I'd like to shorten it to a number format along the
 lines of 38.33 (i.e. only 2 decimal places).  How might I accomplish this?
 Next up, I'd like to make it so that I can click on a column in my grid and
 have it open a CFWINDOW containing specific content.  Is this possible?

 Thanks,

 Pete


 

~|
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:326901
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Issue converting to Application.cfc from Application.cfm having UDF's

2009-09-23 Thread Cutter (ColdFusion)

Why don't you just but your UDF's in your Application.cfc directly? Then 
those functions are automatically available from anywhere within your 
Application.cfc. Otherwise, I would put those functions within a utility 
cfc, which you could place in an APPLICATION scoped variable inside your 
onApplicationStart() method, which you could then access from anywhere 
within your application. Either method should force you to re-evaluate 
how you set and reset your scope variables, and you will probably find 
better ways of doing these things than you may have used in the past.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 9/23/2009 6:36 AM, SANJEEV SINGLA wrote:
 I need help in converting application.cfm to application.cfc. I have
 few functions defined in my current application.cfm, out of which few
 are called within application.cfm only.

 One of the function I have in my application.cfm is like as below:

cffunction name=loadAppCFC access=public displayname=Load CFC
 module hint=Load CFCs into the application scope
cfargument name=ObjectName REQUIRED=Yes
 TYPE=variableName
cfargument name=LocalName type=variableName
 default=#Arguments.ObjectName#
cfargument name=Reload type=string default=n

cfif Arguments.Reload eq y OR NOT IsDefined
 (Application.Obj.#Arguments.ObjectName#) OR ISDefined
 (Application.CFCReload.#Arguments.ObjectName#)
 CFTRACE text=Reloading cfc object #Arguments.ObjectName#
 - #ISDefined('Application.CFCReload.#Arguments.ObjectName#')#
 cflock timeout=5 throwontimeout=Yes
 name=#Arguments.ObjectName# type=EXCLUSIVE
 cfobject name=Application.Obj.#Arguments.LocalName#
 component=\CMP\#Arguments.ObjectName#
 CFIF IsDefined(Application.CFCReload)
 cfset StructDelete(Application.CFCReload,
 Arguments.ObjectName, True)
 /CFIF
 /cflock
/cfif
cfset Variables[Arguments.LocalName] = evaluate
 (Application.Obj.#Arguments.LocalName#)
 /cffunction

 In my Application.cfm loadAppCFC is used  as below:

 CFSET loadAppCFC(comUDF, comUDF,
 Application.ini.debug.ReloadObjects)

  comUDF is again a CFC file containg UDF's.

 Now when I am converting the code to application.cfc I inlcuded
 onApplicationStart, OnSessionStart and OnRequest events. I separated
 all the udf's into one file (all_udf.cfm) and I am including them as
 below:

 cffunction name=onRequest
 cfargument name=targetPage type=string required=yes
 cfinclude template=all_udf.cfm
 cfinclude template=#targetPage#
 /cffunction

 I also included that file under onApplicationStart as below:
 cffunction name=onApplicationStart returntype=boolean
 cfinclude template=all_udf.cfm



 But I am still getting the error as COMUDF is undefined. Please see
 if anyone can provide any pointers in this regard..


 Thanks!
 Sanjeev Singla

 

~|
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:326535
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfform Flash and value

2009-09-10 Thread Cutter (ColdFusion)

Phillip,

To prepopulate the form elements of the Flash Form, you'd have to use 
the 'value' attribute of your various form tags:

cfinput type=text name=FirstName value=#REQUEST.myQuery.FirstName# /

You cannot use JavaScript to populate or validate a Flash Form. You can 
use ActionScript to validate a Flash Form, as outlined in this post from 
Ray:

http://www.coldfusionjedi.com/index.cfm/2005/9/20/Ask-a-Jedi-Flash-Form-Custom-Validation

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 9/9/2009 11:21 PM, Phillip Vector wrote:
 I get that value is not a part of the cfinput if the cfform is set to flash.

 So how do I populate the form with the values from the query I have set up?

 Right now, I have..

   cfform format=flash width=100% height=300 
 method=post
 action=#myself#CalendarAdmin.UpdateInfo
   cfformgroup type=tabnavigator
   cfformgroup type=page label=Main 
 Information
   cfinput label=Notes: 
 name=Note type=text required=false
 message= id=Note size=50 value=#AllConventions.Note# /
   /cfformgroup
   /cfformgroup
   /cfform

 A cfdump shows AllConventions has 1 record. So how do I prepopulate the field?

 

~|
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:326191
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfform Flash and value

2009-09-10 Thread Cutter (ColdFusion)

Hmmm. Yeah, I missed that part of your email. Sorry about that.

If the query has a record, then I would think your use case would work. 
Did you dump it prior to the form? Is the form in a cfoutput statement? 
I'd like to help, but honestly I never use cfform in anything other than 
rapid prototyping, and even then I never use the 'flash' type form.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 9/10/2009 9:00 AM, Phillip Vector wrote:
 On Thu, Sep 10, 2009 at 6:57 AM, Cutter (ColdFusion)
 cold.fus...@cutterscrossing.com  wrote:

 To prepopulate the form elements of the Flash Form, you'd have to use
 the 'value' attribute of your various form tags:

 cfinput type=text name=FirstName value=#REQUEST.myQuery.FirstName# /
  
 Umm.. How is that different from..

 cfinput label=Notes: name=Note type=text required=false
 message= id=Note size=50 value=#AllConventions.Note# /

 I don't see anywhere that I'm using javascript to populate the fields.
 AllConventions is the name of the query and Note is a column in said
 query.

 

~|
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:326193
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cfform Flash and value

2009-09-10 Thread Cutter (ColdFusion)

One other thing. Did you view source for the page? Are your values 
getting passed in to the call to create the Flash movie?

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 9/10/2009 9:00 AM, Phillip Vector wrote:
 On Thu, Sep 10, 2009 at 6:57 AM, Cutter (ColdFusion)
 cold.fus...@cutterscrossing.com  wrote:

 To prepopulate the form elements of the Flash Form, you'd have to use
 the 'value' attribute of your various form tags:

 cfinput type=text name=FirstName value=#REQUEST.myQuery.FirstName# /
  
 Umm.. How is that different from..

 cfinput label=Notes: name=Note type=text required=false
 message= id=Note size=50 value=#AllConventions.Note# /

 I don't see anywhere that I'm using javascript to populate the fields.
 AllConventions is the name of the query and Note is a column in said
 query.

 

~|
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:326195
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfform Flash and value

2009-09-10 Thread Cutter (ColdFusion)

If you don't see something like name/value pairs, for the fields and 
your values, in the source as flashvars in the object creation call, 
then I can't see how it would ever load your data.

UPDATE: I just checked cfquickdocs, and discovered the following 
information regarding the 'value' attribute of cfinput, in conjuction 
with the 'flash' cfform type:

'Flash: optional; specifies text for button type inputs: button, submit, 
and image.'

That seems to suggest that you would *not* be able to set the value of 
the field of a Flash Form (it says, basically, the HTML works as expected).

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 9/10/2009 9:18 AM, Phillip Vector wrote:
 I'm not sure..

 It just shows the flash player being loaded in the source.

 On Thu, Sep 10, 2009 at 7:10 AM, Cutter (ColdFusion)
 cold.fus...@cutterscrossing.com  wrote:

 One other thing. Did you view source for the page? Are your values
 getting passed in to the call to create the Flash movie?

 Steve Cutter Blades
 Adobe Certified Professional
 Advanced Macromedia ColdFusion MX 7 Developer

 Co-Author of Learning Ext JS
 http://www.packtpub.com/learning-ext-js/book
 _
 http://blog.cutterscrossing.com


 On 9/10/2009 9:00 AM, Phillip Vector wrote:
  
 On Thu, Sep 10, 2009 at 6:57 AM, Cutter (ColdFusion)
 cold.fus...@cutterscrossing.comwrote:


 To prepopulate the form elements of the Flash Form, you'd have to use
 the 'value' attribute of your various form tags:

 cfinput type=text name=FirstName value=#REQUEST.myQuery.FirstName# 
 /

  
 Umm.. How is that different from..

 cfinput label=Notes: name=Note type=text required=false
 message= id=Note size=50 value=#AllConventions.Note# /

 I don't see anywhere that I'm using javascript to populate the fields.
 AllConventions is the name of the query and Note is a column in said
 query.




  
 

~|
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:326199
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Security on CF8 Ajax Request

2009-09-08 Thread Cutter (ColdFusion)

I would suggest watching Simon Free's excellent presentation on Creating

Public Facing API's, which would apply to Ajax applications, Flex and
Flash based applications, AIR applications, and more. He presented this
to the Nashville CFUG a while back, and I seem to remember some very
nice ideas around ensuring security of your data access.

https://admin.adobe.acrobat.com/_a17673838/p90858137/

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.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:326100
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Automated posting to Facebook, Twitter, and MySpace

2009-08-31 Thread Cutter (ColdFusion)

Mike,

I won't tell you It's dead simple, as dealing with any outside API can 
have it's quirks. That being said, a quick search of RIAForge, for both 
'Twitter' and 'Facebook', brings up multiple results for ColdFusion and 
AS3 bits for interoperating with those services. It does not bring up 
anything for 'MySpace', since so few actually want to touch it (I 
guess), but MySpace is written on top of ColdFusion, even if it is the 
ASP/ColdFusion mix that BlueDragon allows. A quick look at their site 
does show a 'Developers' section, for their 'MySpace Open Platform'.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 8/31/2009 2:07 AM, Mike Kear wrote:
 I have an association with a group of musicians (by that I mean
 several hundred bands,  not just 5 musicians) who have a need to
 automate their web sites.   They spend a lot of time updating bios,
 entering gig dates,  uploading song samples etc,  and having to do it
 several times to their name web sites, face book, myspace,  CD
 outlets, radio publicity sites etc.There is a need to automate a
 lot of the work.

 For this, I would anticipate needing to send data automatically to the
 musicians'  Facebook, Twitter, and MySpace accounts amongst other
 places.  Has anyone done that?   Can anyone help me with some
 first-hand experience?  (I dont need links to Facebook Twitter and
 MySpace help resources - i've already done that - i'm interested in
 teh REAL story - is it as easy as they say for CF to talk to them?)

 (sidenote:   I ask this question because I learned a valuable lesson
 years ago,  the first time i tried to set up online CreditCard
 processing on a site - the help files from the Australian Commonwealth
 Bank made it all look a piece of cake,  about an hour's work at most,
 and not very hard work at that.  When i actually came to do the work
 though,  the alarm bells rang when i phoned up to set up the service,
 I had to pay $385 for them to tell me that ColdFusion is only a minor
 technology and we don't support it.   The project went downhill from
 there, getting harder every time i asked a question.   It's not like
 that nowadays but i had learned a valuable lesson.So I always look
 for the 'gotcha' on these things now.  I want to see if anyone has
 actually done it or if they're only going by the optimistic spin in
 the help docs)



~|
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:325873
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: ColdFusion MX6.1: Using JavaScript with CFTREEITEM

2009-08-31 Thread Cutter (ColdFusion)

Sanjeev,

Forgive me if my memory is faulty (6.1 is a little dated), but isn't the 
cftree implementation in 6.1 a Java Applet? You might want to look at 
ExtJs. I know that the ColdExt project supports the ExtJs based Tree.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 8/31/2009 7:10 AM, SANJEEV SINGLA wrote:
 Hi All,

 I am using ColdFusion MX6.1 and want to build hirearchial tree using cftree 
 and cftrritem. The problem I am facing is that upon click of the nodes (child 
 nodes only not folders) I want to have some functionality.

 I am trying to usecftreeitem href=javacript .. . But its not getting 
 executed. I am also not sure with CFMX 6.1 whether href=javascript is 
 supported or not.

 If there any pointers in this regard , please help me out. I am kindda struck.

 Thanks!
 Sanjeev

 

~|
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:325874
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: submit one big form post of all tabs

2009-08-28 Thread Cutter (ColdFusion)

I can't see why you wouldn't be able to. The tabs are an implementation 
of ExtJs 1.1, and I've done it with that. As long as the tab container 
is wrapped in your opening and closing form tags, and you aren't 
remotely populating the tab contents (via an ajax load) then it should 
be possible.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 8/28/2009 7:57 AM, Glyn Jackson wrote:
  I see, never mind back to the drawing board. thanks.

  

~|
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:325834
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Cfemail issue(s)

2009-08-27 Thread Cutter (ColdFusion)

See if this post helps you any:

http://blog.cutterscrossing.com/index.cfm/2006/12/10/ColdFusion-Mail-Spool-Lock

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 8/27/2009 9:55 AM, Victor Moore wrote:
 Hi all,

 I have a couple of issues with cfmail.
 Environment: Windows 2003, CF8.01 ent

 The server stopped sending emails
 After checking the logs .I found out that it stopped after complaining
 that one email had Invalid Address which is strange because I check
 all emails using isEmail () before sending and I looked at all the
 emails in the spool directory and none have any bad email
 addresses.The one that CF was complaining about had 500 email
 addresses but all are valid.
 After that, no emails are sent out. They just sit in the spool
 directory. I have tried to move them in and out, play with CF admin
 mail settings but no luck.
 Somehow the original message caused CF server to ignore mail messages
 in the spool directory.
 So my questions are:

 Is it possible to re-send the emails, short of restarting CF?
 Second why would an email fail with Invalid address if all the emails
 are valid email addresses.
 Third, why will that error cause CF server to black out and stop
 sending emails (even if after I have manually removed the so called
 offending email with Invalid Address)

 Thanks
 Victor

 

~|
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:325774
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Cfemail issue(s)

2009-08-27 Thread Cutter (ColdFusion)

One of my co-workers, Andy Matthews, wrote an app for that:

http://undelivrnator.riaforge.org/

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 8/27/2009 10:02 AM, Rick Root wrote:
 On Thu, Aug 27, 2009 at 10:55 AM, Victor Moorevictor.mo...@gmail.com  wrote:

 Is it possible to re-send the emails, short of restarting CF?
  
 I can't answer the other questions, but I don't know of any way to
 kick-start the mail spooler once it dies without restarting
 Coldfusion.

 This happens to use often enough where we have a process that monitors
 the spool directories and if it finds files older than a certain time,
 it will send us an alert that CF needs restarting due to a mail spool
 backup.




~|
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:325778
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: COM Ports

2009-08-26 Thread Cutter (ColdFusion)

Don't forget that he could also access a .NET object (CF 8 or higher) if 
he's on Windows. That would make more sense, on a Windows system, than 
going the Java route.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 8/26/2009 12:46 AM, I. Addoum. wrote:
 for all things communication , be it com port / blue tooth / parallel or USB
 I would start from

 for API docs
 http://java.sun.com/products/javacomm/

 and for some sample code
 http://today.java.net/pub/a/today/2004/07/27/bluetooth.html

 regards
 Bob




 
 From: Arsalan Tariq Keenarsalk...@hotmail.com
 To: cf-talkcf-talk@houseoffusion.com
 Sent: Wednesday, August 26, 2009 8:30:32 AM
 Subject: COM Ports


 Hi...
 can anyone tell me how I can access my machine's COM ports using coldfusion?
 I need to access me peripheral device attached on that port.


 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:325713
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Application.cfm to Application.cfc migration (Problems with Functions in Application.cfc)

2009-08-26 Thread Cutter (ColdFusion)

I would take your UDF's, put them into their own utility CFC, and load 
the CFC into the APPLICATION scope during onApplicationStart(). If you 
ever need to reload the CFC, you could always rerun your 
onApplicationStart() method.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 8/26/2009 5:24 AM, SANJEEV SINGLA wrote:
 Hi All,

 I am migrating from application.cfm to applicaton.cfc and have following 
 issues.


 In my application.cfm I have some statements like :

  CFSET loadAppCFC(comUDF, comUDF, 
 Application.ini.debug.ReloadObjects)

 The loadAppCFC method is defined within the Application.cfm itself. There are 
 few other functions which are defined in Application.cfm and are used in 
 Application.cfm (as above example.)

 Noe the comUDF is again a cfc which has many user defined functions which are 
 required on every page.

 The other methods defined directly in Application.cfm are also required to be 
 loaded for each page. While migrating to application.cfc I took all the 
 functions from Application.cfm and put it in one file. Then I inluded the 
 following event.

 cffunction name=onRequest
 cfargument name=targetPage type=String required=true/
 cfinclude template=all_udf.cfm
 cfinclude template=#arguments.targetPage#
 /cffunction

 But Still I get error as Variable COMUDF is undefined.. Not sure what's 
 happening. Please help.



 

~|
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:325719
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfgridcolumn dropping 0 zeros from string

2009-08-05 Thread Cutter (ColdFusion)

It'll do that. You'll have to apply a custom column renderer. There is 
an Ext.utils.format class, containing a numeric format function where 
you can set your format.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 8/5/2009 9:01 AM, Paul Ihrig wrote:
 i have a column in a cfgrid
 user can put either text or number
 like 1234.56
 if the enter 1234.50 the display removes the zero. so it look like 1234.5
 or if the string is 1234000 it displays 1234  there are also results that at
 like xc2000s and those are fine.

 cfgridcolumn name=ArtNr header=ArtNr mask=X type=string_nocase


 

~|
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:325217
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Form in CFWINDOW - currently CHEATING to get parent to refresh...

2009-08-03 Thread Cutter (ColdFusion)

Nicholas,

Using cfwindow, he is actually using a modal window for his edits, not a 
popup.

As his data is not in cfgrid, but a custom layout, my advice would be to 
contain all of the logic of that layout (including sql call for data) in 
it's own template. Use the Coldfusion.navigate previously mentioned to 
handle updating the db, then use the callback to call that template to 
update the region. JQuery would be a good option here.

-- 
Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.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:325178
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Dynamic External Javascript Sheet

2009-08-03 Thread Cutter (ColdFusion)

Although there are several really big advantages to an external 
'javascript' file being a static file, who said that your external file 
must end with .js? You can put a .cfm file in the src attribute of a 
script tag, serving a dynamic document through. Just make sure that the 
generated JavaScript is valid, and use the cfcontent tag to tell the 
browser that it's a javascript file.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 8/3/2009 1:52 PM, Asaf Peleg wrote:
 I'm looking for a way to attach an external javascript sheet that includes 
 dynamic coldfusion code.  Obviously, a ColdFusion file must end with the .cfm 
 extension to be processed by the server and as I have found out through 
 research an external javascript sheets needs to end with a .js extension.

 The reason I need to do this is because I have a javascript heavy page that 
 builds a separate dynamic javascript array for each user (for a user specific 
 chain-select).

 I came up with the idea of compiling all the javascript in acfsavecontent  
 and then writing that output to a specific .js file but I quickly realized 
 this would lead to race conditions if two users accessed the page at the same 
 time.

 There must be an elegant solution to this. Can anyone give me some advice?

 

~|
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:325187
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfgrid - data layout options vs some other method

2009-08-02 Thread Cutter (ColdFusion Related)

You can control the layout, by using custom column renderers, which 
you'll have to define after the fact. Here's a short post on creating 
your own custom column renderers:

http://blog.cutterscrossing.com/index.cfm/2007/11/30/CF8-Ajax-Grid-Renderers-and-Events

Les Mizzell wrote:
 If using cfgrid, is it possible to get the data layout to be anything 
 other than 1 database column = 1 grid column?

 For example, given fname, lname and address fields, can I stack stuff:

 lname, fname
 address
 city, state, zip

 Or can I only get
 lname | fname | address | city | state | zip


 ...and if I *can't* stack stuff, what's the next best cool way to get as 
 close to the editing options that cfgrid offers?

 

~|
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:325176
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: OT javascript

2009-07-30 Thread Cutter (ColdFusion)

Why would you have two selects with the same name? Radio Buttons? Sure. 
But not selects...

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 7/30/2009 10:19 AM, Chad Gray wrote:
 Say I have two select inputs on one page and they are named the same.

 select name=ID
 option value=Please Select/option
 option value=11/option
 /select

 select name=ID
 option value=Please Select/option
 option value=11/option
 /select

 I want to write javascript to check that both of these are not left blank or 
 in their default stage of Please Select.

 Can I do this in javascript ID[0] to get the value of the first one?

 var 
 ID=document.orderForm.ID[0]options[document.orderForm.ID[0].selectedIndex].value;
 var 
 ID2=document.orderForm.ID[1]options[document.orderForm.ID[1].selectedIndex].value;


 

~|
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:325120
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: current row number in cfgrid

2009-07-28 Thread Cutter (ColdFusion)

Near the top of your template:

cfset ajaxOnLoad(init) /

Then, within a JavaScript script block (preferrably within a document 
ready statement of some kind):

init = function(){
 var theGrid = ColdFusion.Grid.getGridObject('myGrid');

theGrid .on('cellclick',function(grid,rowIndex,columnIndex,event){
 // What do you want to do today?
});
}

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 7/28/2009 5:07 AM, RamaDevi Dobbala wrote:
 Hi frnds,

 how can i get current row number inside cfgrid , if any one know please tell .

 Rama

 

~|
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:325036
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cfgrid

2009-07-17 Thread Cutter (ColdFusion)

He would be better off using a custom column renderer, as Scott 
suggested. This would allow him to set other columns (such as 'State') 
to hidden, but they would be available should he want to sort the grid 
on those other columns.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.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:324648
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CF9 and Bolt in eWEEK

2009-07-17 Thread Cutter (ColdFusion)

Unfortunately Yoxos is building with Gallileo right now, and the CFB 
install doesn't appear to work properly with it.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 7/17/2009 8:45 AM, Gerald Guido wrote:
 t's still frustrating trying to track down various plug-ins, etc,

 sometimes.

 Eclipse reminds me Linux with all of its dependencies, which is why package
 managers are such a godsend.
 Which is also why I am rather partial to Yoxos on demand
 http://eclipsesource.com/en/yoxos/yoxos-ondemand/ It is like a package
 manager for Eclipse. It takes care of all the dependencies for you.  Not to
 mention one of the most bad ass web gui's I have seen to date.

 Check out the public profiles. There are some prebuilt installs for CF (with
 Mylyn even).

 G!

 On Fri, Jul 17, 2009 at 8:09 AM, Rick 
 Fairclothr...@whitestonemedia.comwrote:


 If you've never used Eclipse, Adobe wants you to
 be able to easily install CFB.

 That's a step in the right direction.  The world of Eclipse
 is confusing at first.  It's almost like build-your-own-software land
 compared to typical software installations.  It's still frustrating
 trying to track down various plug-ins, etc, sometimes.

 -Original Message-
 From: Dave Watts [mailto:dwa...@figleaf.com]
 Sent: Thursday, July 16, 2009 11:48 PM
 To: cf-talk
 Subject: Re: CF9 and Bolt in eWEEK


  
 So, choosing the install type of Standard ColdFusion Builder

 Installation
  
 ends up with Eclipse installed?  Either approach I take I end up with the
 same thing?  Eclipse first, then CFB...or CFB first and end up Eclipse
 anyway.

 Yes. You can either install CFB into your existing Eclipse toolchain,
 or you can let CFB install Eclipse for you.

  
 A little odd...

 It's not odd at all. If you've never used Eclipse, Adobe wants you to
 be able to easily install CFB. Just like Flex Builder, which also
 offers the same choice.

 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/

 Fig Leaf Software provides the highest caliber vendor-authorized
 instruction at our training centers in Washington DC, Atlanta,
 Chicago, Baltimore, Northern Virginia, or on-site at your location.
 Visit http://training.figleaf.com/ for more informatio




  

 

~|
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:324649
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CF9 and Bolt in eWEEK

2009-07-17 Thread Cutter (ColdFusion)

It was an issue with the Yoxos install, which has it's own custom update 
engine, that didn't like me installing the CFB plugin. Gave me an error 
every time I tried to pull up Eclipse, and immediately shut down. I've 
done a straight vanilla Gallileo install from the Eclipse site now, and 
have no issues.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.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:324653
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: uninstalling JRun4 from failed Coldfusion install.

2009-07-17 Thread Cutter (ColdFusion)

When uninstalling, I always stop the service first, uninstall, delete 
the directory from the c:\ drive, remove the service (command line) if 
it still extists, and restart the system, prior to doing additional stuff.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 7/17/2009 10:31 AM, Ian Skinner wrote:
 I tried to uninstall a failed developer edition ColdFusion 8.0.1 64bit 
 installation on a Windows Vista 64bit laptop.  This did not work cleanly and 
 JRun4 is still running as a service on the computer.  There are no ColdFusion 
 or JRun programs in the Windows Uninstall programs list.

 Can anybody point me to instructions on how to manually uninstall JRun4.  My 
 Google searching is failing me on this topic.

 

~|
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:324663
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CF9 and Bolt in eWEEK

2009-07-16 Thread Cutter (ColdFusion)

No, I don't think it is.

It ilooks to me as if there are large blocks of code, within ColdFusion 
Builder, that were written by Mark Drew (and it seems I have heard that 
somewhere). It stands to reason that they wouldn't interoperate, as 
ultimately they don't just have similar classes and functions, they are 
the same classes and functions. From what I can tell, ColdFusion Builder 
has every feature that CFEclipse has, plus more. But, we're talking two 
separate spaces here: ColdFusion Builder will presumably be a paid 
application, whereas CFEclipse is an open source application. Is there a 
need to use both simultaneously? No, I don't think so. The only reason I 
can (currently) see for switching back and forth is if you are also 
using the CFFrameworks or MxUnit tools (which are separate), and I'm 
sure someone will write CFB extensions to emulate that functionality.

If someone wrote a warning into the installer, and I'm not saying they 
haven't (though I haven't seen it), I can see where there's a very valid 
reason for doing so. It's not an attempt to push out the little guy, or 
put you in Adobe's black box. It would be a valid warning to let you 
(the user) know that you will probably have incompatibility issues that 
will compromise your productivity.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 7/16/2009 9:46 AM, Rick Faircloth wrote:
 By prepared, I meant that the statement was ready to be delivered
 upon even finding the installation of CFEclipse.

 Meaning that Adobe must have set up the installation process to look
 for a CFE installation and warn that the two could not be used together.

 i.echoose sides...we won't or can't play together on the same
 playground.

 How is my assessment inaccurate?


 -Original Message-
 From: Adrocknaphobia [mailto:adrocknapho...@gmail.com]
 Sent: Thursday, July 16, 2009 10:38 AM
 To: cf-talk
 Subject: Re: CF9 and Bolt in eWEEK


 Prepared statement? News to me. Can you point me to it?
 -Adam Lehman
 ColdFusion Project Manager
 Adobe Systems Inc

 On Wed, Jul 15, 2009 at 10:07 PM, Rick Faircloth
 r...@whitestonemedia.comwrote:


 Yeah, well, it certainly made me a little suspicious when there was a
 seemingly prepared statement ready to pounce on CFEclipse when its
 installation was detected.

 -Original Message-
 From: Dave Watts [mailto:dwa...@figleaf.com]
 Sent: Wednesday, July 15, 2009 9:11 PM
 To: cf-talk
 Subject: Re: CF9 and Bolt in eWEEK


  
 It could be that there are unavoidable, inherent conflicts between the
 two plug-ins...or it could be that the 500-lb Adobe gorilla is

 purposefully
  
 creating unnecessary incompatibilities in order to muscle out the
 competition...

 Given the likelihood of conflict between two Eclipse plugins that do
 the same thing, I don't think we need to ascribe malice to Adobe.

 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/

 Fig Leaf Software provides the highest caliber vendor-authorized
 instruction at our training centers in Washington DC, Atlanta,
 Chicago, Baltimore, Northern Virginia, or on-site at your location.
 Visit http://training.figleaf.com/ for more information!




  



 

~|
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:324590
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


SOT: Mango Blog

2009-07-15 Thread Cutter (ColdFusion Related)

Does anybody know anyone associated with Mango Blog? I tried signing up 
for their forums, which sends you an email to confirm, and never 
received the email. I even checked my spam filter. Now it won't let me 
sign in, because I haven't confirmed, and I can't recreate the profile, 
because they say it already exists.

If you know somebody, please forward my message. Thanks.

-- 
Steve 'Cutter' Blades
Adobe Certified Expert
Advanced Macromedia ColdFusion MX 7 Developer

http://blog.cutterscrossing.com

The best way to predict the future is to help create it



~|
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:324506
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: SOT: Mango Blog

2009-07-15 Thread Cutter (ColdFusion)

Thanks AJ

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 7/15/2009 9:26 AM, AJ Mercer wrote:
 Laura Arguello CCd

 2009/7/15 Cutter (ColdFusion Related)cold.fus...@cutterscrossing.com


 Does anybody know anyone associated with Mango Blog? I tried signing up
 for their forums, which sends you an email to confirm, and never
 received the email. I even checked my spam filter. Now it won't let me
 sign in, because I haven't confirmed, and I can't recreate the profile,
 because they say it already exists.

 If you know somebody, please forward my message. Thanks.

 --
 Steve 'Cutter' Blades
 Adobe Certified Expert
 Advanced Macromedia ColdFusion MX 7 Developer
 
 http://blog.cutterscrossing.com

 The best way to predict the future is to help create it




  

 

~|
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:324514
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CF9 and Bolt in eWEEK

2009-07-15 Thread Cutter (ColdFusion)

Personal experience has been that installing as a plugin, rather than as 
a standalone, has allowed me greater flexibility when I wanted to flesh 
out my environment by including subclipse, etc.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 7/15/2009 10:42 AM, Casey Dougall wrote:
 On Wed, Jul 15, 2009 at 11:35 AM, Rick Faircloth
 r...@whitestonemedia.comwrote:


 So, as far as you know, the stand-alone works exactly like the Eclipse
 plugin?

  


 Not exactly sure. Seems to be, but I was never a big eclipse user. Going to
 give this a shot though...


 

~|
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:324523
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: ssot: Ext window customization

2009-07-15 Thread Cutter (ColdFusion)

Don,

Create a cfwindow, view the source code, nail down the path to Adobe's 
css file, then include that css file in your project directly to 
match-up your view.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 7/15/2009 11:25 AM, LI, Chunshen (Don) wrote:
 I posted a gig to cf-jobs several days ago for an expert in Ext, got some 
 responses, however, none of them knows Ext and CSS truly well to do the job, 
 so, sorry have to bug this list for a bigger pool.  I am able to customize an 
 Ext window to some degree, however, I'm no expert in CSS, hence, to get it 
 done quickly I'd like someone who's extremely well versed in both Ext (2x) 
 and CSS to help me out for the little task of creating an Ext window that 
 resembles cf8 window, fair compensation is negotiable, if you meet the bill 
 shoot me an email don at yahoo do t com

 Thanks.




 

~|
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:324528
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Ext Js 3.0 Released

2009-07-10 Thread Cutter (ColdFusion Related)

Ext Js 3.0 is highlighted in the top section of their homepage right 
now. The separation of products is easiest found from the Products menu 
item on the site. They are separate products, though Core is at the core 
of Ext Js itself, with the rest of the library being built on top of it.

Themeroller does look very sharp. I'll have to drop a note to the Ext 
team to check it out. There are many themes available within the 
learning center and the forums, but nothing this tight to show you your 
options.

Judah McAuley wrote:
 I'll have to take a look at Ext again as well. We bought a license to
 get at svn a bit before the 3.0 beta release at the April conference.
 At that point, at least, there had been no substantial themeing
 changes and all that they were really releasing was Core. It isn't
 obvious from the site now if anything besides Core has been released.
 Perhaps it is just confusion though. When they released 3.0 Core, I
 expected there to be a follow up with 3.0 Other Bits. Have they rolled
 it back into one project? Is there no separation between Core
 and...other stuff?

 Do check out the themeroller for JQueryUI. You can do a lot of on the
 fly skinning for people with different color look/feels without having
 to change any images at all and that is huge for rolling out
 multi-customer websites.

 Judah

 On Thu, Jul 9, 2009 at 2:37 PM, Cutter
 (ColdFusion)cold.fus...@cutterscrossing.com wrote:
   
 You're looking at the wrong bits. Ext Core is the same thing as JQuery,
 a DOM manipulation and Ajax setup. Ext Js (full) would be the components
 (similar to JQueryUI, though more full featured).

 Theming does require a log of images. With the various controls we've
 customized, I know I've had to change about 30. Spket can help, doing
 the entire library, if you're theming only entails color differences.

 I've never seen (or heard) of the themeroller engine for JQueryUI. I'll
 take a look at it.

 Steve Cutter Blades
 Adobe Certified Professional
 Advanced Macromedia ColdFusion MX 7 Developer

 Co-Author of Learning Ext JS
 http://www.packtpub.com/learning-ext-js/book
 _
 http://blog.cutterscrossing.com


 On 7/9/2009 12:48 PM, Judah McAuley wrote:
 
 I'll take a look again but Ext Core did not seem to have much of
 anything in the way of themeing options that didn't still require 101
 images. And given that a lot of the widgets were pulled out of Ext
 Core and have yet to be upgraded..I'm dubious.

 JQuery UI has the themeroller engine. I'm still amazing impressed by
 it. I really love the way that Ext is engineered but until it has
 something similar to themeroller, it really isn't skinable in the
 way that people are going to expect.

 Judah

 On Thu, Jul 9, 2009 at 8:58 AM, Cutter
 (ColdFusion)cold.fus...@cutterscrossing.com  wrote:

   
 Theming is much easier, as they've broken down the CSS by component
 within the build files. There have been multiple themes available via
 the forums and learning center of the Ext site for quite a while, and
 the Spket IDE (http://www.spket.com/) has a custom theming tool built in
 as well.

 Steve Cutter Blades
 Adobe Certified Professional
 Advanced Macromedia ColdFusion MX 7 Developer

 Co-Author of Learning Ext JS
 http://www.packtpub.com/learning-ext-js/book
 _

 
   
 

 

~|
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:324421
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Using SWFOBJECT inside of a CFLAYOUT

2009-07-10 Thread Cutter (ColdFusion)

Check out 
http://extjs.com/forum/showthread.php?t=23983highlight=swfobject+flash 
http://extjs.com/forum/showthread.php?t=23983highlight=swfobject+flash

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 7/9/2009 9:21 PM, Abinidi Web Services wrote:
 I am trying to use the swfobject.js from google in a page that is loading a 
 flash swf file that is nested inside of a Cflayout/cflayoutarea. The page is 
 the source for the cflayoutarea.

 When I try to include the code to load the swfobject.js file in the page that 
 is nested:

 script type=text/javascript src=swfobject/swfobject.js/script

 It throws an error.

 If I try to include it in the parent page that has the cflayout code on it, 
 no error, but the swf file doesnt load.

 If I just make a test page not nested in the cflayout, it works fine.

 I am also doing:cfajaximport tags=cfwindow,cfform,cftooltip,cfdiv   on 
 the cflayout main page so it can load stuff for the nested source pages. This 
 is what it is having a conflict with.

 Basically I have:
 page1.cfm

 cflayout type=tab name=user_upload_layout tabposition=top

  cflayoutarea name=tab1 title=Image Uploads 
 source=page2.cfm?upld_folder=#upld_folder# 
 selected=#isDefined('url.tab1')#
   /cflayoutarea
cflayoutarea name=tab2 title=Upload via Zip file 
 source=page3.cfm?zip_folder=#zip_folder# selected=#isDefined('url.tab2')#
   /cflayoutarea
 /cflayout


 and on the page2.cfm I have:

   script type=text/javascript
  var params = {
  BGColor: ##FF
  };

  var attributes = {
  id: FlashFilesUpload,
  name: FlashFilesUpload
  };

  var flashvars = {
uploadUrl : upload_image.cfm,
customPostFields : foldername;#url.upld_folder#,
backgroundColor : ##FF
  };
  swfobject.embedSWF(uploader.swf, Upload_holder, 450, 350, 
 9.0.0, expressInstall.swf, flashvars, params, attributes);
 /script

   I need it to be able to call this function:

 swfobject.embedSWF but I cant get the js to load properly


 Does anyone know of a workaround to get this to work? Does CF8 have anything 
 built in that will do the same as swfobject and not conflict? Maybe im doing 
 it wrong?

 The main reason I'm doing this is the swf isn't working right if I use the 
 EMBED method of loading flash swf in firefox but it is working fine on the 
 test page if I use the swfobject. And its a 3rd party app with zero help.

 Thanks.

 

~|
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:324426
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Ext Js 3.0 Released

2009-07-09 Thread Cutter (ColdFusion)

Theming is much easier, as they've broken down the CSS by component 
within the build files. There have been multiple themes available via 
the forums and learning center of the Ext site for quite a while, and 
the Spket IDE (http://www.spket.com/) has a custom theming tool built in 
as well.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 7/9/2009 10:35 AM, Judah McAuley wrote:
 On Wed, Jul 8, 2009 at 8:19 PM, Cutter (ColdFusion
 Related)cold.fus...@cutterscrossing.com  wrote:

 Now, if we could just get packed js code in our template headers...;)
  

 And if only we could get real theming support in Ext so that it looked
 like the rest of our app...

 I know Jack has said that easier theming is coming and Jack does a
 heck of a job delivering on the promises he makes (usually quite
 quickly I might add) but that is one area in which JQuery UI is eating
 their lunch. I've had two projects that far that have had to be
 switched from Ext to JQuery UI because of theming.

 Judah

 

~|
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:324392
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Ext Js 3.0 Released

2009-07-09 Thread Cutter (ColdFusion)

You're looking at the wrong bits. Ext Core is the same thing as JQuery,
a DOM manipulation and Ajax setup. Ext Js (full) would be the components
(similar to JQueryUI, though more full featured).

Theming does require a log of images. With the various controls we've
customized, I know I've had to change about 30. Spket can help, doing
the entire library, if you're theming only entails color differences.

I've never seen (or heard) of the themeroller engine for JQueryUI. I'll
take a look at it.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 7/9/2009 12:48 PM, Judah McAuley wrote:
 I'll take a look again but Ext Core did not seem to have much of
 anything in the way of themeing options that didn't still require 101
 images. And given that a lot of the widgets were pulled out of Ext
 Core and have yet to be upgraded..I'm dubious.

 JQuery UI has the themeroller engine. I'm still amazing impressed by
 it. I really love the way that Ext is engineered but until it has
 something similar to themeroller, it really isn't skinable in the
 way that people are going to expect.

 Judah

 On Thu, Jul 9, 2009 at 8:58 AM, Cutter
 (ColdFusion)cold.fus...@cutterscrossing.com  wrote:

 Theming is much easier, as they've broken down the CSS by component
 within the build files. There have been multiple themes available via
 the forums and learning center of the Ext site for quite a while, and
 the Spket IDE (http://www.spket.com/) has a custom theming tool built in
 as well.

 Steve Cutter Blades
 Adobe Certified Professional
 Advanced Macromedia ColdFusion MX 7 Developer

 Co-Author of Learning Ext JS
 http://www.packtpub.com/learning-ext-js/book
 _
  

 

~|
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:324417
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Ext Js 3.0 Released

2009-07-08 Thread Cutter (ColdFusion Related)

Adam,

That is fantastic! Yes, Jack, Aaron, and the team are doing some truly 
spectacular stuff, and the focus they are keeping with backwards 
compatibility should help your team in the future, in terms of new Ext 
releases making it into CF before a full dot release;)

Now, if we could just get packed js code in our template headers...;)

Adrocknaphobia wrote:
 Actually, we might ship with an even more current version 3.1... it just all
 depends on when we release CF vs. when they release Ext 3.1. ;-) The Ext
 crew gives us access to the repository now so we're playing with the BER
 stuff. I have to say, some of the stuff they are working on is pretty damn
 cool.
 -Adam

 On Tue, Jul 7, 2009 at 9:30 AM, Cutter (ColdFusion) 
 cold.fus...@cutterscrossing.com wrote:

   
 Ext Js, the force behind the ColdFusion Ajax components, has just
 released v3.0. This update, which will be included in ColdFusion 9
 (according to the slide deck used when the Adobe User Group Tour stopped
 here in Nashville), is a significant upgrade, with many new features to
 take advantage of. For those who are interested, you can find out a
 little more from this post:


 http://blog.cutterscrossing.com/index.cfm/2009/7/6/Ext-Js-30-is-Finally-Released

 --
 Steve Cutter Blades
 Adobe Certified Professional
 Advanced Macromedia ColdFusion MX 7 Developer

 Co-Author of Learning Ext JS
 http://www.packtpub.com/learning-ext-js/book
 _
 http://blog.cutterscrossing.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:324368
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Ext Js 3.0 Released

2009-07-07 Thread Cutter (ColdFusion)

Ext Js, the force behind the ColdFusion Ajax components, has just 
released v3.0. This update, which will be included in ColdFusion 9 
(according to the slide deck used when the Adobe User Group Tour stopped 
here in Nashville), is a significant upgrade, with many new features to 
take advantage of. For those who are interested, you can find out a 
little more from this post:

http://blog.cutterscrossing.com/index.cfm/2009/7/6/Ext-Js-30-is-Finally-Released

-- 
Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.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:324294
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Reality check

2009-07-07 Thread Cutter (ColdFusion)

That might depend on the app. We have seen instances where IIS will pass 
something as one CGI variable, whereby Apache would send it as something 
completely different. If you don't have internal logic to check for both 
and act accordingly, it can be an issue. These occurrences are rare, but 
possible.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 7/7/2009 10:24 AM, Phillip Vector wrote:
 Just need confirmation that I'm not losing it..

 I have apache running on my dev server. A client gave me his files and
 I'm trying to get them set up on my local server (he is running IIS).

 However, after I create the mappings in CF and go to the directory
 that in his IIS, he has set to default to, I get a ColdFusion error
 (some variable is a complex variable or some such). It finds the files
 and the cfc as well.

 So.. It isn't that I'm using Apache and they are using IIS.. Right?
 The code is just broke.

 or am I missing something here?

 

~|
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:324305
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: ssot: Ext window management question

2009-07-06 Thread Cutter (ColdFusion Related)

Don,

Adobe's JSON implementation is a little non-standard (and better, IMHO). 
You'll need a custom data reader when feeding your data store with a cf 
query return. The CFQueryReader is available at 
http://cfqueryreader.riaforge.org, with some more information available 
on this post:

http://blog.cutterscrossing.com/index.cfm/2009/5/13/CFQueryReader-v11

-- 
Steve 'Cutter' Blades
Adobe Certified Expert
Advanced Macromedia ColdFusion MX 7 Developer

http://blog.cutterscrossing.com

The best way to predict the future is to help create it



~|
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:324276
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: AJAX

2009-07-02 Thread Cutter (ColdFusion)

Guys, I love JQuery too, for DOM manipulation. But, if you're needing 
ajaxified 'widgets' then Ext Js is a better choice. Not only do they 
have an extensive well polished and consistent library, but you can use 
the cfajax tags to rapid prototype an app, then build out final versions 
with something that looks exactly the same (since that's what they use 
under the hood).

Shameless Promotion: Good Book? (See the signature block)

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.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:324167
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: AJAX

2009-07-02 Thread Cutter (ColdFusion)

widgets are the autosuggest combobox, the html data grid, border 
layouts, modal windows, etc., typically loaded by a remote source via 
Ajax. So, some of what you mention (the search field) falls under that 
category, while some of the other stuff is just pure Ajax, for which 
either JQuery or Ext Core are both well suited.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 7/2/2009 3:40 PM, webmas...@pegweb.com wrote:
 Can you explain in more detail ajaxified widgets?

 I'm looking to prefetch possible search keywords in a search field.
 Get a different image from the database when a user clicks and display
 it without refreshing the page.
 Change search results without refreshing the page.

 Stuff like that.



 -Original Message-
 From: Cutter (ColdFusion) [mailto:cold.fus...@cutterscrossing.com]
 Sent: Thursday, July 02, 2009 4:20 PM
 To: cf-talk
 Subject: Re: AJAX


 Guys, I love JQuery too, for DOM manipulation. But, if you're needing
 ajaxified 'widgets' then Ext Js is a better choice. Not only do they
 have an extensive well polished and consistent library, but you can use
 the cfajax tags to rapid prototype an app, then build out final versions

 with something that looks exactly the same (since that's what they use
 under the hood).

 Shameless Promotion: Good Book? (See the signature block)

 Steve Cutter Blades
 Adobe Certified Professional
 Advanced Macromedia ColdFusion MX 7 Developer

 Co-Author of Learning Ext JS
 http://www.packtpub.com/learning-ext-js/book
 _
 http://blog.cutterscrossing.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:324172
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: (ot) quick Ext question

2009-07-01 Thread Cutter (ColdFusion)

Not sure, the ExtJs forums are probably your best bet on this. Try:

bodyStyle:'background-color:white;color:black;padding-left:10px;'

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 7/1/2009 10:16 AM, Don L wrote:
 Sorry for the ot but this is a quick one.

 How to use the bodyStyle attribute for Window object?

 // Ext 2

 var ewin = new Ext.Window ({
// x:200,
// y:200,
width:350,
height:350,
border:true,
resizable:true,
// try 1
// bodyStyle: [{background-color:white; color:black; padding-left:10px}]

// try 2
// bodyStyle: [{background-color:'white', color:'black', 
 padding-left:10px}]

});

 // results
 neither try 1 nor try 2 worked in IE7 nor Firefox 3.0.11 on XP SP3.

 How to?

 Also, when I include the x and y attributes, the window failed to be opened, 
 weird.

 Thanks.

 Don
 P.S. Need to fix my firebug

 

~|
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:324122
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: (ot) quick Ext question

2009-07-01 Thread Cutter (ColdFusion)

You may also be better suited, with multiple attributes, to apply a class:

bodyCssClass source/Panel.html#cfg-Ext.Panel-bodyCssClass: 'myWindowClass'

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 7/1/2009 10:16 AM, Don L wrote:
 Sorry for the ot but this is a quick one.

 How to use the bodyStyle attribute for Window object?

 // Ext 2

 var ewin = new Ext.Window ({
// x:200,
// y:200,
width:350,
height:350,
border:true,
resizable:true,
// try 1
// bodyStyle: [{background-color:white; color:black; padding-left:10px}]

// try 2
// bodyStyle: [{background-color:'white', color:'black', 
 padding-left:10px}]

});

 // results
 neither try 1 nor try 2 worked in IE7 nor Firefox 3.0.11 on XP SP3.

 How to?

 Also, when I include the x and y attributes, the window failed to be opened, 
 weird.

 Thanks.

 Don
 P.S. Need to fix my firebug

 

~|
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:324123
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: alternative to cfwindow

2009-06-29 Thread Cutter (ColdFusion)

Yes, with Ext it's fairly easy:

var calWin = new Ext.Window({
  title: 'Calendar',
  contentEl: 'calendarDiv', // This is a hidden div
(class=x-hidden) on the page, containing your calendar
  width: 200,
  height: 200,
  modal: true,
  border: true
});
calWin.show();

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.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:324046
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Open source ColdFusion again

2009-06-25 Thread Cutter (ColdFusion)

I'll agree with Ray on this. I have an advantage of being a JavaScripter 
long before I came into CF (and that was some time ago), but I know a 
lot of CF developers who never cultivated that skill set. The CF 8 Ajax 
components are an excellent entry point for those without the knowledge, 
as well as an terrific tool for rapid application prototyping for those 
who do have the knowledge, or for small applications looking for a 
little kick. When 'slow'/'bloatedness' become a barrier, then it's time 
to either learn the underlying technology to get beyond it, or to hire 
someone to do it for you.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.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:323930
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: ColdFusion 7 or 8 and DB2 v9

2009-06-25 Thread Cutter (ColdFusion)

I am not, but if there are JDBC drivers for v9, you should be able to 
set those up as 'other' datasource types.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 6/25/2009 10:04 AM, Earl, George wrote:
 Is anyone using ColdFusion 7 or 8 with IBM DB2 v9 for z/OS? I know that
 neither combination is supported. Thanks!

 George


 

~|
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:323935
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CF8 Uses Incorrect Component Path

2009-06-24 Thread Cutter (ColdFusion)

When using CustomTags, the CF server will always search the directory of 
the calling template first, before then moving to the app and server 
level defined paths.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 6/24/2009 12:58 PM, Dawson, Michael wrote:
 On a single CF8 web server, I have a legacy web site that uses
 Application.cfm along with a single global mapping and single global
 custom tag path.

 The server directory location for this web site is:

  D:\Inetpub\AceLink

 The mapping is:

  / = D:\Inetpub\AceLink

 The custom tag path is:

 D:\Inetpub\AceLink

 I have an error handling component located at:

 D:\Inetpub\AceLink\cfc\Utility\ErrorHandler.cfc

 On this same web server, I have another web site that uses
 Application.cfc and per-application settings.  Per-app settings is
 enabled in the CF administrator.  CF is running as a single instance.

 This site's directories are as follows:

 E:\WebSites\applybeta.evansville.edu
 E:\WebSites\applybeta.evansville.edu\Extensions
 E:\WebSites\applybeta.evansville.edu\Extensions\Components
 E:\WebSites\applybeta.evansville.edu\Extensions\CustomTags

 I have a component at:

 E:\WebSites\applybeta.evansville.edu\Extensions\Components\ErrorHandler.
 cfc

 That does it for the OS files.

 Now, my simple Application.cfc contains the following code:

 cfcomponent output=false
  cfset this.name = applybeta.evansville.edu
  cfset this.customTagPaths =
 E:\WebSites\applybeta.evansville.edu\Extensions\CustomTags,E:\WebSites\
 applybeta.evansville.edu\Extensions\Components
  cfset errorHandler = createObject(component,
 ErrorHandler).init()
  pcfdump var=#this# label=this scope/p
  pcfdump var=#errorHandler# label=/p
  cfabort
 /cfcomponent

 When I execute this code, CF actually finds the component in the AceLink
 directory rather than in the directory I have specified in the
 this.customTagPaths variable.  I have proved this because a dump of the
 errorHandler variable points to: cfc.Utility.ErrorHandler.  This leads
 me to believe that CF is first looking in the global custom tag paths
 directory before it looks in the per-application custom tag paths.

 When I removed the global custom tag path that points to
 D:\Inetpub\AceLink, the page breaks with the error that the component
 cannot be found.  Now, this leads me to believe that I have a coding
 error, but I have double- and triple-checked all of the paths.  The
 paths, above, are copied and pasted into this message.  The same goes
 for the Application.cfc code.

 If anyone can see my problem, I would certainly appreciate it.  I'm so
 close to this I probably can't see it right in front of me.  However, I
 am expecting that this is a bug because I have several other web sites,
 on this same server, that work as expected with Application.cfc and
 per-application settings.

 Thanks

 Michael Dawson
 Manager of Web Applications
 Office of Technology Services
 University of Evansville

 Each time you send an email message with a background pattern
 or loud background color, an endangered tree dies.
 Please help us save a tree. Just say NO to email backgrounds.



 

~|
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:323883
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CF8 Uses Incorrect Component Path

2009-06-24 Thread Cutter (ColdFusion)

Components are different from CustomTags, and your mapping is a 
customTagPaths mapping. You'll want to use a standard cf mapping:

this.mapping['/Components'] = 'c:\Inetpub\componentpath\';

Then ref that path (/Components) in your code.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 6/24/2009 1:44 PM, Dawson, Michael wrote:
 One other addendum.  Custom Tags are found in their expected location.
 It appears that this is focused only around components.

 Thanks,
 Mike

 

~|
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:323890
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: ColdExt: window again

2009-06-24 Thread Cutter (ColdFusion)

The Ext window does (autoScroll: true), but I'm not sure whether 
Justin's implementation supports it.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 6/24/2009 2:01 PM, Don L wrote:
 I'm wondering if the ext window has an attribute to allow vertical scroll.  
 By default cf8's cfwindow is intelligent enough to automatically make 
 vertical scroll bar available where the window is filled but I didn't find 
 the same ability with the ext window.  It's nice though it also has an 
 attribut of closable.

 Thanks.

 Don

 

~|
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:323893
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: ColdExt: window again

2009-06-24 Thread Cutter (ColdFusion)

There are full Ext API's available on the Ext site for 1.1 (go to the 
Learning Center), 2.2 (from the Product menu) and 3.0 (from the 
Downloads page).

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 6/24/2009 2:50 PM, Don L wrote:
 Thanks, Cutter, yes, it does support this attribute but previously I did not 
 know its exact name.


 The Ext window does (autoScroll: true), but I'm not sure whether
 Justin's implementation supports it.

 Steve Cutter Blades
 Adobe Certified Professional
 Advanced Macromedia ColdFusion MX 7 Developer

 Co-Author of Learning Ext JS
 http://www.packtpub.com/learning-ext-js/book
 _
 http://blog.cutterscrossing.com


 On 6/24/2009 2:01 PM, Don L wrote:
  
 I'm wondering if the ext window has an attribute to allow vertical

 scroll.  By default cf8's cfwindow is intelligent enough to
 automatically make vertical scroll bar available where the window is
 filled but I didn't find the same ability with the ext window.  It's
 nice though it also has an attribut of closable.
  
 Thanks.

 Don





 

~|
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:323895
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: CF8 Uses Incorrect Component Path

2009-06-24 Thread Cutter (ColdFusion)

Just do a mapping to /edu

cfset THIS.mapping[/edu] = 
E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu /

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 6/24/2009 4:10 PM, Dawson, Michael wrote:
 Alright gentlemen, I think I have it figured out now.  I do remember
 that CF looks in custom tag paths, but that was when I was using
 components with application.cfm and my legacy code.

 http://livedocs.adobe.com/coldfusion/6.1/htmldocs/buildi12.htm

 #4 reads Directories specified on Custom Tag Paths page of the
 Administrator

 That said, I'm ready to move on to doing it the right way with
 Application.cfc.

 I want to specify my components using a FQDN such as:

 edu.evansville.applybeta.package.component

 My components are located at:

 E:\WebSites\applybeta.evansville.edu\Extensions\Components

 I would then have the following directory structure:

 E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu
 E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu\evansvill
 e
 E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu\evansvill
 e\applybeta\
 and so on...

 Should I:
 * Create a / mapping to
 E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu
 * Create a /edu.evansville.applybeta mapping to
 E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu\evansvill
 e\applybeta\

 What is the most accepted method for mapping in this manner?

 I certainly appreciate your help with clarifying this for me.

 Thanks,
 Mike

 -Original Message-
 From: Cutter (ColdFusion) [mailto:cold.fus...@cutterscrossing.com]
 Sent: Wednesday, June 24, 2009 1:53 PM
 To: cf-talk
 Subject: Re: CF8 Uses Incorrect Component Path


 Components are different from CustomTags, and your mapping is a
 customTagPaths mapping. You'll want to use a standard cf mapping:

 this.mapping['/Components'] = 'c:\Inetpub\componentpath\';

 Then ref that path (/Components) in your code.

 Steve Cutter Blades
 Adobe Certified Professional
 Advanced Macromedia ColdFusion MX 7 Developer

 

~|
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:323900
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: CF8 Uses Incorrect Component Path

2009-06-24 Thread Cutter (ColdFusion)

Mark is exactly right, and you would never want to instantiate 
components within your Application.cfc constructor like that, as they 
would get re-created on every page request. You really want to put this 
component (your errorhandler) in the APPLICATION scope, and place it 
there within your onApplicationStart() method.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 6/24/2009 4:55 PM, Mark Mandel wrote:
 I'm not 100% sure, but if you have the createObject() call straight after
 the this.mappings[] code it probably won't work.

 I would expect that CF has yet to build those mappings into what it uses to
 determine mapped paths yet.

 Do your createObject() call inside a index.cfm or similar, and you should
 find that it works.

 Mark

 On Thu, Jun 25, 2009 at 7:43 AM, Dawson, Michaelm...@evansville.eduwrote:


 Steve, I appreciate your help.

 I'm just not getting it to work.  I've taken it back to the most-basic
 where I have a component in a Components directory.  CF will still not
 find the component.

 I have a path at:

 E:\WebSites\applybeta.evansville.edu\Extensions\Components

 In that directory, I have the file:

 E:\WebSites\applybeta.evansville.edu\Extensions\Components\ErrorHandler.
 cfc

 In my Application.cfc, I have the following:

 cfset this.mappings[/Components] =
 E:\WebSites\applybeta.evansville.edu\Extensions\Components
 cfset errorHandler = createObject(component,
 Components.ErrorHandler).init()

 I still get Could not find the ColdFusion Component or Interface
 Components.ErrorHandler.

 I'm at a total loss as to why this does not work.  I wish that the CF
 error would display where (file paths) it tried to access the
 components.

 Thanks,
 Mike

 -Original Message-
 From: Cutter (ColdFusion) [mailto:cold.fus...@cutterscrossing.com]
 Sent: Wednesday, June 24, 2009 4:28 PM
 To: cf-talk
 Subject: Re: CF8 Uses Incorrect Component Path


 Just do a mapping to /edu

 cfset THIS.mapping[/edu] =
 E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu /

 Steve Cutter Blades
 Adobe Certified Professional
 Advanced Macromedia ColdFusion MX 7 Developer

 Co-Author of Learning Ext JS
 http://www.packtpub.com/learning-ext-js/book
 _
 http://blog.cutterscrossing.com


 On 6/24/2009 4:10 PM, Dawson, Michael wrote:
  
 Alright gentlemen, I think I have it figured out now.  I do remember
 that CF looks in custom tag paths, but that was when I was using
 components with application.cfm and my legacy code.

 http://livedocs.adobe.com/coldfusion/6.1/htmldocs/buildi12.htm

 #4 reads Directories specified on Custom Tag Paths page of the
 Administrator

 That said, I'm ready to move on to doing it the right way with
 Application.cfc.

 I want to specify my components using a FQDN such as:

 edu.evansville.applybeta.package.component

 My components are located at:

 E:\WebSites\applybeta.evansville.edu\Extensions\Components

 I would then have the following directory structure:

 E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu
 E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu\evansvi
 ll
 e
 E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu\evansvi
 ll
 e\applybeta\
 and so on...

 Should I:
 * Create a / mapping to
 E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu
 * Create a /edu.evansville.applybeta mapping to
 E:\WebSites\applybeta.evansville.edu\Extensions\Components\edu\evansvi
 ll
 e\applybeta\

 What is the most accepted method for mapping in this manner?

 I certainly appreciate your help with clarifying this for me.

 Thanks,
 Mike

 -Original Message-
 From: Cutter (ColdFusion) [mailto:cold.fus...@cutterscrossing.com]
 Sent: Wednesday, June 24, 2009 1:53 PM
 To: cf-talk
 Subject: Re: CF8 Uses Incorrect Component Path


 Components are different from CustomTags, and your mapping is a
 customTagPaths mapping. You'll want to use a standard cf mapping:

 this.mapping['/Components'] = 'c:\Inetpub\componentpath\';

 Then ref that path (/Components) in your code.

 Steve Cutter Blades
 Adobe Certified Professional
 Advanced Macromedia ColdFusion MX 7 Developer





  

 

~|
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:323906
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: railo getting started

2009-06-23 Thread Cutter (ColdFusion)

And, the group moderator has to accept your subscription request, prior 
to submitting to the google group

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 6/23/2009 2:22 PM, Charlie Griefer wrote:
 On Tue, Jun 23, 2009 at 12:15 PM, Don Ldo...@yahoo.com  wrote:


 You would be bettor off posting to a Railo mailing list.

 ra...@googlegroups.com
 http://tech.groups.yahoo.com/group/railo_talk/

 G!

 On Tue, Jun 23, 2009 at 2:33 PM, D


 My post got bounced back, go figure.

  


 Did you post to the Yahoo! group?  That one's been deprecated in favor of
 Google.

 http://groups.google.com/group/railo





~|
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:323844
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Need advice on creating Login/Logout feature in CF

2009-06-22 Thread Cutter (ColdFusion)

So, put your one template in it's own folder, with it's own 
Application.cfc that extends the root Application.cfc, but has 
additional functionality added to it's methods. Say you have an 
onRequestStart method in the root Application.cfc. You want the 
functionality of that method, plus the security stuff:

cffunction name=onRequestStart access=public output=false 
returnType=boolean
cfargument name=thePage type=string required=true /
cfset SUPER.onRequestStart(thePage = ARGUMENTS.thePage) /
!--- The security logic stuff ---
cfreturn true /
/cffunction

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 6/22/2009 3:46 PM, jason robinson wrote:
 Hi there,

 I'm working on my first full CF website. I've done work in the past using CF 
 and Flash as well as CF and Flex, so you'd think doing just CF would be 
 easier. Unfortunately the entire process is giving me an inferiority complex. 
 :(

 In any case, I'm trying to do a simple login/logout feature. I've read a 
 number of articles discussing the use of an Application.cfc to secure an app 
 (Ben Forta's book) but I'm still having trouble. The thing is, I don't need 
 my entire app secure, I just need one page secured (a member_profile.cfm). 
 I've tried placing the member_profile.cfm page in a folder and adding the 
 Application.cfc to that folder. This works but if I want to logout of the 
 site, I need to have my logout.cfm in the folder as well (which of course 
 automatically asks me to login). There has got to be a better way. Should I 
 be using an Application.cfm file? I'm clearly missing something fundamental 
 here.

 Any advice/direction would be greatly appreciated.

 Thanks.

 

~|
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:323784
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Open source ColdFusion again

2009-06-22 Thread Cutter (ColdFusion)

Don,

Just use straight Ext Js on one of these engines, rather than relying on 
the cfform tags. Or, try ColdExt.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 6/22/2009 3:42 PM, Don L wrote:
 Yes, we're still into it: search open source, railo, blue dragon, etc
 at coldfusionbloggers.org

 On Mon, Jun 22, 2009 at 3:10 PM, D

  

 Which one of these freebie cfml has basic cf engine + native ajax support 
 like cfajaxproxy for instance.  Or, put it this way, I think the need for a 
 freebie cfml engine + cool latest ajax functions are of substantial value, 
 but probably the way it is now, is freebie cfml engines like BD, may not 
 have native ajax functions like what cf8 has.  Rolling up one's sleeve is one 
 option, need for it may be many, mostly probably small-medium sized companies 
 (SMEs), how about this?  What if a bunch of people/SMEs chip in to pay some 
 top notch jquery programmer with heavy cf to develop some sort of plug-in, 
 that the 'investors' could have for free and sell it to anyone who needs it 
 for a very reasonable fee?  Am thinking loud here...

 @ Barney Boisvert, it's just the semantics.

 

~|
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:323785
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Open source ColdFusion again

2009-06-22 Thread Cutter (ColdFusion)

And, more to Barney's point, that's part of why Adobe CF costs money. 
Ext Js is bundled within Adobe CF because Adobe pays the licensing fees 
required to include it as part of their product, similar to Adobe's 
support for Verity, PDF, and more. This is part of why Adobe CF is not 
an open source.

That being said, Railo's plugin architecture (and OpenBD may do this 
too) allows anyone to develop a plugin of a 'wrapper' implementation 
around an Ajax library.

Steve Cutter Blades
Adobe Certified Professional
Advanced Macromedia ColdFusion MX 7 Developer

Co-Author of Learning Ext JS
http://www.packtpub.com/learning-ext-js/book
_
http://blog.cutterscrossing.com


On 6/22/2009 4:20 PM, Barney Boisvert wrote:
 If all that stuff is valuable to you, buy Adobe CF.  That stuff is NOT
 part of the CFML language, it's part of Adobe's CFML implementation.
 Open source CFML engines isn't about getting Adobe CF for free, it's
 about a CFML platform that you can modify/extend as you need.

 On Mon, Jun 22, 2009 at 2:11 PM, Don Ldo...@yahoo.com  wrote:


 ok.  so, probably you were referring to the BD's new tag of cfajaxproxy 
 (probably it's been there for a while, I don't know), just took a look at 
 the release notes etc. looking very promising to my need, and thanks for the 
 syntax, good to know.  With cf8, we need to use cfajaximport, I don't see 
 this tag in fBD, also, cfwindow, cfdiv, bla bla, sorry I'm greedy... and 
 jetty is cool too.  Thanks.


  

 

~|
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:323790
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4