Pagination (should be basic)
All, I'm trying to understand how to do simple pagination--that is, return a list of results or enter a page and only present the first X results. Likewise, I'd like to be able to present the next set of results (from x*2 to x*3), etc. Thank you for any assistance/pointers. Russ __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Pagination (should be basic)
Russ I'm trying to understand how to do simple pagination This is called a next-n interface. There are quite a few web resources on this if you do a search. Basically you need to do a CFQUERY... CACHEDWITHIN... to get the data efficiently, then display it on the page using variables to keep track of what the numbers of the first and last rows to display for the current page in the query are, using CFLOOP QUERY=... STARTROW=... ENDROW... Nick __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Verity operators - THESAURUS, TYPO, SOUNDEX
I'm looking at this Verity doc http://www.verity.com/pdf/white_papers/MK0348a_Discovery_WP.pdf and I like the look of the THESAURUS, TYPO and SOUNDEX evidence operators. Are these available via CF? If not, what do I have to do to get them and what does it cost? Thanks Nick __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Ben's J2EE Book
I totally disagree.. getting it 'connected' is the easy part. The actual movement and animation (for which Flash is designed) is the difficult part. Flash is one of those progs which you need to be [a] a good designer [b] a good animator. If you are neither then stay clear of Flash or you will just be producing the same old crap. I think a proper 'Spectrum of Participants' :-) is required for these Rich Client movies as one single CF developer aint gonna blow things out of the water with poor Flash skills and a little DB connectivity. Flash is an animation/loose design tool CF is a Server Scripting Environment The divide is huge. N Though I would love to see someones reaction to this course who is a complete novice to Flash scripting etc.. -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 04:19 To: CF-Talk Subject: RE: Ben's J2EE Book Hi, Raymond. Thanks for the news. Sounds perfect. Once I figure out that I can program the Flash/CF Interface (i.e., make money with it!), then I'll figure out how to make it look great... that's really the easiest part. The only questions now are: 1. Is this an online course or will I have to travel to a class to attend? 2. Is there a cost or is this free course? 3. Got a time-frame for when the course will be ready? 1-3 months, 3-6 months? Rick -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 29, 2002 7:51 PM To: CF-Talk Subject: RE: Ben's J2EE Book Ok, I'm told I can talk freely... Folks, I've only looked at the first 6 units, but what I see so far I love. It is a very NON ART Flash AS type class. All of the things I learned were not things that required even the tiniest amount of artistic ability. What I did learn was to use form type controls and action script, which are things that are very useful for web applications. This is like the DREAM class for tech geeks. It is _exactly_ in line with what I want as a developer. Oh - and as far as I can see - there is no tweening. ;) === Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 29, 2002 3:00 PM To: CF-Talk Subject: RE: Ben's J2EE Book Neil, let check and see what I can share. All I feel comfortable saying right now is that I am _extremely_ happy with what I've seen of the course - and I do not like 'art junk'. I'll get back with more info if I can. == = Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Neil Robertson-Ravo =TMM= [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 29, 2002 9:36 AM To: CF-Talk Subject: RE: Ben's J2EE Book __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
ColdFusion MX service won't start at boot
Tried to install CFMX on a fresh development box at home and hit problems. Posted the following to the Macromedia Forums but haven't had any response so far. Any ideas? TIA === The ColdFusion MX service isn't starting. I've read the numerous other posts on this and have tried the steps below. I suspect the problem is due to (6). Any ideas why the initial set up appears to have gone wrong and (more importantly) how to fix it? TIA System setup: Completely fresh installation of Windows 2000 Professional, running IIS 5.0. No Service Packs installed. ColdFusion 5 not previously installed. IIS works find, able to browse .html and .asp pages without problems. (1) Opening the CFAdmin page displays a 500 Internal Server Error. (2) Trying to start the ColdFusion MX service manually returned Service-specific Error 2. (3) I wiped the machine, did a complete reinstall and didn't install any Service Packs (several threads suggest there are problems with W2K SP3 and CFMX). CFMX service still doesn't start. (4) I altered the Recovery settings for the service to Restart the Service for both first and second fail. Trying to start the service returns the Service-specific Error 2 message. (5) Confirmed that, as per Sean Corfield's blog at http://www.corfield.org/blog/2002_07_01_archive.html checked that jvm.config doesn't pass corrupt arguments and that the line says: # Arguments to VM java.args=-DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS -Xmx512m (6) In Internet Services Manager | Home Directory | Configuration the cfc, .cfm, .cfml and .jsp extensions are mapped to C:\CFusionMX\runtime\lib\wsconfig\1\jrun.dll However, this path doesn't exist. The closest folder to the one referenced is at C:\CFusionMX\runtime\lib\wsconfig\ which contains just two files, jrunwin32.dll and wsconfig.log. Should I just change the mapping for the 4 extensions above to the jrunwin32.dll file instead? (7) Read the page To configure IIS for ColdFusion MX in Windows at http://livedocs.macromedia.com/cfmxdocs/Installing_ColdFusion_MX/config uring4.jsp#1118876 Running c:\cfusionmx\runtime\jre\bin\java -cp c:\cfusionmx\runtime\lib -jar c:\cfusionmx\runtime\lib\wsconfig.jar -ws IIS -site 0 -map cfm,.cfc,.cfml,.jsp -v from the command prompt returns os.name: Windows 2000 os.version: 5.0 os.arch: x86 platform: intel-win web server: IIS File C:\CFusionMX\runtime\lib\wsconfig\jrunwin32.dll newer than JAR file C:\CFusionMX\runtime\lib\wsconfig.jar so not extracted FindServers(): attempting connect to port 2901 on host 127.0.0.1 Could not connect to any JRun servers on host localhost. Confirm that the JRun server is started. The JRunScripts virtual directories weren't automatically created. Is this because the initial installation went wrong? (although it appeared to complete fine) (8) Looked at Task Manager | Processes and jrun.exe is listed with a PID of 488. Does that mean that JRun really is running? Referring URL 1: http://www.corfield.org/blog/2002_07_01_archive.html Referring URL 2: http://livedocs.macromedia.com/cfmxdocs/Installing_ColdFusion_MX/config uring4.jsp#1118876 -- Aidan Whitehall [EMAIL PROTECTED] Macromedia ColdFusion Developer Fairbanks Environmental +44 (0)1695 51775 __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: ColdFusion MX service won't start at boot
Did you have a beta installed at some stage? Check the registry for the keys which start the services and verify they are pointing to the correct folder for the CF services. N -Original Message- From: Aidan Whitehall [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 09:43 To: CF-Talk Subject: ColdFusion MX service won't start at boot Tried to install CFMX on a fresh development box at home and hit problems. Posted the following to the Macromedia Forums but haven't had any response so far. Any ideas? TIA === The ColdFusion MX service isn't starting. I've read the numerous other posts on this and have tried the steps below. I suspect the problem is due to (6). Any ideas why the initial set up appears to have gone wrong and (more importantly) how to fix it? TIA System setup: Completely fresh installation of Windows 2000 Professional, running IIS 5.0. No Service Packs installed. ColdFusion 5 not previously installed. IIS works find, able to browse .html and .asp pages without problems. (1) Opening the CFAdmin page displays a 500 Internal Server Error. (2) Trying to start the ColdFusion MX service manually returned Service-specific Error 2. (3) I wiped the machine, did a complete reinstall and didn't install any Service Packs (several threads suggest there are problems with W2K SP3 and CFMX). CFMX service still doesn't start. (4) I altered the Recovery settings for the service to Restart the Service for both first and second fail. Trying to start the service returns the Service-specific Error 2 message. (5) Confirmed that, as per Sean Corfield's blog at http://www.corfield.org/blog/2002_07_01_archive.html checked that jvm.config doesn't pass corrupt arguments and that the line says: # Arguments to VM java.args=-DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS -Xmx512m (6) In Internet Services Manager | Home Directory | Configuration the cfc, .cfm, .cfml and .jsp extensions are mapped to C:\CFusionMX\runtime\lib\wsconfig\1\jrun.dll However, this path doesn't exist. The closest folder to the one referenced is at C:\CFusionMX\runtime\lib\wsconfig\ which contains just two files, jrunwin32.dll and wsconfig.log. Should I just change the mapping for the 4 extensions above to the jrunwin32.dll file instead? (7) Read the page To configure IIS for ColdFusion MX in Windows at http://livedocs.macromedia.com/cfmxdocs/Installing_ColdFusion_MX/config uring4.jsp#1118876 Running c:\cfusionmx\runtime\jre\bin\java -cp c:\cfusionmx\runtime\lib -jar c:\cfusionmx\runtime\lib\wsconfig.jar -ws IIS -site 0 -map cfm,.cfc,.cfml,.jsp -v from the command prompt returns os.name: Windows 2000 os.version: 5.0 os.arch: x86 platform: intel-win web server: IIS File C:\CFusionMX\runtime\lib\wsconfig\jrunwin32.dll newer than JAR file C:\CFusionMX\runtime\lib\wsconfig.jar so not extracted FindServers(): attempting connect to port 2901 on host 127.0.0.1 Could not connect to any JRun servers on host localhost. Confirm that the JRun server is started. The JRunScripts virtual directories weren't automatically created. Is this because the initial installation went wrong? (although it appeared to complete fine) (8) Looked at Task Manager | Processes and jrun.exe is listed with a PID of 488. Does that mean that JRun really is running? Referring URL 1: http://www.corfield.org/blog/2002_07_01_archive.html Referring URL 2: http://livedocs.macromedia.com/cfmxdocs/Installing_ColdFusion_MX/config uring4.jsp#1118876 -- Aidan Whitehall [EMAIL PROTECTED] Macromedia ColdFusion Developer Fairbanks Environmental +44 (0)1695 51775 __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: So many problems with CFC scopes...
Sorry, I come back to the original thread problem : CFC scopes. Here are some more details one CFCs scopes and UDFs. When you excecute a CFMODULE, the only scopes still available in the CFMODULE script are 'attributes' + request/url/form, so you have to re-include UDF Lib. Which means that UDF Lib scope (from the calling script) is not available in a script executed by CFMODULE. When you execute a CFC (or a custom tags), it should be the same. The only scopes still available in the CFC script are 'arguments' + request/url/form, but there is a problem : UDF Lib scope from the calling script is still available in the CFC (???). This is not logical. CFC should not be able to access UDF Lib scope from the calling script, it should behave like the CFMODULE. UDF have by default the no prefix scope, so I thought they would behave like no prefix variables. (and if I want a UDF function during all my request, then I put it in the request scope) So for me, this is a bug (a non-consistent behaviour). Don't you think? Benoit Hediard www.benorama.com -Message d'origine- De : Raymond Camden [mailto:[EMAIL PROTECTED]] Envoyé : dimanche 29 septembre 2002 21:06 À : CF-Talk Objet : RE: So many problems with CFC scopes... For what reason? I've jumped in mid-thread here, but I'm really keen to get some good nitty-gritty low-down on the pros/cons/appropriate contexts for custom tags/UDFs/CFCs. I've had access to CF5 for a while, but most of my clients have been stuck on CF4.5 hosts, so I've not really got into the habit of UDFs. Now MX and CFCs are here, I feel I should dive into the whole lot knowing the practical differences and arguments for each method. You mentioned typing the extra reference for CFCs (i.e. myCFC.isEmail(...) as opposed to isEmail() for a UDF). Beyond that - which is obviously down to the kind of personal preference that's not worth debating - why would a CFC set of methods as opposed to a UDF library be not bad per se, just maybe not appropriate? What's the not appropriate bit, in performance/architecture terms, not personal preference/coding style terms? Dave mentioned a collection of UDFs called Math that would serve as a library. On a _completely_ personal level (ie, not performance, security, etc), I tend to think the methods of a CFC should be more tightly coupled - ie, have more of a reason then being together than just being mathematical. As a purely personal preference - that is why I wouldn't think it's appropriate. Yes, I know it's a very wishy-washy response - but as I said, it's a personal feeling. Also, with CFCs being such a new beast, what makes sense now and what makes sense 3 years from now will most likely be somewhat different. === Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
UDF Vs CFC (was RE: So many problems with CFC scopes...)
I agree with you Raymond. But it is true that is more personal preference/coding style terms than performance/architecture terms. This are my personal rules : CUSTOM TAGS (ColdFusion Taglibs) - custom tags encapsulates presentation logic they always output content (usually HTML), - custom tags usually do not call the model or controller layer, - custom tags are only used by the presentation layer (page or pagelet scripts). They are used for presentation logic encapsulation. USER DEFINED FUNCTIONS (UDF) - user defined functions encapsulate generic logic and rarely output content (except for string formatting purposes), - user defined functions do not call the model or controller layer, - user defined functions are used in any layer (view, controller or model). They are used generic logic/function encapsulation. COLDFUSION COMPONENTS (CFC) - components encapsulate business/data access application logic and never output content, - components are called by the view layer only to read data, - components are called by the controller layer to create/update/delete data. They are used for business logic encapsulation. .. I've put some examples here http://www.benorama.com/coldfusion/patterns/part3.htm Benoit Hediard www.benorama.com -Message d'origine- De : Raymond Camden [mailto:[EMAIL PROTECTED]] Envoyé : dimanche 29 septembre 2002 21:06 À : CF-Talk Objet : RE: So many problems with CFC scopes... For what reason? I've jumped in mid-thread here, but I'm really keen to get some good nitty-gritty low-down on the pros/cons/appropriate contexts for custom tags/UDFs/CFCs. I've had access to CF5 for a while, but most of my clients have been stuck on CF4.5 hosts, so I've not really got into the habit of UDFs. Now MX and CFCs are here, I feel I should dive into the whole lot knowing the practical differences and arguments for each method. You mentioned typing the extra reference for CFCs (i.e. myCFC.isEmail(...) as opposed to isEmail() for a UDF). Beyond that - which is obviously down to the kind of personal preference that's not worth debating - why would a CFC set of methods as opposed to a UDF library be not bad per se, just maybe not appropriate? What's the not appropriate bit, in performance/architecture terms, not personal preference/coding style terms? Dave mentioned a collection of UDFs called Math that would serve as a library. On a _completely_ personal level (ie, not performance, security, etc), I tend to think the methods of a CFC should be more tightly coupled - ie, have more of a reason then being together than just being mathematical. As a purely personal preference - that is why I wouldn't think it's appropriate. Yes, I know it's a very wishy-washy response - but as I said, it's a personal feeling. Also, with CFCs being such a new beast, what makes sense now and what makes sense 3 years from now will most likely be somewhat different. === Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: more cfstoredproc issues ...
Whenever I right an SP I use.. CREATE PROCEDURE someSP @somthing AS int, @somethingelse AS varchar(50) I don't know if not using the AS is ok or not but give it a go, see if it fixes it Ade -Original Message- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 02:34 To: CF-Talk Subject: more cfstoredproc issues ... Argh! I have a stored procedure with parameters as: CREATE PROCEDURE tap_adLibUpdate @LibraryID int, @Ident int, @UpdatedDate datetime, @PageFileName varchar(15) = NULL, @ArchivePath varchar(15) = NULL, @Scheduled bit = 0, @RestoreID int = NULL, @UpdateError varchar(8000) = NULL AS and I'm using this code in CF: cfstoredproc procedure=tap_adLibUpdate datasource=#request.tap.dsn# username=#request.tap.dsnusr# password=#request.tap.dsnpwd# cfprocparam type=in dbvarname=LibraryID value=#variables.PageID# cfsqltype=cf_sql_integer cfprocparam type=in dbvarname=Ident value=#Request.User.ID# cfsqltype=cf_sql_integer cfprocparam type=in dbvarname=UpdatedDate value=#CreateODBCDate(Now())# cfsqltype=cf_sql_timestamp !--- indicates the file name for a top level container -- file extension may change although file name is consistent --- cfprocparam type=In dbvarname=PageFileName value=#variables.tempfilename# cfsqltype=cf_sql_varchar null=#yesnoformat(not rspage.istoplevelcontainer)# !--- archive path indicates where restoring content is being restored from -- cfprocparam type=in dbvarname=ArchivePath value=#variables.archivepath# cfsqltype=cf_sql_varchar null=#yesnoformat(not request.tap.archivecontent)# cfprocparam type=In dbvarname=Scheduled value=0 cfsqltype=cf_sql_bit cfprocparam type=in dbvarname=restoreid value=#variables.restoreid# cfsqltype=cf_sql_integer null=#yesnoformat(IsDate(attributes.RestoreFromDate))# cfprocparam type=In dbvarname=UpdateError value=#variables.errormessage# cfsqltype=cf_sql_varchar cfprocresult name=rsupdate resultset=1 /cfstoredproc and I'm getting this error: [Microsoft][ODBC SQL Server Driver][SQL Server]Procedure 'tap_adLibUpdate' expects parameter '@LibraryID', which was not supplied. I know that the LibraryID parameter is defined in the cfprocparam tags. I know that none of it was misspelled. I know that the value of variables.PageID is an integer. What I don't know is why I'm getting an error message that tells me exactly what the problem is not. Anybody have any ideas? Isaac Dealey Certified Advanced ColdFusion 5 Developer new epoch www.turnkey.to 954-776-0046 __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: ColdFusion MX service won't start at boot
Did you have a beta installed at some stage? Check the registry for the keys which start the services and verify they are pointing to the correct folder for the CF services. It was a *completely* fresh install of everything, starting with wiping the partition and reformatting with NTFS. After having installed Windows 2000 Professional, I installed IIS, then CFMX. Thanks for the reply, Neil. Can you read the following (taken from the original post) - I think it's the most likely reason for the problem: (6) In Internet Services Manager | Home Directory | Configuration the cfc, .cfm, .cfml and .jsp extensions are mapped to C:\CFusionMX\runtime\lib\wsconfig\1\jrun.dll However, this path doesn't exist. The closest folder to the one referenced is at C:\CFusionMX\runtime\lib\wsconfig\ which contains just two files, jrunwin32.dll and wsconfig.log. Should I just change the mapping for the 4 extensions above to the jrunwin32.dll file instead? -- Aidan Whitehall [EMAIL PROTECTED] Macromedia ColdFusion Developer Fairbanks Environmental +44 (0)1695 51775 __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: ColdFusion MX service won't start at boot
Yep, that is more than likely your problem. I know there are some issued with the installer as well. it may be worth swinging my MM.com to check it this is a documented one. N -Original Message- From: Aidan Whitehall [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 11:44 To: CF-Talk Subject: RE: ColdFusion MX service won't start at boot Did you have a beta installed at some stage? Check the registry for the keys which start the services and verify they are pointing to the correct folder for the CF services. It was a *completely* fresh install of everything, starting with wiping the partition and reformatting with NTFS. After having installed Windows 2000 Professional, I installed IIS, then CFMX. Thanks for the reply, Neil. Can you read the following (taken from the original post) - I think it's the most likely reason for the problem: (6) In Internet Services Manager | Home Directory | Configuration the cfc, .cfm, .cfml and .jsp extensions are mapped to C:\CFusionMX\runtime\lib\wsconfig\1\jrun.dll However, this path doesn't exist. The closest folder to the one referenced is at C:\CFusionMX\runtime\lib\wsconfig\ which contains just two files, jrunwin32.dll and wsconfig.log. Should I just change the mapping for the 4 extensions above to the jrunwin32.dll file instead? -- Aidan Whitehall [EMAIL PROTECTED] Macromedia ColdFusion Developer Fairbanks Environmental +44 (0)1695 51775 __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: more cfstoredproc issues ...
** WESTMINSTER CITY COUNCIL Please refer to the disclaimer beneath this message ** YOu can comment out the call to the stored procedure and then output all the variables you are passing, then use a CFABORT to stop the page this way you'll be sure the correct variables are being passed. Or for testing purposes hard-code a value in the LibraryID cfprocparam tag, if it does get passed in correctly then you will know that the problem is the stored procedure and not your CF. -Original Message- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 02:34 To: CF-Talk Subject: more cfstoredproc issues ... Argh! I have a stored procedure with parameters as: CREATE PROCEDURE tap_adLibUpdate @LibraryID int, @Ident int, @UpdatedDate datetime, @PageFileName varchar(15) = NULL, @ArchivePath varchar(15) = NULL, @Scheduled bit = 0, @RestoreID int = NULL, @UpdateError varchar(8000) = NULL AS and I'm using this code in CF: cfstoredproc procedure=tap_adLibUpdate datasource=#request.tap.dsn# username=#request.tap.dsnusr# password=#request.tap.dsnpwd# cfprocparam type=in dbvarname=LibraryID value=#variables.PageID# cfsqltype=cf_sql_integer cfprocparam type=in dbvarname=Ident value=#Request.User.ID# cfsqltype=cf_sql_integer cfprocparam type=in dbvarname=UpdatedDate value=#CreateODBCDate(Now())# cfsqltype=cf_sql_timestamp !--- indicates the file name for a top level container -- file extension may change although file name is consistent --- cfprocparam type=In dbvarname=PageFileName value=#variables.tempfilename# cfsqltype=cf_sql_varchar null=#yesnoformat(not rspage.istoplevelcontainer)# !--- archive path indicates where restoring content is being restored from -- cfprocparam type=in dbvarname=ArchivePath value=#variables.archivepath# cfsqltype=cf_sql_varchar null=#yesnoformat(not request.tap.archivecontent)# cfprocparam type=In dbvarname=Scheduled value=0 cfsqltype=cf_sql_bit cfprocparam type=in dbvarname=restoreid value=#variables.restoreid# cfsqltype=cf_sql_integer null=#yesnoformat(IsDate(attributes.RestoreFromDate))# cfprocparam type=In dbvarname=UpdateError value=#variables.errormessage# cfsqltype=cf_sql_varchar cfprocresult name=rsupdate resultset=1 /cfstoredproc and I'm getting this error: [Microsoft][ODBC SQL Server Driver][SQL Server]Procedure 'tap_adLibUpdate' expects parameter '@LibraryID', which was not supplied. I know that the LibraryID parameter is defined in the cfprocparam tags. I know that none of it was misspelled. I know that the value of variables.PageID is an integer. What I don't know is why I'm getting an error message that tells me exactly what the problem is not. Anybody have any ideas? Isaac Dealey Certified Advanced ColdFusion 5 Developer new epoch www.turnkey.to 954-776-0046 __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Ben's J2EE Book
I guess it depends on what experience your bring to Flash as to what is easy and what is hard. I've been doing digital video production for years, which involves creating timeline-based graphics animation, as well as some 3-D animation, so graphics creation is more natural for me. When I first looked at Flash years ago, as a possible tool for graphics/animation, I thought it was an interesting tool, but lacked a place in my sphere of work where the effort required to produce the animation would be worth it. I have no doubt that I can produce satisfactory Flash from a graphics perspective, but I'm more interested in its use as a single-page application interface. Designing the interface, for me, really is the simple part. The problem is, all I bring to Flash ActionScript is Cold Fusion programming knowledge, and I'm not finding the experience with one helpful with the other. When I started CF, I had some great tutorials that introduced me to it, but with Flash AS, I haven't found the tutorials that have helped me put it all together, yet. Sounds like MM is getting ready to address those like me who need some AS help, similar to their built-in tutorials for the animation that come with the Flash program. Just a few basic lessons and tutorials like those in the Flash Help menu would go a long way. It's just frustrating for the tutorials to come in the form of here's a sample app you can study and learn how to use AS scripting. I'm just looking for a tutorial to walk me through getting some info, say typical calendar info, like date, time, event, location, description, whatever, in and out of a flash movie. I can't understand the Flash AS just by looking at it. That's no way for a novice to learn. And I don't want to study everything there is to know about AS before I even make a decision as to whether or not Flash MX is worth the investment of time and money... As to producing the same old crap, I'm not looking to rock the world with new creative genius, I just want a new way to build business apps for my clients that are easier for them to use, and therefore easier to sell. Most of my clients wouldn't care if the Flash movie had a white background and no animation, as long as they didn't have to jump around everywhere on HTML pages to allow processing of information. Flash is trying to become a tool for functionality, as opposed to visual creativity. I don't that think that people would buy more pets just because the Pet Market presentation includes moving graphics. It's the one-page shopping/purchasing that would intrigue customers. Flash has great potential for use in my work, but not if I can't figure out how to use it... Rick -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 4:33 AM To: CF-Talk Subject: RE: Ben's J2EE Book I totally disagree.. getting it 'connected' is the easy part. The actual movement and animation (for which Flash is designed) is the difficult part. Flash is one of those progs which you need to be [a] a good designer [b] a good animator. If you are neither then stay clear of Flash or you will just be producing the same old crap. I think a proper 'Spectrum of Participants' :-) is required for these Rich Client movies as one single CF developer aint gonna blow things out of the water with poor Flash skills and a little DB connectivity. Flash is an animation/loose design tool CF is a Server Scripting Environment The divide is huge. N Though I would love to see someones reaction to this course who is a complete novice to Flash scripting etc.. -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 04:19 To: CF-Talk Subject: RE: Ben's J2EE Book Hi, Raymond. Thanks for the news. Sounds perfect. Once I figure out that I can program the Flash/CF Interface (i.e., make money with it!), then I'll figure out how to make it look great... that's really the easiest part. The only questions now are: 1. Is this an online course or will I have to travel to a class to attend? 2. Is there a cost or is this free course? 3. Got a time-frame for when the course will be ready? 1-3 months, 3-6 months? Rick -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 29, 2002 7:51 PM To: CF-Talk Subject: RE: Ben's J2EE Book Ok, I'm told I can talk freely... Folks, I've only looked at the first 6 units, but what I see so far I love. It is a very NON ART Flash AS type class. All of the things I learned were not things that required even the tiniest amount of artistic ability. What I did learn was to use form type controls and action script, which are things that are very useful for web applications. This is like the DREAM class for tech geeks. It is _exactly_ in line with what I want as a developer. Oh - and as far as I can see - there is no tweening. ;)
RE: more cfstoredproc issues ...
I do not know if this may be the underlying cause of the error but I do know that if sql is your database you cannot use timestamp as the datatype when you are passing in a date time field. It has to be CF_SQL_DATE. There was a disscusion about this on here last week but I think the person having the problem was using CFMX and M$SQL. Hope this helps you out and that I didnt misunderstand that whole think last week. Josh -Original Message- From: Adams, Stephen [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 7:31 AM To: CF-Talk Subject: RE: more cfstoredproc issues ... ** WESTMINSTER CITY COUNCIL Please refer to the disclaimer beneath this message ** YOu can comment out the call to the stored procedure and then output all the variables you are passing, then use a CFABORT to stop the page this way you'll be sure the correct variables are being passed. Or for testing purposes hard-code a value in the LibraryID cfprocparam tag, if it does get passed in correctly then you will know that the problem is the stored procedure and not your CF. -Original Message- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 02:34 To: CF-Talk Subject: more cfstoredproc issues ... Argh! I have a stored procedure with parameters as: CREATE PROCEDURE tap_adLibUpdate @LibraryID int, @Ident int, @UpdatedDate datetime, @PageFileName varchar(15) = NULL, @ArchivePath varchar(15) = NULL, @Scheduled bit = 0, @RestoreID int = NULL, @UpdateError varchar(8000) = NULL AS and I'm using this code in CF: cfstoredproc procedure=tap_adLibUpdate datasource=#request.tap.dsn# username=#request.tap.dsnusr# password=#request.tap.dsnpwd# cfprocparam type=in dbvarname=LibraryID value=#variables.PageID# cfsqltype=cf_sql_integer cfprocparam type=in dbvarname=Ident value=#Request.User.ID# cfsqltype=cf_sql_integer cfprocparam type=in dbvarname=UpdatedDate value=#CreateODBCDate(Now())# cfsqltype=cf_sql_timestamp !--- indicates the file name for a top level container -- file extension may change although file name is consistent --- cfprocparam type=In dbvarname=PageFileName value=#variables.tempfilename# cfsqltype=cf_sql_varchar null=#yesnoformat(not rspage.istoplevelcontainer)# !--- archive path indicates where restoring content is being restored from -- cfprocparam type=in dbvarname=ArchivePath value=#variables.archivepath# cfsqltype=cf_sql_varchar null=#yesnoformat(not request.tap.archivecontent)# cfprocparam type=In dbvarname=Scheduled value=0 cfsqltype=cf_sql_bit cfprocparam type=in dbvarname=restoreid value=#variables.restoreid# cfsqltype=cf_sql_integer null=#yesnoformat(IsDate(attributes.RestoreFromDate))# cfprocparam type=In dbvarname=UpdateError value=#variables.errormessage# cfsqltype=cf_sql_varchar cfprocresult name=rsupdate resultset=1 /cfstoredproc and I'm getting this error: [Microsoft][ODBC SQL Server Driver][SQL Server]Procedure 'tap_adLibUpdate' expects parameter '@LibraryID', which was not supplied. I know that the LibraryID parameter is defined in the cfprocparam tags. I know that none of it was misspelled. I know that the value of variables.PageID is an integer. What I don't know is why I'm getting an error message that tells me exactly what the problem is not. Anybody have any ideas? Isaac Dealey Certified Advanced ColdFusion 5 Developer new epoch www.turnkey.to 954-776-0046 __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Ben's J2EE Book
I can relate to what you state but if all you are looking for is to create new business models and rich clients via a Flash UI then maybe a different approach is in order from MM. It seems a little overkill to use an expensive app which has a certain purpose for something so trivial. if you are only going to use 2% of Flash it seems a waste... and I think alot of CF'ers are in the same boat. I myself prefer Lingo for good animation stuff...its a lot more powerful IMHO. N -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 12:44 To: CF-Talk Subject: RE: Ben's J2EE Book I guess it depends on what experience your bring to Flash as to what is easy and what is hard. I've been doing digital video production for years, which involves creating timeline-based graphics animation, as well as some 3-D animation, so graphics creation is more natural for me. When I first looked at Flash years ago, as a possible tool for graphics/animation, I thought it was an interesting tool, but lacked a place in my sphere of work where the effort required to produce the animation would be worth it. I have no doubt that I can produce satisfactory Flash from a graphics perspective, but I'm more interested in its use as a single-page application interface. Designing the interface, for me, really is the simple part. The problem is, all I bring to Flash ActionScript is Cold Fusion programming knowledge, and I'm not finding the experience with one helpful with the other. When I started CF, I had some great tutorials that introduced me to it, but with Flash AS, I haven't found the tutorials that have helped me put it all together, yet. Sounds like MM is getting ready to address those like me who need some AS help, similar to their built-in tutorials for the animation that come with the Flash program. Just a few basic lessons and tutorials like those in the Flash Help menu would go a long way. It's just frustrating for the tutorials to come in the form of here's a sample app you can study and learn how to use AS scripting. I'm just looking for a tutorial to walk me through getting some info, say typical calendar info, like date, time, event, location, description, whatever, in and out of a flash movie. I can't understand the Flash AS just by looking at it. That's no way for a novice to learn. And I don't want to study everything there is to know about AS before I even make a decision as to whether or not Flash MX is worth the investment of time and money... As to producing the same old crap, I'm not looking to rock the world with new creative genius, I just want a new way to build business apps for my clients that are easier for them to use, and therefore easier to sell. Most of my clients wouldn't care if the Flash movie had a white background and no animation, as long as they didn't have to jump around everywhere on HTML pages to allow processing of information. Flash is trying to become a tool for functionality, as opposed to visual creativity. I don't that think that people would buy more pets just because the Pet Market presentation includes moving graphics. It's the one-page shopping/purchasing that would intrigue customers. Flash has great potential for use in my work, but not if I can't figure out how to use it... Rick -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 4:33 AM To: CF-Talk Subject: RE: Ben's J2EE Book I totally disagree.. getting it 'connected' is the easy part. The actual movement and animation (for which Flash is designed) is the difficult part. Flash is one of those progs which you need to be [a] a good designer [b] a good animator. If you are neither then stay clear of Flash or you will just be producing the same old crap. I think a proper 'Spectrum of Participants' :-) is required for these Rich Client movies as one single CF developer aint gonna blow things out of the water with poor Flash skills and a little DB connectivity. Flash is an animation/loose design tool CF is a Server Scripting Environment The divide is huge. N Though I would love to see someones reaction to this course who is a complete novice to Flash scripting etc.. -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 04:19 To: CF-Talk Subject: RE: Ben's J2EE Book Hi, Raymond. Thanks for the news. Sounds perfect. Once I figure out that I can program the Flash/CF Interface (i.e., make money with it!), then I'll figure out how to make it look great... that's really the easiest part. The only questions now are: 1. Is this an online course or will I have to travel to a class to attend? 2. Is there a cost or is this free course? 3. Got a time-frame for when the course will be ready? 1-3 months, 3-6 months? Rick -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 29, 2002 7:51 PM To:
Re: UDF Vs CFC (was RE: So many problems with CFC scopes...)
Benoit, thanks for the summary of your rules-of-thumb for CF modularisation. I'll check out your site later. For now, could you clear up some terminology for this no-CS-background designer-turned-coder? ;-) I can hazard good guesses, but what do you mean by view, controller and model layers? Also, I know the idea of business rules from relational DB design - am I right in saying you're using business logic here in a similar sense, to apply to the CF application? That is, it refers to procedures and functions mostly specific to the current application? If this is so, am I right in saying that, given your personal rules, cflib.org for sharing UDFs is useful, but cfczone.org for sharing CFC's is less useful? I know it's fine to use CFC's for generic functions and cfczone.org will probably become as useful as cflib.org, I'm just trying to gauge the meaning of your rules with this analogy. If you use CFCs for business logic encapsulation, they may not be very portable - unless I'm taking the term business logic in a too narrow sense. - Gyrus - [EMAIL PROTECTED] work: http://www.tengai.co.uk play: http://www.norlonto.net - PGP key available - Original Message - From: Benoit Hediard [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, September 30, 2002 9:26 AM Subject: UDF Vs CFC (was RE: So many problems with CFC scopes...) I agree with you Raymond. But it is true that is more personal preference/coding style terms than performance/architecture terms. This are my personal rules : CUSTOM TAGS (ColdFusion Taglibs) - custom tags encapsulates presentation logic they always output content (usually HTML), - custom tags usually do not call the model or controller layer, - custom tags are only used by the presentation layer (page or pagelet scripts). They are used for presentation logic encapsulation. USER DEFINED FUNCTIONS (UDF) - user defined functions encapsulate generic logic and rarely output content (except for string formatting purposes), - user defined functions do not call the model or controller layer, - user defined functions are used in any layer (view, controller or model). They are used generic logic/function encapsulation. COLDFUSION COMPONENTS (CFC) - components encapsulate business/data access application logic and never output content, - components are called by the view layer only to read data, - components are called by the controller layer to create/update/delete data. They are used for business logic encapsulation. .. I've put some examples here http://www.benorama.com/coldfusion/patterns/part3.htm Benoit Hediard www.benorama.com __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Ben's J2EE Book
I guess that exactly where I'm coming from. I have little interest in Flash's animation capability. But my browser/Internet-based application customers have expressed confusion when I try to convert them from software applications which utilize basically a one-page interface to multiple-page processing with HTML-CF apps. It's a little disconcerting for them to jump around. With a tool that would allow the basics of add, view, update, delete info using a single interface, I'd have a much easier time convincing clients to allow me to build browser-based, Internet-connected apps for as opposed to using multiple pieces of software and manual work to accomplish their business tasks. Many of them want their information accessible by the public on the Internet anyway, so it's a perfect match. For me, it's that 2% of new Flash information processing ability that will make it worth the price and effort, not it's animation producing ability. I'd be interested in it, even if it wouldn't animate at all. That's why I've spent the last several years saying No to Flash until Flash database connectivity came along... Rick -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 7:41 AM To: CF-Talk Subject: RE: Ben's J2EE Book I can relate to what you state but if all you are looking for is to create new business models and rich clients via a Flash UI then maybe a different approach is in order from MM. It seems a little overkill to use an expensive app which has a certain purpose for something so trivial. if you are only going to use 2% of Flash it seems a waste... and I think alot of CF'ers are in the same boat. I myself prefer Lingo for good animation stuff...its a lot more powerful IMHO. N -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 12:44 To: CF-Talk Subject: RE: Ben's J2EE Book I guess it depends on what experience your bring to Flash as to what is easy and what is hard. I've been doing digital video production for years, which involves creating timeline-based graphics animation, as well as some 3-D animation, so graphics creation is more natural for me. When I first looked at Flash years ago, as a possible tool for graphics/animation, I thought it was an interesting tool, but lacked a place in my sphere of work where the effort required to produce the animation would be worth it. I have no doubt that I can produce satisfactory Flash from a graphics perspective, but I'm more interested in its use as a single-page application interface. Designing the interface, for me, really is the simple part. The problem is, all I bring to Flash ActionScript is Cold Fusion programming knowledge, and I'm not finding the experience with one helpful with the other. When I started CF, I had some great tutorials that introduced me to it, but with Flash AS, I haven't found the tutorials that have helped me put it all together, yet. Sounds like MM is getting ready to address those like me who need some AS help, similar to their built-in tutorials for the animation that come with the Flash program. Just a few basic lessons and tutorials like those in the Flash Help menu would go a long way. It's just frustrating for the tutorials to come in the form of here's a sample app you can study and learn how to use AS scripting. I'm just looking for a tutorial to walk me through getting some info, say typical calendar info, like date, time, event, location, description, whatever, in and out of a flash movie. I can't understand the Flash AS just by looking at it. That's no way for a novice to learn. And I don't want to study everything there is to know about AS before I even make a decision as to whether or not Flash MX is worth the investment of time and money... As to producing the same old crap, I'm not looking to rock the world with new creative genius, I just want a new way to build business apps for my clients that are easier for them to use, and therefore easier to sell. Most of my clients wouldn't care if the Flash movie had a white background and no animation, as long as they didn't have to jump around everywhere on HTML pages to allow processing of information. Flash is trying to become a tool for functionality, as opposed to visual creativity. I don't that think that people would buy more pets just because the Pet Market presentation includes moving graphics. It's the one-page shopping/purchasing that would intrigue customers. Flash has great potential for use in my work, but not if I can't figure out how to use it... Rick -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 4:33 AM To: CF-Talk Subject: RE: Ben's J2EE Book I totally disagree.. getting it 'connected' is the easy part. The actual movement and animation (for which Flash is designed) is the difficult part. Flash is one of those progs which you need to be
Re: Verity operators - THESAURUS, TYPO, SOUNDEX
OK, I RTFM'ed and in Developing ColdFusion MX Applications with CFML I find this: THESAURUS Expands the search to include the word that you enter and its synonyms. Collections do not have a thesaurus by default; to use this feature you must build one. SOUNDEX Expands the search to include the word that you enter and one or more words that sound like, or whose letter pattern is similar to, the word specified. Collections do not have sound-alike indexes by default; to use this feature you must build sound-alike indexes. What I don't see anywhere is - just how do I build a thesaurus or a sound-alike index? Thanks Nick __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Verity operators - THESAURUS, TYPO, SOUNDEX
They are available - you don't need to do anything special to use them - you just use them. (Although I believe you have to use type=explicit in your cfsearch tag.) I'm not sure what the cost to performance is - most likely more than a simple search, but probably not bad. === Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Nick de Voil [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 4:11 AM To: CF-Talk Subject: Verity operators - THESAURUS, TYPO, SOUNDEX I'm looking at this Verity doc http://www.verity.com/pdf/white_papers/MK0348a_Discovery_WP.pdf and I like the look of the THESAURUS, TYPO and SOUNDEX evidence operators. Are these available via CF? If not, what do I have to do to get them and what does it cost? __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Retry - Extracting filename of cfchart generated jpg
Hi all, I asked this last week with no response so thought I'd give it another go. Does anyone know if there is a way of determining the filename of a dynamically generated chart using cfchart (programmatically of course). Basically I've set cfchart to cache to disk and want to be able to capture the file in order to copy it to an user's personal directory if they chose to save the chart for later use (in writing custom reports). I've already figured a roundabout workaround involving cfhttp parsing the page for the filename. Ideally I'd like to simply extract the filename at initial runtim of cfchart. any help appreciated, Dave __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Ben's J2EE Book, now new course to be offered by MACR
FYI, info from the course outline. This MAY change before the course is actually released... Developing Rich Internet Applications with Macromedia Flash and ColdFusion MX is a 3-day class designed to teach experienced ColdFusion developers how to create powerful internet applications that take advantage of the flexibility of Flash MX, the ease of connectivity of Flash Remoting and the data manipulation power of ColdFusion MX. It is a task-based course that introduces the student to creating rich interfaces using pre-build components in Flash that manipulate dynamic data received from ColdFusion Unit 1: Introducing the Course Unit 2: Introducing the Macromedia Flash MX Interface Unit 3: ActionScript Fundamentals Unit 4: Working with Flash MX UI Components Unit 5. Creating Web Services with ColdFusion Components Unit 6: Using Flash Remoting to Retrieve Dynamic Data Unit 7: Using the DataGrid Component Unit 8: Persisting Data on Client and Server Unit 9: Working with Movie Clips in Flash Unit 10: Reusability: Creating MovieClips from Groups of Elements p.s. I can confirm that it's very task based. Again, there isn't any crap like, Use this nice shade of red in the background to match the colour of the setting sun. It's very focused on things that can apply to a web application. === Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Ben's J2EE Book, now new course to be offered by MACR
Thanks Ray, this does seem to be quite extensive and does teach the fundamentals of Flash as well... excellent. It does miss the point of Animation, but I suppose its out of scope. - Neil -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 13:54 To: CF-Talk Subject: RE: Ben's J2EE Book, now new course to be offered by MACR FYI, info from the course outline. This MAY change before the course is actually released... Developing Rich Internet Applications with Macromedia Flash and ColdFusion MX is a 3-day class designed to teach experienced ColdFusion developers how to create powerful internet applications that take advantage of the flexibility of Flash MX, the ease of connectivity of Flash Remoting and the data manipulation power of ColdFusion MX. It is a task-based course that introduces the student to creating rich interfaces using pre-build components in Flash that manipulate dynamic data received from ColdFusion Unit 1: Introducing the Course Unit 2: Introducing the Macromedia Flash MX Interface Unit 3: ActionScript Fundamentals Unit 4: Working with Flash MX UI Components Unit 5. Creating Web Services with ColdFusion Components Unit 6: Using Flash Remoting to Retrieve Dynamic Data Unit 7: Using the DataGrid Component Unit 8: Persisting Data on Client and Server Unit 9: Working with Movie Clips in Flash Unit 10: Reusability: Creating MovieClips from Groups of Elements p.s. I can confirm that it's very task based. Again, there isn't any crap like, Use this nice shade of red in the background to match the colour of the setting sun. It's very focused on things that can apply to a web application. === Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFMAIL problems
Did you check to see if any of their customers are in the database twice? -Original Message- From: Gyrus [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 26, 2002 10:24 AM To: CF-Talk Subject: CFMAIL problems A client is reporting a problem where PDF bulletins being mailed out are being delivered twice to some of their customers. I'm still trying to get to the root of the problem - which I can't replicate on my local test system - but I thought I'd ask: if I can't find any obvious code problems (and I can't so far), what are the possibilities? They're running CF 4.5 SP2 on a Solaris box, their mailing list runs to only around 160 people, and the PDF attachments are are 150KB. Could this just be a CFMAIL limitation problem? I know it isn't that robust, and that upgrading to MX or getting something like iMS was going to be a possible necessity as the list expanded, but I didn't expect it to choke on this small volume. Obviously I want to guage the situation well before being confident it's not a code problem, and recommend that the client splash out more money! TIA, - Gyrus - [EMAIL PROTECTED] work: http://www.tengai.co.uk play: http://www.norlonto.net - PGP key available __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Ben's J2EE Book, now new course to be offered by MACR
Thing is - I can't imagine when I'd want to use animation when developing Flash apps for web components. Maybe my view is too limited - but I see myself using simple components and forms 99% of the time. I can't imagine needing something flying across the screen. That's for the black beret wearing art freaks. (And yes, I'm JUST joking. ;) === Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 8:57 AM To: CF-Talk Subject: RE: Ben's J2EE Book, now new course to be offered by MACR Thanks Ray, this does seem to be quite extensive and does teach the fundamentals of Flash as well... excellent. It does miss the point of Animation, but I suppose its out of scope. - Neil __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Ben's J2EE Book, now new course to be offered by MACR
rofl @ beret wearing art freaks... When this class comes out, I am definitely THERE. Simon, is Branden Hall teaching this one? Or is the info still fairly limited ? TIA Candace K. Cottrell, Web Developer The Children's Medical Center One Children's Plaza Dayton, OH 45404 937-641-4293 http://www.childrensdayton.org [EMAIL PROTECTED] [EMAIL PROTECTED] 9/30/2002 9:02:31 AM Thing is - I can't imagine when I'd want to use animation when developing Flash apps for web components. Maybe my view is too limited - but I see myself using simple components and forms 99% of the time. I can't imagine needing something flying across the screen. That's for the black beret wearing art freaks. (And yes, I'm JUST joking. ;) === Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 8:57 AM To: CF-Talk Subject: RE: Ben's J2EE Book, now new course to be offered by MACR Thanks Ray, this does seem to be quite extensive and does teach the fundamentals of Flash as well... excellent. It does miss the point of Animation, but I suppose its out of scope. - Neil __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Ben's J2EE Book, now new course to be offered by MACR
True, True, but maybe MM should have built or released an app / tool just for this purpose. It doesnt make sense to use an app like Flash for something so trivial, when HTML would suffice. Surely thats the gain? If you use Flash you get all the bells and whistles which eludes HTML etc There is no logic in just using it for the sake of using it (and because you can!). If you are going to use it then use ir properly. Its like buying CF and only using it to output Hello World! on a page. N -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 14:03 To: CF-Talk Subject: RE: Ben's J2EE Book, now new course to be offered by MACR Thing is - I can't imagine when I'd want to use animation when developing Flash apps for web components. Maybe my view is too limited - but I see myself using simple components and forms 99% of the time. I can't imagine needing something flying across the screen. That's for the black beret wearing art freaks. (And yes, I'm JUST joking. ;) === Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 8:57 AM To: CF-Talk Subject: RE: Ben's J2EE Book, now new course to be offered by MACR Thanks Ray, this does seem to be quite extensive and does teach the fundamentals of Flash as well... excellent. It does miss the point of Animation, but I suppose its out of scope. - Neil __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Ben's J2EE Book, now new course to be offered by MACR
Hi, Ray, and thanks for the info. Sounds like MM is address the potential that Flash has for revolutionizing the way Internet-based apps are developed. It will really bridge the gap between software-based apps and browser-based apps. From my view...forget the animation. Keeping the complication of animation inside, and requiring the continued use of the timeline interface will continue to drive away potential app builders. (Maybe a version that moves away from the timeline perspective, and focuses on app pages, instead?) I'm glad to see this is coming, but really wish that the info was available online for me to work through on my own. I like to learn things on my own, at my pace and time, instead of having to go to the time and expense of attending a class. (Some of us are *very small* businesses without the couple thousand needed to attend a class) Besides, the materials that class attenders will take away from the class will probably be sufficient for self-study, anyway. (Some people are never satisfied, huh?) How can it be in this age of information on the 'Net that MM, which promotes tools to be used in creating online training, is still selling travel and attend classes??? Turn them into online tutorials, charge for them (less, I hope), and turn the info loose! I do understand, however, that training is another profit-channel for MM, just like books for Ben... ;o) Rick -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 8:54 AM To: CF-Talk Subject: RE: Ben's J2EE Book, now new course to be offered by MACR FYI, info from the course outline. This MAY change before the course is actually released... Developing Rich Internet Applications with Macromedia Flash and ColdFusion MX is a 3-day class designed to teach experienced ColdFusion developers how to create powerful internet applications that take advantage of the flexibility of Flash MX, the ease of connectivity of Flash Remoting and the data manipulation power of ColdFusion MX. It is a task-based course that introduces the student to creating rich interfaces using pre-build components in Flash that manipulate dynamic data received from ColdFusion Unit 1: Introducing the Course Unit 2: Introducing the Macromedia Flash MX Interface Unit 3: ActionScript Fundamentals Unit 4: Working with Flash MX UI Components Unit 5. Creating Web Services with ColdFusion Components Unit 6: Using Flash Remoting to Retrieve Dynamic Data Unit 7: Using the DataGrid Component Unit 8: Persisting Data on Client and Server Unit 9: Working with Movie Clips in Flash Unit 10: Reusability: Creating MovieClips from Groups of Elements p.s. I can confirm that it's very task based. Again, there isn't any crap like, Use this nice shade of red in the background to match the colour of the setting sun. It's very focused on things that can apply to a web application. === Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Ben's J2EE Book, now new course to be offered by MACR
I'm glad to see this is coming, but really wish that the info was available online for me to work through on my own here herethis is crucial. N -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 14:19 To: CF-Talk Subject: RE: Ben's J2EE Book, now new course to be offered by MACR Hi, Ray, and thanks for the info. Sounds like MM is address the potential that Flash has for revolutionizing the way Internet-based apps are developed. It will really bridge the gap between software-based apps and browser-based apps. From my view...forget the animation. Keeping the complication of animation inside, and requiring the continued use of the timeline interface will continue to drive away potential app builders. (Maybe a version that moves away from the timeline perspective, and focuses on app pages, instead?) I'm glad to see this is coming, but really wish that the info was available online for me to work through on my own. I like to learn things on my own, at my pace and time, instead of having to go to the time and expense of attending a class. (Some of us are *very small* businesses without the couple thousand needed to attend a class) Besides, the materials that class attenders will take away from the class will probably be sufficient for self-study, anyway. (Some people are never satisfied, huh?) How can it be in this age of information on the 'Net that MM, which promotes tools to be used in creating online training, is still selling travel and attend classes??? Turn them into online tutorials, charge for them (less, I hope), and turn the info loose! I do understand, however, that training is another profit-channel for MM, just like books for Ben... ;o) Rick -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 8:54 AM To: CF-Talk Subject: RE: Ben's J2EE Book, now new course to be offered by MACR FYI, info from the course outline. This MAY change before the course is actually released... Developing Rich Internet Applications with Macromedia Flash and ColdFusion MX is a 3-day class designed to teach experienced ColdFusion developers how to create powerful internet applications that take advantage of the flexibility of Flash MX, the ease of connectivity of Flash Remoting and the data manipulation power of ColdFusion MX. It is a task-based course that introduces the student to creating rich interfaces using pre-build components in Flash that manipulate dynamic data received from ColdFusion Unit 1: Introducing the Course Unit 2: Introducing the Macromedia Flash MX Interface Unit 3: ActionScript Fundamentals Unit 4: Working with Flash MX UI Components Unit 5. Creating Web Services with ColdFusion Components Unit 6: Using Flash Remoting to Retrieve Dynamic Data Unit 7: Using the DataGrid Component Unit 8: Persisting Data on Client and Server Unit 9: Working with Movie Clips in Flash Unit 10: Reusability: Creating MovieClips from Groups of Elements p.s. I can confirm that it's very task based. Again, there isn't any crap like, Use this nice shade of red in the background to match the colour of the setting sun. It's very focused on things that can apply to a web application. === Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Ben's J2EE Book, now new course to be offered by MACR
I agree, Ray - I've had no use for Flash, even though I appreciate some of the animation it's produced. It's been an interesting *diversion* from the best uses of the Internet, and it's current use on the 'Net testifies to that perspective. It's basically an advertiser's tool...and advertisers are always looking for anything different to try to attract attention. But for the main work of the Internet, presenting and manipulating data, it's had no place. I beleive apps should look good, but Flash is just overkill for creating asthetically appealing sites. Most clients aren't interesting in paying for that kind of eye-candy. My work would be like yours, a few reusable graphics templates, basic components and forms, and I'm working 99% of the time. Probably never use any animation...Same reason I never use DHTML to make a photo fly onto the screen instead of just having it appear... Thanks for your interest in making Flash MX, especially AS, accessible to the unwashed masses. Rick -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 9:03 AM To: CF-Talk Subject: RE: Ben's J2EE Book, now new course to be offered by MACR Thing is - I can't imagine when I'd want to use animation when developing Flash apps for web components. Maybe my view is too limited - but I see myself using simple components and forms 99% of the time. I can't imagine needing something flying across the screen. That's for the black beret wearing art freaks. (And yes, I'm JUST joking. ;) === Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 8:57 AM To: CF-Talk Subject: RE: Ben's J2EE Book, now new course to be offered by MACR Thanks Ray, this does seem to be quite extensive and does teach the fundamentals of Flash as well... excellent. It does miss the point of Animation, but I suppose its out of scope. - Neil __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Ben's J2EE Book, now new course to be offered by MACR
Trivial? Have you used DHTML lately? (grin). There are many things that Flash can do that one could do in DHTML - however the fact that you have 99% less cross-platform headaches would make even simple stuff better in Flash I think. I think Flash has more bells and whistles than just animation. Certainly being able to tie in remoting to a flash app, even one that is a simple form, adds a level of sophistication that you can't get in DHTML. I know you can do server pings with DHTML, but this is normally done via IFRAME, layer hacks. I'm not a Flash guru, so I'll stop there. Maybe I'll never use Flash to it's full potential - but I can say I'd _much_ rather use Flash now that I've got a good handle on it. All the books I've seen in the past tried to make me learn the animation crap that I'll just never have a use for. The course focused on things that made me see that I really can use Flash in my apps - right now. P.S. Yes, I work for Macromedia (well, not for much longer), so I'm probably biased. I just want people here to know that I'm not just saying this because I work for the company. I really have gained a _much_ bigger appreciation for what Flash can do for me as a 'coder geek'. If anyone thinks its out of place for a MACR employee to tout Flash... well... sorry. ;) === Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 9:09 AM To: CF-Talk Subject: RE: Ben's J2EE Book, now new course to be offered by MACR True, True, but maybe MM should have built or released an app / tool just for this purpose. It doesnt make sense to use an app like Flash for something so trivial, when HTML would suffice. Surely thats the gain? If you use Flash you get all the bells and whistles which eludes HTML etc There is no logic in just using it for the sake of using it (and because you can!). If you are going to use it then use ir properly. Its like buying CF and only using it to output Hello World! on a page. N __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Ben's J2EE Book, now new course to be offered by MACR
Thanks for your interest in making Flash MX, especially AS, accessible to the unwashed masses. Well, I certainly can't take credit for any of this. There are some very good people in our education department. In this case they wrote something that is EXTREMELY dead on for the coders. Sorry if I sound like a fan-boy or marketer, I just can't stop raving about this new class. I would recommend it to anyone. === Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Ben's J2EE Book, now new course to be offered by MACR
C'mon! :-) you really cant be serious? you are trying to compare Flash to DHTML?! Flash is an infinitely superior in everyway !!! I like Flash, dont get me wrong, but if all you are doing it linking to a DB for a static form or grid etc, then you may as well use HTML and no I am not anti Flash Remoting - far from it, I just dont see the business benefit (development time = cost) of using say Flash for things which could be developed in normal HTML. What I am driving at is this : there is no real 'Spectrum of Participants' (sorry Ray) of how to get a movie up and running. It is a complex combination of designers/aniimators and developers to get things working in any decent shape or formhas this been defined? I have seen some docs, but I have not read 100% into them as of yet so I am open for more pointers. N -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 14:20 To: CF-Talk Subject: RE: Ben's J2EE Book, now new course to be offered by MACR Trivial? Have you used DHTML lately? (grin). There are many things that Flash can do that one could do in DHTML - however the fact that you have 99% less cross-platform headaches would make even simple stuff better in Flash I think. I think Flash has more bells and whistles than just animation. Certainly being able to tie in remoting to a flash app, even one that is a simple form, adds a level of sophistication that you can't get in DHTML. I know you can do server pings with DHTML, but this is normally done via IFRAME, layer hacks. I'm not a Flash guru, so I'll stop there. Maybe I'll never use Flash to it's full potential - but I can say I'd _much_ rather use Flash now that I've got a good handle on it. All the books I've seen in the past tried to make me learn the animation crap that I'll just never have a use for. The course focused on things that made me see that I really can use Flash in my apps - right now. P.S. Yes, I work for Macromedia (well, not for much longer), so I'm probably biased. I just want people here to know that I'm not just saying this because I work for the company. I really have gained a _much_ bigger appreciation for what Flash can do for me as a 'coder geek'. If anyone thinks its out of place for a MACR employee to tout Flash... well... sorry. ;) === Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 9:09 AM To: CF-Talk Subject: RE: Ben's J2EE Book, now new course to be offered by MACR True, True, but maybe MM should have built or released an app / tool just for this purpose. It doesnt make sense to use an app like Flash for something so trivial, when HTML would suffice. Surely thats the gain? If you use Flash you get all the bells and whistles which eludes HTML etc There is no logic in just using it for the sake of using it (and because you can!). If you are going to use it then use ir properly. Its like buying CF and only using it to output Hello World! on a page. N __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
New course to be offered by MACR
Would you say using Flash as an interface tool and CF as the back end tool would force us to separate logic from presentation? Candace K. Cottrell, Web Developer The Children's Medical Center One Children's Plaza Dayton, OH 45404 937-641-4293 http://www.childrensdayton.org [EMAIL PROTECTED] __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Ben's J2EE Book, now new course to be offered by MACR
Just read up on this thread. Glad to See MM are addressing the issue full on, however I am wondering if they may also be addressing the issue of training accomplished Flash Developers in the art of Application development with CF? The main problem which I have encountered is not in learning how to integrate CF and Flash. I've been toying with this idea since Generator beta release. However the problem usually lies in finding competent flash designers to work alongside in developing the applications. I'd do it all myself, but my graphic and flash skills are too limited to create the kind of interfaces which I tend to visualise. An example of the kind of thing I'm attempting to achieve with flash/CF would be similar to the vehicle workshop screens found in most modern driving games e.g. Colin Mc Crae II etc, for configuring new vehicle options etc. Just my 2c Dave -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 14:23 To: CF-Talk Subject: RE: Ben's J2EE Book, now new course to be offered by MACR Thanks for your interest in making Flash MX, especially AS, accessible to the unwashed masses. Well, I certainly can't take credit for any of this. There are some very good people in our education department. In this case they wrote something that is EXTREMELY dead on for the coders. Sorry if I sound like a fan-boy or marketer, I just can't stop raving about this new class. I would recommend it to anyone. === Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: New course to be offered by MACR
No, as a certain degree of 'logic' will have to be contained within the movie itself. -Original Message- From: Candace Cottrell [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 14:31 To: CF-Talk Subject: New course to be offered by MACR Would you say using Flash as an interface tool and CF as the back end tool would force us to separate logic from presentation? Candace K. Cottrell, Web Developer The Children's Medical Center One Children's Plaza Dayton, OH 45404 937-641-4293 http://www.childrensdayton.org [EMAIL PROTECTED] __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Ben's J2EE Book, now new course to be offered by MACR
I like Flash, dont get me wrong, but if all you are doing it linking to a DB for a static form or grid etc, then you may as well use HTML and no I am not anti Flash Remoting - far from it, I just dont see the business benefit (development time = cost) of using say Flash for things which could be developed in normal HTML. Ah, well, when I said 'simple' forms, I did mean something a bit more than static forms. What I am driving at is this : there is no real 'Spectrum of Participants' (sorry Ray) of how to get a movie up and running. It is a complex combination of designers/aniimators and developers to get things working in any decent shape or formhas this been defined? I have seen some docs, but I have not read 100% into them as of yet so I am open for more pointers. This is a good question. My opinion (and let me stress, it's MY opinion, not official MACR policy) that there is some things that the art freak could do in CFML. For example - simple CFCs. This is because CFML is so dang easy. The art freak doesn't need to be a code guru to do some very nice things in CFML that will help extend their Flash apps. I think the reverse applies. I don't think I'll ever be a Flash guru - but there are things that I can learn that will be very useful to my web application development. Certainly I'd hire the art freak to take my flash form and make it prettier - if I needed it. Ditto on the reverse side. If the art freak had issues doing complex SQL, they would let the DBA or CFML coder take over. I guess I'm saying I think the course will make me more useful as a developer. In ways, it's almost like having a _very_ extendible form of HTML at my finger tips. Once I got past the ... I don't know, not wierd, but just different feel of the Flash editor, it all came down to simple rules and action script - and any CFML person can learn AS. === Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: more cfstoredproc issues ...
Thanks for the suggestion josh. I didn't think I had used any cf_sql_date flags... I did a search and replace on wwwroot including subfolders just to be sure and it didn't replace anything, so... I do not know if this may be the underlying cause of the error but I do know that if sql is your database you cannot use timestamp as the datatype when you are passing in a date time field. It has to be CF_SQL_DATE. There was a disscusion about this on here last week but I think the person having the problem was using CFMX and M$SQL. Hope this helps you out and that I didnt misunderstand that whole think last week. Josh Isaac Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: New course to be offered by MACR
Less force and more encourage, I'd say. --- Ben -Original Message- From: Candace Cottrell [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 9:31 AM To: CF-Talk Subject: New course to be offered by MACR Would you say using Flash as an interface tool and CF as the back end tool would force us to separate logic from presentation? Candace K. Cottrell, Web Developer The Children's Medical Center One Children's Plaza Dayton, OH 45404 937-641-4293 http://www.childrensdayton.org [EMAIL PROTECTED] __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: New course to be offered by MACR
I still dont think its anywhere near what it needs to be. -Original Message- From: Ben Forta [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 14:40 To: CF-Talk Subject: RE: New course to be offered by MACR Less force and more encourage, I'd say. --- Ben -Original Message- From: Candace Cottrell [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 9:31 AM To: CF-Talk Subject: New course to be offered by MACR Would you say using Flash as an interface tool and CF as the back end tool would force us to separate logic from presentation? Candace K. Cottrell, Web Developer The Children's Medical Center One Children's Plaza Dayton, OH 45404 937-641-4293 http://www.childrensdayton.org [EMAIL PROTECTED] __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: more cfstoredproc issues ...
Figured it was a long shot, but I tried it -- no dice. Thanks for the suggestion Ade, Whenever I right an SP I use.. CREATE PROCEDURE someSP somthing AS int, somethingelse AS varchar(50) I don't know if not using the AS is ok or not but give it a go, see if it fixes it Ade Isaac Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Flash not updating in Mozilla or Netscape 7
Is there a known CF bug with flash graphics not updating correctly in these browsers, with CFServer 4.5.1 ? Tom Chiverton You don't have to be a mad scientist to believe in ColdFusion __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Ben's J2EE Book, now new course to be offered by MACR
Yep, thanks Ray, and indeed what you are saying is that the path is defined as you require it - if you need a DBA you source one etc.. I think Flash Remoting and Flash movies have a place in development (take the Flash Expression Panel :-) but I think unless the need for having the full version of Flash is removed, there will always be a sticking point. -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 14:39 To: CF-Talk Subject: RE: Ben's J2EE Book, now new course to be offered by MACR I like Flash, dont get me wrong, but if all you are doing it linking to a DB for a static form or grid etc, then you may as well use HTML and no I am not anti Flash Remoting - far from it, I just dont see the business benefit (development time = cost) of using say Flash for things which could be developed in normal HTML. Ah, well, when I said 'simple' forms, I did mean something a bit more than static forms. What I am driving at is this : there is no real 'Spectrum of Participants' (sorry Ray) of how to get a movie up and running. It is a complex combination of designers/aniimators and developers to get things working in any decent shape or formhas this been defined? I have seen some docs, but I have not read 100% into them as of yet so I am open for more pointers. This is a good question. My opinion (and let me stress, it's MY opinion, not official MACR policy) that there is some things that the art freak could do in CFML. For example - simple CFCs. This is because CFML is so dang easy. The art freak doesn't need to be a code guru to do some very nice things in CFML that will help extend their Flash apps. I think the reverse applies. I don't think I'll ever be a Flash guru - but there are things that I can learn that will be very useful to my web application development. Certainly I'd hire the art freak to take my flash form and make it prettier - if I needed it. Ditto on the reverse side. If the art freak had issues doing complex SQL, they would let the DBA or CFML coder take over. I guess I'm saying I think the course will make me more useful as a developer. In ways, it's almost like having a _very_ extendible form of HTML at my finger tips. Once I got past the ... I don't know, not wierd, but just different feel of the Flash editor, it all came down to simple rules and action script - and any CFML person can learn AS. === Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Running ColdFusion MX as specific user
This is a multi-part message in MIME format. --_=_NextPart_001_01C2688A.86A48660 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable I am trying to get ColdFusion MX to run under a specifi user account. As long as that user is a memeber of the administrator group, it seems to run fine. In CF5 you had to set specific access rights on the registry and the file system as described in KB 11859, however we cannot find out how to set those rights in MX. =20 Does anyone have any idea which specific rights on registry and/or user rights for the Win2K user account are necessary to run the service under non-administrative user account? Are there any drawbacks with this approach? Generally we like to run services with as little rights as necessary under secure live-environments. =20 Thanks, =20 Stefan =20 =20 --_=_NextPart_001_01C2688A.86A48660 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN HTMLHEADTITLEMessage/TITLE META http-equiv=3DContent-Type content=3Dtext/html; = charset=3Dus-ascii META content=3DMSHTML 6.00.2800.1106 name=3DGENERATOR/HEAD BODY DIVSPAN class=3D022234813-30092002FONT face=3DArial size=3D2I am = trying to get=20 ColdFusion MX to run under a specifi user account. As long as that user = is a=20 memeber of the administrator group, it seems to run fine. In CF5 you had = to set=20 specific access rights on the registry and the file system as described = in KB=20 11859, however we cannot find out how to set those rights in=20 MX./FONT/SPAN/DIV DIVSPAN class=3D022234813-30092002FONT face=3DArial=20 size=3D2/FONT/SPANnbsp;/DIV DIVSPAN class=3D022234813-30092002FONT face=3DArial size=3D2Does = anyone have any=20 idea which specific rights on registry and/or user rights for the Win2K = user=20 account are necessary to run the service under non-administrative user = account?=20 Are there any drawbacks with this approach? Generally we like to run = services=20 with as little rights as necessary under secure=20 live-environments./FONT/SPAN/DIV DIVSPAN class=3D022234813-30092002FONT face=3DArial=20 size=3D2/FONT/SPANnbsp;/DIV DIVSPAN class=3D022234813-30092002FONT face=3DArial=20 size=3D2Thanks,/FONT/SPAN/DIV DIVSPAN class=3D022234813-30092002FONT face=3DArial=20 size=3D2/FONT/SPANnbsp;/DIV DIVSPAN class=3D022234813-30092002FONT face=3DArial=20 size=3D2Stefan/FONT/SPAN/DIV DIVSPAN class=3D022234813-30092002FONT face=3DArial=20 size=3D2/FONT/SPANnbsp;/DIV DIVSPAN class=3D022234813-30092002/SPANnbsp;/DIV/BODY/HTML =00 --_=_NextPart_001_01C2688A.86A48660-- FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Locking
Thanks for the advice, Isaac. One other question, can you see any reason why it would be bad to set all my application variables in application.cfm and then use an if test to prevents further cfsets? What do you think of this technique or are there better ones? My colleague and I are having this debate currently. Rob It depends how much data is in your application scope and how much of it will be relevant on any given page... I'm inclined to think that you won't want to shot-gun it quite that much, although you may not have to go too much further... Instead of duplicating the entire application scope, try and figure out what information will be specific to a given request in the application.cfm, for instance, if this is an app which requires a login and user session information is stored in the application scope, you might copy just the user session structure for the current user and not the whole array or structure containing all logged in users. For the remaining variables, you might loop through the application structure and copy only those which are simple values, i.e. cflock scope=application timeout=30 type=readonly cfset request.user = application.user[urltoken] cfloop item = x collection=application cfif issimplevalue(application[x]) cfset request[x] = application[x] /cfif /cfloop /cflock I've had good luck with a similar application architecture on CF5. Isaac Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 Hi, I'm upgrading from CF 4.0.1 to CF 5 and I have read that locking changed from 4.0 to 4.5. I'm currently using application variables and wanted some thoughts on this: Does anyone see any issues with moving all of my application variables to the request scope in application.cfm using: cflock SCOPE=Application Timeout=30 Type=Readonly cfset request=duplicate(application) /cflock So am I correct that this would mean if i had variables application.foo and application.foobar they will then be request.foo and request.foobar? Would it be wise to set the request variables in another page other than application.cfm since application.cfm is always hit? OR is there a better way to deal with this? Any tips/tricks/advice is appreciated! __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
OT (kinda) Unix/CFFILE ?
In our applications, we make use of cffile quite abit, and would like to know what are the best CHMOD permission settings for the following examples. Uploading and Deleting Images /site/images/site_images/ -- To the site_images directory Writing Files to /site/ !-- Deleting and writing files What permissions would you set on these two directories? Thank You Paul Giesenhagen QuillDesign __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Verity operators - THESAURUS, TYPO, SOUNDEX
Are these available with CF5 too, or are they new to MX? will -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 13:29 To: CF-Talk Subject: RE: Verity operators - THESAURUS, TYPO, SOUNDEX They are available - you don't need to do anything special to use them - you just use them. (Although I believe you have to use type=explicit in your cfsearch tag.) I'm not sure what the cost to performance is - most likely more than a simple search, but probably not bad. === Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Nick de Voil [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 4:11 AM To: CF-Talk Subject: Verity operators - THESAURUS, TYPO, SOUNDEX I'm looking at this Verity doc http://www.verity.com/pdf/white_papers/MK0348a_Discovery_WP.pdf and I like the look of the THESAURUS, TYPO and SOUNDEX evidence operators. Are these available via CF? If not, what do I have to do to get them and what does it cost? __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Ben's J2EE Book, now new course to be offered by MACR
Personally, I think that once this new paradigm of Flash Remoting is known by the person with enough vision and skills, new interface tools will be created that will do what Flash does in DB connectivity without the baggage that Flash brings from its beginning as a complicated and work-intensive graphics tool. The tool that dumps that complex, heavy Flash animation baggage and allows adequate graphic design, but continues to develop one-page browser-based, Internet-enabled DB-connected app development will win the day and the dollars. Believe me, I believe in good graphic design...I do graphic design work for print, web, and video every day. With print and video, which lack interactivity, presentation is very important to success. Graphic design can make or break a successful video presentation. But when it comes to the Internet, the functionality is what's far more critical. (Just take a look at many of the most successful sites on the Internet and it's amazing how little effort is obviously put into the design...but the functionality make it successful.) If another tool came along that would do what Flash Remoting enables, without the complicated Flash interface, I jump all over it...but really, for me, it's not the Flash interface that's the trouble, as a timeline based video editor, it makes sense to me. Even MM's attempt to get coders to think of the frames as states makes sense. Creating graphics with Flash is simple... It's just the AS that I haven't found training wheels for, yet. Rick -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 9:52 AM To: CF-Talk Subject: RE: Ben's J2EE Book, now new course to be offered by MACR Yep, thanks Ray, and indeed what you are saying is that the path is defined as you require it - if you need a DBA you source one etc.. I think Flash Remoting and Flash movies have a place in development (take the Flash Expression Panel :-) but I think unless the need for having the full version of Flash is removed, there will always be a sticking point. -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 14:39 To: CF-Talk Subject: RE: Ben's J2EE Book, now new course to be offered by MACR I like Flash, dont get me wrong, but if all you are doing it linking to a DB for a static form or grid etc, then you may as well use HTML and no I am not anti Flash Remoting - far from it, I just dont see the business benefit (development time = cost) of using say Flash for things which could be developed in normal HTML. Ah, well, when I said 'simple' forms, I did mean something a bit more than static forms. What I am driving at is this : there is no real 'Spectrum of Participants' (sorry Ray) of how to get a movie up and running. It is a complex combination of designers/aniimators and developers to get things working in any decent shape or formhas this been defined? I have seen some docs, but I have not read 100% into them as of yet so I am open for more pointers. This is a good question. My opinion (and let me stress, it's MY opinion, not official MACR policy) that there is some things that the art freak could do in CFML. For example - simple CFCs. This is because CFML is so dang easy. The art freak doesn't need to be a code guru to do some very nice things in CFML that will help extend their Flash apps. I think the reverse applies. I don't think I'll ever be a Flash guru - but there are things that I can learn that will be very useful to my web application development. Certainly I'd hire the art freak to take my flash form and make it prettier - if I needed it. Ditto on the reverse side. If the art freak had issues doing complex SQL, they would let the DBA or CFML coder take over. I guess I'm saying I think the course will make me more useful as a developer. In ways, it's almost like having a _very_ extendible form of HTML at my finger tips. Once I got past the ... I don't know, not wierd, but just different feel of the Flash editor, it all came down to simple rules and action script - and any CFML person can learn AS. === Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: UDF Vs CFC (was RE: So many problems with CFC scopes...)
I can hazard good guesses, but what do you mean by view, controller and model layers? Ooops... sorry. It refers to the MVC pattern : Model View Controller. - View : the presentation layer (there is usually a HTML-based view layer generated by CFML pages), - Controller : the application flow control, it receives request from the View layer, executes application logic, calls the model layer and returns the response to the View layer, (in web app, it usually handles data posted by forms and then redirect to a page) - Model : the application business logic and data access layer (done with CFCs in ColdfusionMX). As for cfczone.org Vs udflib.org, it is true that they are going to overlapp in some area. All the 'udflib' functions might be encapsulated into CFCs and put on 'cfczone'... And this is probably what is going to happen. In our case, all our CFCs are linked to our application (and therefore to our business logic) and could not be put or could not come from 'cfczone'. All our UDFs are not linked to our application and are coming from 'udflib'. But, in some cases CFCs might be more appropriate than UDF to encapsulate generic logic : when you need to have an object-oriented logic. Indeed, the advantage of CFCs over UDFs is their ability to have (or simulate) an 'object-oriented/object-based' behaviour. For example, CFC are great to be used as wrapper of existing java classes (it keeps the object behaviour of the java class and hide its complexity). With CFC, you can manipulate objects that are persistent during the request : - create an object, - call object.method1(), - call object.method2()... The object keep his state/properties in between each calls. With UDF, you can't really have this kind of approach. So, for generic logic encapsulation, I would use : - UDF / udflib.org for procedural logic (functions), - CFC / cfczone.org for object-oriented logic. But, again, this is in my opinion, so I prefer to stop here otherwise it is going to be another never-ending thread... ;) This is really a matter of personal preference/coding style. Benoit Hediard www.benorama.com -Message d'origine- De : Gyrus [mailto:[EMAIL PROTECTED]] Envoyé : lundi 30 septembre 2002 14:03 À : CF-Talk Objet : Re: UDF Vs CFC (was RE: So many problems with CFC scopes...) Benoit, thanks for the summary of your rules-of-thumb for CF modularisation. I'll check out your site later. For now, could you clear up some terminology for this no-CS-background designer-turned-coder? ;-) I can hazard good guesses, but what do you mean by view, controller and model layers? Also, I know the idea of business rules from relational DB design - am I right in saying you're using business logic here in a similar sense, to apply to the CF application? That is, it refers to procedures and functions mostly specific to the current application? If this is so, am I right in saying that, given your personal rules, cflib.org for sharing UDFs is useful, but cfczone.org for sharing CFC's is less useful? I know it's fine to use CFC's for generic functions and cfczone.org will probably become as useful as cflib.org, I'm just trying to gauge the meaning of your rules with this analogy. If you use CFCs for business logic encapsulation, they may not be very portable - unless I'm taking the term business logic in a too narrow sense. - Gyrus - [EMAIL PROTECTED] work: http://www.tengai.co.uk play: http://www.norlonto.net - PGP key available - Original Message - From: Benoit Hediard [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, September 30, 2002 9:26 AM Subject: UDF Vs CFC (was RE: So many problems with CFC scopes...) I agree with you Raymond. But it is true that is more personal preference/coding style terms than performance/architecture terms. This are my personal rules : CUSTOM TAGS (ColdFusion Taglibs) - custom tags encapsulates presentation logic they always output content (usually HTML), - custom tags usually do not call the model or controller layer, - custom tags are only used by the presentation layer (page or pagelet scripts). They are used for presentation logic encapsulation. USER DEFINED FUNCTIONS (UDF) - user defined functions encapsulate generic logic and rarely output content (except for string formatting purposes), - user defined functions do not call the model or controller layer, - user defined functions are used in any layer (view, controller or model). They are used generic logic/function encapsulation. COLDFUSION COMPONENTS (CFC) - components encapsulate business/data access application logic and never output content, - components are called by the view layer only to read data, - components are called by the controller layer to create/update/delete data. They are used for business logic encapsulation. .. I've put some examples here http://www.benorama.com/coldfusion/patterns/part3.htm Benoit Hediard
RE: Verity operators - THESAURUS, TYPO, SOUNDEX
They were in CF5 as well. === Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Will Swain [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 10:13 AM To: CF-Talk Subject: RE: Verity operators - THESAURUS, TYPO, SOUNDEX Are these available with CF5 too, or are they new to MX? will -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 13:29 To: CF-Talk Subject: RE: Verity operators - THESAURUS, TYPO, SOUNDEX They are available - you don't need to do anything special to use them - you just use them. (Although I believe you have to use type=explicit in your cfsearch tag.) I'm not sure what the cost to performance is - most likely more than a simple search, but probably not bad. == = Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Nick de Voil [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 4:11 AM To: CF-Talk Subject: Verity operators - THESAURUS, TYPO, SOUNDEX I'm looking at this Verity doc http://www.verity.com/pdf/white_papers/MK0348a_Discovery_WP.pdf and I like the look of the THESAURUS, TYPO and SOUNDEX evidence operators. Are these available via CF? If not, what do I have to do to get them and what does it cost? __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Flash for data views : WAS Ben's J2EE Book, now new course to be offered by MACR
-Original Message- From: Robertson-Ravo, Neil (REC) I like Flash, dont get me wrong, but if all you are doing it linking to a DB for a static form or grid etc, then you may as well use HTML and no I am not anti Flash Remoting - far from it, I just dont see the business benefit (development time = cost) of using say Flash for things which could be developed in normal HTML. If all you are doing is presenting data to the user with no interaction, then there is not much advantage to using Flash. However, if the users interacts with that data in any way, then there are advantages. Namely, the fact that the entire page will not need to be refreshed to update the data view (or to submit data, etc). btw, that workflow requires no animation. I have been working with Flash for about 4 years now, and I dont think i have done any animation for about 2 years. All of my Flash applications consists of one Frame which a bunch of components, and data going back and forth from Flash and the server. What I am driving at is this : there is no real 'Spectrum of Participants' (sorry Ray) of how to get a movie up and running. For what its worth, here is my workflow. 1. create functionality of movie using ActionScript and components. 2. send it to a designer to make it look pretty. btw, as far as time and costs, in a lot of cases i think the developing in Flash is easier / faster than in HTML since I don't have to write a bunch of code that maintains client state across page views. mike chambers [EMAIL PROTECTED] __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Reverse PDF tools
Ok... I know I can take HTML or other doc formats and automate the process of converting them into PDF format. Does anyone know of a tool that can do the reverse? I need to unpack a PDF page into source images and text. Anyone? -mk __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Flash for data views : WAS Ben's J2EE Book, now new course to be offered by MACR
If all you are doing is presenting data to the user with no interaction, then there is not much advantage to using Flash. However, if the users interacts with that data in any way, then there are advantages. Namely, the fact that the entire page will not need to be refreshed to update the data view (or to submit data, etc). I disagree. Things like the datasheet component are very useful for displaying data. I think any case where you have a large or complex amount of data to display could use Flash to make the UI easier to handle. Of course, you may have meant interaction to mean sorting or filtering of some kind. I took interaction to mean editing. -ray __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Help attaching a dynamic pdf to an email
It's been a few years since I had to work with FDFs so forgive me if my info is a bit off, but... my understanding is that you don't need to attach the PDF, just the FDF. Note the line in the FDF that begins with /F. It indicates a URL from where the PDF can be downloaded. What should happen is that the recipient opens the FDF, Acrobat sees that /F bit and downloads the indicated PDF, filling in the fields as indicated in the FDF. -- Mosh Teitelbaum evoch, LLC Tel: (301) 625-9191 Fax: (301) 933-3651 Email: [EMAIL PROTECTED] WWW: http://www.evoch.com/ -Original Message- From: Adam Sokolic [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 10:51 AM To: CF-Talk Subject: Help attaching a dynamic pdf to an email I'm attempting to generate a pdf through fields in a database (this part I have working fine) and then take that pdf file and attach it to an email. I'm using the Max Paperno tutorial to accomplish this, so the code reads: CFHEADER NAME=Content-Disposition VALUE=inline; filename=gift.fdf CFCONTENT TYPE=application/vnd.fdf cfinclude template=gift.fdf And all my variables fill in. However when, I then go to attach the file to an email (using cfmail with a cfmailparam tag) it attaches the original pdf which shows the cf variable names instead of the actaual dynamic data. My fdf file reads as: cfoutput %FDF-1.2 %âãÏÓ 1 0 obj /FDF /Fields [ /V (#expdate#)/T (expdate) /V (#serialnum#)/T (serialnum) /V (#clubrenewal.username#)/T (username) ] /F (http://www.gostarpower.com/club/coupon/gift.pdf)/ID [ 592d65d9f72506dde1135c341d9fdab93b3abd4eb0b65949c24c7ebb37fb1f7f ] endobj trailer /Root 1 0 R %%EOF /cfoutput I know that activepdf would most likely accomplish this, but I'm not at the point of wanting to spend $$ on it. Any help or thoughts would be greatly appreciated. Thank you, Adam M. Sokolic STAR POWER Systems, Inc. Web Developer Boulder, CO Phone:303-209-0219 or 1-800-635-6750 x219 Fax: 303-449-4222 E-Mail: [EMAIL PROTECTED] Visit the STAR POWER® Online Network: http://www.GoStarPower.com (Company Info, Chats, Events, Product Resources) __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Verity operators - THESAURUS, TYPO, SOUNDEX
lovely...thanks Ray w -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 15:18 To: CF-Talk Subject: RE: Verity operators - THESAURUS, TYPO, SOUNDEX They were in CF5 as well. === Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Reverse PDF tools
If you are looking to do this manually, I like to use Adobe Illustrator to change the PDF to EPS, save the images and then resize / output them in Photoshop. I have no idea of what tool you would use to automate this process. M -Original Message- From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 10:44 AM To: CF-Talk Subject: Reverse PDF tools Ok... I know I can take HTML or other doc formats and automate the process of converting them into PDF format. Does anyone know of a tool that can do the reverse? I need to unpack a PDF page into source images and text. Anyone? -mk __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Running ColdFusion MX as specific user
I am trying to get ColdFusion MX to run under a specific user account. As long as that user is a memeber of the administrator group, it seems to run fine. In CF5 you had to set specific access rights on the registry and the file system as described in KB 11859, however we cannot find out how to set those rights in MX. Does anyone have any idea which specific rights on registry and/or user rights for the Win2K user account are necessary to run the service under non-administrative user account? Are there any drawbacks with this approach? Generally we like to run services with as little rights as necessary under secure live-environments. It's been my experience that this is easier to set up with CF MX than with previous versions of CF. I've done this more than once already. I'm currently running CF MX with a user account which is a member of the Users group, and nothing else changed about the account except that I had to grant it the Log on as a service right. I could probably tighten this a little more, but haven't tried yet. On the filesystem, I allowed this account RWXD on the contents of \CFusionMX (I suspect this could be tightened considerably in places) and read rights to the web root directory (I'm using CF MX through IIS). I didn't have to change any registry rights, and I don't think CF MX uses the registry for anything any more, by default, except for client variables - and I turned that off already. If you did want to use client variables in the registry, I think the new key is HKLM\SOFTWARE\Macromedia\coldfusion\currentversion\clients. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
CFQUERY: All employees who haven't entered data...
Hey all, Is there a simple SQL statement that would allow me to select all the employees...or all the EmpIds that are NOT in the Master table.. So I have tblEmployees and tblMaster. Basically I want to display all the bad bad people that did not enter their time for a specific period...an exception report. I can do this easily without factoring a time period, but once I put the Time Period in..it no longer works.. Without Time Period: CFQUERY Name=GetExceptions datasource=#DSN# SELECT tblEmployees.EmpName, tblEmployees.DeptID FROM tblEmployees LEFT JOIN tblMaster ON tblEmployees.ID = tblMaster.empid WHERE tblMaster.empid Is Null /CFQUERY This just shows Employees who have never entered time at all. That isn't exactly what I want. With Time Period CFQUERY Name=GetExceptions datasource=#DSN# SELECT tblEmployees.EmpName, tblEmployees.DeptID FROM tblEmployees LEFT JOIN tblMaster ON tblEmployees.ID = tblMaster.empid WHERE tblMaster.startdate = #CreateODBCDate(enddate)# AND tblMaster.startdate = #CreateODBCDate(startdate)# AND tblMaster.empid Is Null /CFQUERY I want this to show Employees that haven't entered time for a specific period... I know my SQL is confused somewhere along the line...can anyone help? -Angel __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
error with a piece of cfscript code and I can't see what's wrong?
** WESTMINSTER CITY COUNCIL Please refer to the disclaimer beneath this message ** Can anyone see what's wrong with this: cfscript If (NOT IsDefined(Form.business_types) AND (IsDefined(Form.residents)) { session.ResidentsOnly = yes; } Else If (NOT IsDefined(Form.residents)) AND (IsDefined(Form.business_type)) { session.BusinessOnly = yes; session.ListOfBusiness = #Form.business_types#; } Else { session.ResidentsAndBusiness = yes; session.ListOfBusiness = #Form.business_types#; } /cfscript This is the error I keep getting: Error Diagnostic Information Just in time compilation error Invalid parser construct found on line 67 at position 79. ColdFusion was looking at the following text:{Invalid expression format. The usual cause is an error in the expression structure. The last successfully parsed CFML construct was a CFSCRIPT tag occupying document position (66:3) to (66:12). ** Westminster City Council switchboard: +44 20 7641 6000 ** This E-Mail may contain information which is privileged, confidential and protected from disclosure. If you are not the intended recipient of this E-mail or any part of it, please telephone Westminster City Council immediately on receipt. You should not disclose the contents to any other person or take copies. ** __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Flash for data views : WAS Ben's J2EE Book, now new course t o be offered by MACR
so you are using an animation tool and doing no an animation? I may just be a tad blinkered, but its like using IE to browser text files and not HTML doesnt make sense... -Original Message- From: Mike Chambers [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 15:35 To: CF-Talk Subject: Flash for data views : WAS Ben's J2EE Book, now new course to be offered by MACR -Original Message- From: Robertson-Ravo, Neil (REC) I like Flash, dont get me wrong, but if all you are doing it linking to a DB for a static form or grid etc, then you may as well use HTML and no I am not anti Flash Remoting - far from it, I just dont see the business benefit (development time = cost) of using say Flash for things which could be developed in normal HTML. If all you are doing is presenting data to the user with no interaction, then there is not much advantage to using Flash. However, if the users interacts with that data in any way, then there are advantages. Namely, the fact that the entire page will not need to be refreshed to update the data view (or to submit data, etc). btw, that workflow requires no animation. I have been working with Flash for about 4 years now, and I dont think i have done any animation for about 2 years. All of my Flash applications consists of one Frame which a bunch of components, and data going back and forth from Flash and the server. What I am driving at is this : there is no real 'Spectrum of Participants' (sorry Ray) of how to get a movie up and running. For what its worth, here is my workflow. 1. create functionality of movie using ActionScript and components. 2. send it to a designer to make it look pretty. btw, as far as time and costs, in a lot of cases i think the developing in Flash is easier / faster than in HTML since I don't have to write a bunch of code that maintains client state across page views. mike chambers [EMAIL PROTECTED] __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Slightly OT: Altering access tables in CF...
I am getting an error when I try to alter an Access table in CF. Has anyone had any success doing this? Thanks, Brian Yager President - North AL Cold Fusion Users Group http://www.nacfug.com Sr. Systems Analyst Sverdrup/CIC [EMAIL PROTECTED] (256) 842-8342 __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Ben's J2EE Book, now new course to be offered by MACR
Let me just say that I'm very excited about this class. My background is interface design, but it's the code side that I want to sit down and learn. A code-centric class will be extremely welcome. I'll be looking forward to the announcement. Animation vs programming is a non-issue. For web sites we have a variety of coders and designers working together to create a single product. Flash interfaces will be the same. Sign me up! Kevin Graeme __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Reverse PDF tools
Using the ghostscript you should be able to dump each page to a graphical file format (of your choice). To get the text - you can use the xpdf kit (which includes a pdftotext) util. But I don't think you can get to HTML easily though... :( Adobe has such a service though: http://www.adobe.com/products/acrobat/access_simple_form.html __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFQUERY: All employees who haven't entered data...
Use a subquery: CFQUERY Name=GetExceptions datasource=#DSN# SELECT tblEmployees.EmpName, tblEmployees.DeptID FROM tblEmployees WHERE tblEmployees.ID NOT IN ( SELECT tblMaster.empid FROM tblMaster WHERE tblMaster.startdate = #CreateODBCDate(enddate)# AND tblMaster.startdate = #CreateODBCDate(startdate)# ) /CFQUERY Is there a simple SQL statement that would allow me to select all the employees...or all the EmpIds that are NOT in the Master table.. So I have tblEmployees and tblMaster. Basically I want to display all the bad bad people that did not enter their time for a specific period...an exception report. I can do this easily without factoring a time period, but once I put the Time Period in..it no longer works.. Without Time Period: CFQUERY Name=GetExceptions datasource=#DSN# SELECT tblEmployees.EmpName, tblEmployees.DeptID FROM tblEmployees LEFT JOIN tblMaster ON tblEmployees.ID = tblMaster.empid WHERE tblMaster.empid Is Null /CFQUERY This just shows Employees who have never entered time at all. That isn't exactly what I want. With Time Period CFQUERY Name=GetExceptions datasource=#DSN# SELECT tblEmployees.EmpName, tblEmployees.DeptID FROM tblEmployees LEFT JOIN tblMaster ON tblEmployees.ID = tblMaster.empid WHERE tblMaster.startdate = #CreateODBCDate(enddate)# AND tblMaster.startdate = #CreateODBCDate(startdate)# AND tblMaster.empid Is Null /CFQUERY I want this to show Employees that haven't entered time for a specific period... I know my SQL is confused somewhere along the line...can anyone help? __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: error with a piece of cfscript code and I can't see what's wrong?
And which line is line 67? [EMAIL PROTECTED] 09/30/02 10:55AM ** WESTMINSTER CITY COUNCIL Please refer to the disclaimer beneath this message ** Can anyone see what's wrong with this: cfscript If (NOT IsDefined(Form.business_types) AND (IsDefined(Form.residents)) { session.ResidentsOnly = yes; } Else If (NOT IsDefined(Form.residents)) AND (IsDefined(Form.business_type)) { session.BusinessOnly = yes; session.ListOfBusiness = #Form.business_types#; } Else { session.ResidentsAndBusiness = yes; session.ListOfBusiness = #Form.business_types#; } /cfscript This is the error I keep getting: Error Diagnostic Information Just in time compilation error Invalid parser construct found on line 67 at position 79. ColdFusion was looking at the following text:{Invalid expression format. The usual cause is an error in the expression structure. The last successfully parsed CFML construct was a CFSCRIPT tag occupying document position (66:3) to (66:12). ** Westminster City Council switchboard: +44 20 7641 6000 ** This E-Mail may contain information which is privileged, confidential and protected from disclosure. If you are not the intended recipient of this E-mail or any part of it, please telephone Westminster City Council immediately on receipt. You should not disclose the contents to any other person or take copies. ** __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Flash for data views : WAS Ben's J2EE Book, now new course to be offered by MACR
Hi, Mike. Your work sounds exactly like what I'm trying to make happen. Any resources you would point me to, to get an Intermediate CF coder familiar enough with Flash Remoting, especially ActionScript, to create some one-page apps? Rick -Original Message- From: Mike Chambers [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 10:35 AM To: CF-Talk Subject: Flash for data views : WAS Ben's J2EE Book, now new course to be offered by MACR -Original Message- From: Robertson-Ravo, Neil (REC) I like Flash, dont get me wrong, but if all you are doing it linking to a DB for a static form or grid etc, then you may as well use HTML and no I am not anti Flash Remoting - far from it, I just dont see the business benefit (development time = cost) of using say Flash for things which could be developed in normal HTML. If all you are doing is presenting data to the user with no interaction, then there is not much advantage to using Flash. However, if the users interacts with that data in any way, then there are advantages. Namely, the fact that the entire page will not need to be refreshed to update the data view (or to submit data, etc). btw, that workflow requires no animation. I have been working with Flash for about 4 years now, and I dont think i have done any animation for about 2 years. All of my Flash applications consists of one Frame which a bunch of components, and data going back and forth from Flash and the server. What I am driving at is this : there is no real 'Spectrum of Participants' (sorry Ray) of how to get a movie up and running. For what its worth, here is my workflow. 1. create functionality of movie using ActionScript and components. 2. send it to a designer to make it look pretty. btw, as far as time and costs, in a lot of cases i think the developing in Flash is easier / faster than in HTML since I don't have to write a bunch of code that maintains client state across page views. mike chambers [EMAIL PROTECTED] __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: error with a piece of cfscript code and I can't see what's wr ong?
** WESTMINSTER CITY COUNCIL Please refer to the disclaimer beneath this message ** It's alright I've seen the error, it's been a very long day. -Original Message- From: Adams, Stephen [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 15:55 To: CF-Talk Subject: error with a piece of cfscript code and I can't see what's wrong? ** WESTMINSTER CITY COUNCIL Please refer to the disclaimer beneath this message ** Can anyone see what's wrong with this: cfscript If (NOT IsDefined(Form.business_types) AND (IsDefined(Form.residents)) { session.ResidentsOnly = yes; } Else If (NOT IsDefined(Form.residents)) AND (IsDefined(Form.business_type)) { session.BusinessOnly = yes; session.ListOfBusiness = #Form.business_types#; } Else { session.ResidentsAndBusiness = yes; session.ListOfBusiness = #Form.business_types#; } /cfscript This is the error I keep getting: Error Diagnostic Information Just in time compilation error Invalid parser construct found on line 67 at position 79. ColdFusion was looking at the following text:{Invalid expression format. The usual cause is an error in the expression structure. The last successfully parsed CFML construct was a CFSCRIPT tag occupying document position (66:3) to (66:12). ** Westminster City Council switchboard: +44 20 7641 6000 ** This E-Mail may contain information which is privileged, confidential and protected from disclosure. If you are not the intended recipient of this E-mail or any part of it, please telephone Westminster City Council immediately on receipt. You should not disclose the contents to any other person or take copies. ** __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Slightly OT: Altering access tables in CF...
Yes [EMAIL PROTECTED] 09/30/02 10:57AM I am getting an error when I try to alter an Access table in CF. Has anyone had any success doing this? Thanks, Brian Yager President - North AL Cold Fusion Users Group http://www.nacfug.com Sr. Systems Analyst Sverdrup/CIC [EMAIL PROTECTED] (256) 842-8342 __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: error with a piece of cfscript code and I can't see what's wrong?
Below is the corrected code, you had a few extra (s in front of your isdefined cfscript If (NOT IsDefined(Form.business_types) AND IsDefined(Form.residents)) { session.ResidentsOnly = yes; } Else If (NOT IsDefined(Form.residents) AND IsDefined(Form.business_type)) { session.BusinessOnly = 'yes'; session.ListOfBusiness = #Form.business_types#; } Else { session.ResidentsAndBusiness = 'yes'; session.ListOfBusiness = #Form.business_types#; } /cfscript -Original Message- From: Adams, Stephen [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 10:55 AM To: CF-Talk Subject: error with a piece of cfscript code and I can't see what's wrong? ** WESTMINSTER CITY COUNCIL Please refer to the disclaimer beneath this message ** Can anyone see what's wrong with this: cfscript If (NOT IsDefined(Form.business_types) AND (IsDefined(Form.residents)) { session.ResidentsOnly = yes; } Else If (NOT IsDefined(Form.residents)) AND (IsDefined(Form.business_type)) { session.BusinessOnly = yes; session.ListOfBusiness = #Form.business_types#; } Else { session.ResidentsAndBusiness = yes; session.ListOfBusiness = #Form.business_types#; } /cfscript This is the error I keep getting: Error Diagnostic Information Just in time compilation error Invalid parser construct found on line 67 at position 79. ColdFusion was looking at the following text:{Invalid expression format. The usual cause is an error in the expression structure. The last successfully parsed CFML construct was a CFSCRIPT tag occupying document position (66:3) to (66:12). ** Westminster City Council switchboard: +44 20 7641 6000 ** This E-Mail may contain information which is privileged, confidential and protected from disclosure. If you are not the intended recipient of this E-mail or any part of it, please telephone Westminster City Council immediately on receipt. You should not disclose the contents to any other person or take copies. ** __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Adding two fields and displaying in a third
I'm writing a form that allows a person to fill in the mileage and meal expense, and then displays the total in a third field. I'm using this in the meals expense field: input type=Text name=CostOfMeals#Line# value=0 validate=float required=Yes size=5 maxlength=5 onchange=window.document.ExpenseForm.TotalAmount#Line#.value=eval(window.document.ExpenseForm.Mileage#Line#)+eval(window.document.ExpenseForm.CostOfMeals#Line#); But the third field evaluates to [object][object]. How do I get this to add up? T __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CFQUERY: All employees who haven't entered data...
use subquery. either NOT IN or WHERE NOT EXISTS On Mon, 30 Sep 2002, Angel Stewart wrote: Hey all, Is there a simple SQL statement that would allow me to select all the employees...or all the EmpIds that are NOT in the Master table.. So I have tblEmployees and tblMaster. Basically I want to display all the bad bad people that did not enter their time for a specific period...an exception report. I can do this easily without factoring a time period, but once I put the Time Period in..it no longer works.. Without Time Period: CFQUERY Name=GetExceptions datasource=#DSN# SELECT tblEmployees.EmpName, tblEmployees.DeptID FROM tblEmployees LEFT JOIN tblMaster ON tblEmployees.ID = tblMaster.empid WHERE tblMaster.empid Is Null /CFQUERY This just shows Employees who have never entered time at all. That isn't exactly what I want. With Time Period CFQUERY Name=GetExceptions datasource=#DSN# SELECT tblEmployees.EmpName, tblEmployees.DeptID FROM tblEmployees LEFT JOIN tblMaster ON tblEmployees.ID = tblMaster.empid WHERE tblMaster.startdate = #CreateODBCDate(enddate)# AND tblMaster.startdate = #CreateODBCDate(startdate)# AND tblMaster.empid Is Null /CFQUERY I want this to show Employees that haven't entered time for a specific period... I know my SQL is confused somewhere along the line...can anyone help? -Angel __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: error with a piece of cfscript code and I can't see what's wrong?
P.S. Your if and else if should look like this. if (not isdefined('form.business_types') and isdefined('form.residents')) not like if (NOT IsDefined(Form.business_types) AND (IsDefined(Form.residents)) You where closing your if statement and then trying to continue it, hope that makes since. -Original Message- From: Adams, Stephen [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 10:55 AM To: CF-Talk Subject: error with a piece of cfscript code and I can't see what's wrong? ** WESTMINSTER CITY COUNCIL Please refer to the disclaimer beneath this message ** Can anyone see what's wrong with this: cfscript If (NOT IsDefined(Form.business_types) AND (IsDefined(Form.residents)) { session.ResidentsOnly = yes; } Else If (NOT IsDefined(Form.residents)) AND (IsDefined(Form.business_type)) { session.BusinessOnly = yes; session.ListOfBusiness = #Form.business_types#; } Else { session.ResidentsAndBusiness = yes; session.ListOfBusiness = #Form.business_types#; } /cfscript This is the error I keep getting: Error Diagnostic Information Just in time compilation error Invalid parser construct found on line 67 at position 79. ColdFusion was looking at the following text:{Invalid expression format. The usual cause is an error in the expression structure. The last successfully parsed CFML construct was a CFSCRIPT tag occupying document position (66:3) to (66:12). ** Westminster City Council switchboard: +44 20 7641 6000 ** This E-Mail may contain information which is privileged, confidential and protected from disclosure. If you are not the intended recipient of this E-mail or any part of it, please telephone Westminster City Council immediately on receipt. You should not disclose the contents to any other person or take copies. ** __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: error with a piece of cfscript code and I can't see what's wrong?
: Can anyone see what's wrong with this: : : cfscript : If (NOT IsDefined(Form.business_types) AND : (IsDefined(Form.residents)) { : session.ResidentsOnly = yes; : } On the next line, you're closing the if clause and then trying to and another. Should read: else if ((not IsDefined(form.residents)) and (IsDefined(form.business_type))) { : Else If (NOT IsDefined(Form.residents)) AND : (IsDefined(Form.business_type)) { : session.BusinessOnly = yes; : session.ListOfBusiness = : #Form.business_types#; : } : Else { : session.ResidentsAndBusiness = yes; : session.ListOfBusiness = : #Form.business_types#; : } : /cfscript : : This is the error I keep getting: : : Error Diagnostic Information : Just in time compilation error : Invalid parser construct found on line 67 at position 79. ColdFusion was : looking at the following text:{Invalid expression format. The : usual cause is : an error in the expression structure. : The last successfully parsed CFML construct was a CFSCRIPT tag occupying : document position (66:3) to (66:12). : : : : ** : Westminster City Council switchboard: : +44 20 7641 6000 : ** : This E-Mail may contain information which is : privileged, confidential and protected from : disclosure. If you are not the intended recipient : of this E-mail or any part of it, please telephone : Westminster City Council immediately on receipt. : You should not disclose the contents to any other : person or take copies. : ** : : __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Flash for data views : WAS Ben's J2EE Book, now new course t o be offered by MACR
Neil, do you see any advantage to one-page data presentation and maintenance interfaces as opposed to multiple-page interfaces? Rick -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 10:57 AM To: CF-Talk Subject: RE: Flash for data views : WAS Ben's J2EE Book, now new course t o be offered by MACR so you are using an animation tool and doing no an animation? I may just be a tad blinkered, but its like using IE to browser text files and not HTML doesnt make sense... -Original Message- From: Mike Chambers [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 15:35 To: CF-Talk Subject: Flash for data views : WAS Ben's J2EE Book, now new course to be offered by MACR -Original Message- From: Robertson-Ravo, Neil (REC) I like Flash, dont get me wrong, but if all you are doing it linking to a DB for a static form or grid etc, then you may as well use HTML and no I am not anti Flash Remoting - far from it, I just dont see the business benefit (development time = cost) of using say Flash for things which could be developed in normal HTML. If all you are doing is presenting data to the user with no interaction, then there is not much advantage to using Flash. However, if the users interacts with that data in any way, then there are advantages. Namely, the fact that the entire page will not need to be refreshed to update the data view (or to submit data, etc). btw, that workflow requires no animation. I have been working with Flash for about 4 years now, and I dont think i have done any animation for about 2 years. All of my Flash applications consists of one Frame which a bunch of components, and data going back and forth from Flash and the server. What I am driving at is this : there is no real 'Spectrum of Participants' (sorry Ray) of how to get a movie up and running. For what its worth, here is my workflow. 1. create functionality of movie using ActionScript and components. 2. send it to a designer to make it look pretty. btw, as far as time and costs, in a lot of cases i think the developing in Flash is easier / faster than in HTML since I don't have to write a bunch of code that maintains client state across page views. mike chambers [EMAIL PROTECTED] __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: more cfstoredproc issues ...
Dude... In your cfprocparam tag, you write this: cfprocparam type=in dbvarname=LibraryID You should write: cfprocparam type=in dbvarname=@LibraryID AFAIK, you need the @ symobol. Also, the word AS is unnecessary... You don't need it for any variable declaration in a stored proc. -Original Message- From: S.Isaac Dealey [mailto:[EMAIL PROTECTED]] Sent: Sunday, September 29, 2002 6:34 PM To: CF-Talk Subject: more cfstoredproc issues ... Argh! I have a stored procedure with parameters as: CREATE PROCEDURE tap_adLibUpdate @LibraryID int, @Ident int, @UpdatedDate datetime, @PageFileName varchar(15) = NULL, @ArchivePath varchar(15) = NULL, @Scheduled bit = 0, @RestoreID int = NULL, @UpdateError varchar(8000) = NULL AS and I'm using this code in CF: cfstoredproc procedure=tap_adLibUpdate datasource=#request.tap.dsn# username=#request.tap.dsnusr# password=#request.tap.dsnpwd# cfprocparam type=in dbvarname=LibraryID value=#variables.PageID# cfsqltype=cf_sql_integer cfprocparam type=in dbvarname=Ident value=#Request.User.ID# cfsqltype=cf_sql_integer cfprocparam type=in dbvarname=UpdatedDate value=#CreateODBCDate(Now())# cfsqltype=cf_sql_timestamp !--- indicates the file name for a top level container -- file extension may change although file name is consistent --- cfprocparam type=In dbvarname=PageFileName value=#variables.tempfilename# cfsqltype=cf_sql_varchar null=#yesnoformat(not rspage.istoplevelcontainer)# !--- archive path indicates where restoring content is being restored from -- cfprocparam type=in dbvarname=ArchivePath value=#variables.archivepath# cfsqltype=cf_sql_varchar null=#yesnoformat(not request.tap.archivecontent)# cfprocparam type=In dbvarname=Scheduled value=0 cfsqltype=cf_sql_bit cfprocparam type=in dbvarname=restoreid value=#variables.restoreid# cfsqltype=cf_sql_integer null=#yesnoformat(IsDate(attributes.RestoreFromDate))# cfprocparam type=In dbvarname=UpdateError value=#variables.errormessage# cfsqltype=cf_sql_varchar cfprocresult name=rsupdate resultset=1 /cfstoredproc and I'm getting this error: [Microsoft][ODBC SQL Server Driver][SQL Server]Procedure 'tap_adLibUpdate' expects parameter '@LibraryID', which was not supplied. I know that the LibraryID parameter is defined in the cfprocparam tags. I know that none of it was misspelled. I know that the value of variables.PageID is an integer. What I don't know is why I'm getting an error message that tells me exactly what the problem is not. Anybody have any ideas? Isaac Dealey Certified Advanced ColdFusion 5 Developer new epoch www.turnkey.to 954-776-0046 __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: error with a piece of cfscript code and I can't see what's wrong?
It could be that your if's are not using one bracket set for the entire check.. i.e. You haveif () AND () { Try changing them to if (() AND ()) { And see if that helps... HTH -Original Message- From: Adams, Stephen [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 15:55 To: CF-Talk Subject: error with a piece of cfscript code and I can't see what's wrong? ** WESTMINSTER CITY COUNCIL Please refer to the disclaimer beneath this message ** Can anyone see what's wrong with this: cfscript If (NOT IsDefined(Form.business_types) AND (IsDefined(Form.residents)) { session.ResidentsOnly = yes; } Else If (NOT IsDefined(Form.residents)) AND (IsDefined(Form.business_type)) { session.BusinessOnly = yes; session.ListOfBusiness = #Form.business_types#; } Else { session.ResidentsAndBusiness = yes; session.ListOfBusiness = #Form.business_types#; } /cfscript This is the error I keep getting: Error Diagnostic Information Just in time compilation error Invalid parser construct found on line 67 at position 79. ColdFusion was looking at the following text:{Invalid expression format. The usual cause is an error in the expression structure. The last successfully parsed CFML construct was a CFSCRIPT tag occupying document position (66:3) to (66:12). ** Westminster City Council switchboard: +44 20 7641 6000 ** This E-Mail may contain information which is privileged, confidential and protected from disclosure. If you are not the intended recipient of this E-mail or any part of it, please telephone Westminster City Council immediately on receipt. You should not disclose the contents to any other person or take copies. ** __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: error with a piece of cfscript code and I can't see what's wrong?
Comment inline: cfscript If (NOT IsDefined(Form.business_types) AND IsDefined(Form.residents)) { // ( removed session.ResidentsOnly = yes; // Don't you need quotes around this yes? } Else { If (NOT IsDefined(Form.residents)) AND (IsDefined(Form.business_type)) { // ( removed session.BusinessOnly = yes; // Don't you need quotes around this yes? session.ListOfBusiness = Form.business_types; } Else { session.ResidentsAndBusiness = yes; // Don't you need quotes around this yes? session.ListOfBusiness = Form.business_types; } } /cfscript Jochem __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: error with a piece of cfscript code and I can't see what's wr ong?
** WESTMINSTER CITY COUNCIL Please refer to the disclaimer beneath this message ** Thanks Bryan, it's working fine now. -Original Message- From: Bryan F. Hogan [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 16:02 To: CF-Talk Subject: RE: error with a piece of cfscript code and I can't see what's wrong? Below is the corrected code, you had a few extra (s in front of your isdefined cfscript If (NOT IsDefined(Form.business_types) AND IsDefined(Form.residents)) { session.ResidentsOnly = yes; } Else If (NOT IsDefined(Form.residents) AND IsDefined(Form.business_type)) { session.BusinessOnly = 'yes'; session.ListOfBusiness = #Form.business_types#; } Else { session.ResidentsAndBusiness = 'yes'; session.ListOfBusiness = #Form.business_types#; } /cfscript -Original Message- From: Adams, Stephen [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 10:55 AM To: CF-Talk Subject: error with a piece of cfscript code and I can't see what's wrong? ** WESTMINSTER CITY COUNCIL Please refer to the disclaimer beneath this message ** Can anyone see what's wrong with this: cfscript If (NOT IsDefined(Form.business_types) AND (IsDefined(Form.residents)) { session.ResidentsOnly = yes; } Else If (NOT IsDefined(Form.residents)) AND (IsDefined(Form.business_type)) { session.BusinessOnly = yes; session.ListOfBusiness = #Form.business_types#; } Else { session.ResidentsAndBusiness = yes; session.ListOfBusiness = #Form.business_types#; } /cfscript This is the error I keep getting: Error Diagnostic Information Just in time compilation error Invalid parser construct found on line 67 at position 79. ColdFusion was looking at the following text:{Invalid expression format. The usual cause is an error in the expression structure. The last successfully parsed CFML construct was a CFSCRIPT tag occupying document position (66:3) to (66:12). ** Westminster City Council switchboard: +44 20 7641 6000 ** This E-Mail may contain information which is privileged, confidential and protected from disclosure. If you are not the intended recipient of this E-mail or any part of it, please telephone Westminster City Council immediately on receipt. You should not disclose the contents to any other person or take copies. ** __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Adding two fields and displaying in a third
thane, it's trying to concatenate them instead of adding, try something like this(forcing the values into numbers then adding them): input type=Text name=CostOfMeals#Line# value=0 validate=float required=Yes size=5 maxlength=5 onchange= var num1=new Number(eval(window.document.ExpenseForm.Mileage#Line#)); var num2=new Number(eval(window.document.ExpenseForm.CostOfMeals#Line#)); window.document.ExpenseForm.TotalAmount#Line#.value = num1 + num2; hth -seth -Original Message- From: Thane Sherrington [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 11:04 AM To: CF-Talk Subject: Adding two fields and displaying in a third I'm writing a form that allows a person to fill in the mileage and meal expense, and then displays the total in a third field. I'm using this in the meals expense field: input type=Text name=CostOfMeals#Line# value=0 validate=float required=Yes size=5 maxlength=5 onchange=window.document.ExpenseForm.TotalAmount#Line#.value=eval(window.document.ExpenseForm.Mileage#Line#)+eval(window.document.ExpenseForm.CostOfMeals#Line#); But the third field evaluates to [object][object]. How do I get this to add up? T __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: CFMAIL problems
- Original Message - From: Everett, Al [EMAIL PROTECTED] Did you check to see if any of their customers are in the database twice? --- Thanks for the idea, but no, there don't appear to be any duplicate customer accounts in the DB. Still waiting for a peek at the server logs - the client is quite a major insurance company, and they keep their servers very much hidden from mere sub-contractors like myself! - Gyrus - [EMAIL PROTECTED] work: http://www.tengai.co.uk play: http://www.norlonto.net - PGP key available __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Reverse PDF tools
http://pdftohtml.sourceforge.net/ I haven't had a chance to try it, though. --- Mark A. Kruger - CFG [EMAIL PROTECTED] wrote: Ok... I know I can take HTML or other doc formats and automate the process of converting them into PDF format. Does anyone know of a tool that can do the reverse? I need to unpack a PDF page into source images and text. Anyone? -mk __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Flash for data views : WAS Ben's J2EE Book, now new course t o be offered by MACR
It depends, yeah sure its 'cool', but do you really gain from using a flash movie? sure, you get the movie in the browser window and you dont have to reload the page persay - but you still have to load the information into the movie and this effectively is your page load. Multiple Page operations are simply by design, jeez if it was so cool to keep the user on one screen then you could expect to see it within your OS wouldnt you!? N -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 16:19 To: CF-Talk Subject: RE: Flash for data views : WAS Ben's J2EE Book, now new course t o be offered by MACR Neil, do you see any advantage to one-page data presentation and maintenance interfaces as opposed to multiple-page interfaces? Rick -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 10:57 AM To: CF-Talk Subject: RE: Flash for data views : WAS Ben's J2EE Book, now new course t o be offered by MACR so you are using an animation tool and doing no an animation? I may just be a tad blinkered, but its like using IE to browser text files and not HTML doesnt make sense... -Original Message- From: Mike Chambers [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 15:35 To: CF-Talk Subject: Flash for data views : WAS Ben's J2EE Book, now new course to be offered by MACR -Original Message- From: Robertson-Ravo, Neil (REC) I like Flash, dont get me wrong, but if all you are doing it linking to a DB for a static form or grid etc, then you may as well use HTML and no I am not anti Flash Remoting - far from it, I just dont see the business benefit (development time = cost) of using say Flash for things which could be developed in normal HTML. If all you are doing is presenting data to the user with no interaction, then there is not much advantage to using Flash. However, if the users interacts with that data in any way, then there are advantages. Namely, the fact that the entire page will not need to be refreshed to update the data view (or to submit data, etc). btw, that workflow requires no animation. I have been working with Flash for about 4 years now, and I dont think i have done any animation for about 2 years. All of my Flash applications consists of one Frame which a bunch of components, and data going back and forth from Flash and the server. What I am driving at is this : there is no real 'Spectrum of Participants' (sorry Ray) of how to get a movie up and running. For what its worth, here is my workflow. 1. create functionality of movie using ActionScript and components. 2. send it to a designer to make it look pretty. btw, as far as time and costs, in a lot of cases i think the developing in Flash is easier / faster than in HTML since I don't have to write a bunch of code that maintains client state across page views. mike chambers [EMAIL PROTECTED] __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Adding two fields and displaying in a third
onchange=window.document.ExpenseForm.TotalAmount#Line#.value=eval (window.document.ExpenseForm.Mileage#Line#)+eval(window.document. ExpenseForm.CostOfMeals#Line#); Add .value to the end of the 2 fields you're trying to add, as in: ...=eval(window.document.ExpenseForm.Mileage#Line#.value)+... ^^ BTW, why are you using eval()? -- Mosh Teitelbaum evoch, LLC Tel: (301) 625-9191 Fax: (301) 933-3651 Email: [EMAIL PROTECTED] WWW: http://www.evoch.com/ -Original Message- From: Thane Sherrington [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 11:04 AM To: CF-Talk Subject: Adding two fields and displaying in a third I'm writing a form that allows a person to fill in the mileage and meal expense, and then displays the total in a third field. I'm using this in the meals expense field: input type=Text name=CostOfMeals#Line# value=0 validate=float required=Yes size=5 maxlength=5 onchange=window.document.ExpenseForm.TotalAmount#Line#.value=eval (window.document.ExpenseForm.Mileage#Line#)+eval(window.document.E xpenseForm.CostOfMeals#Line#); But the third field evaluates to [object][object]. How do I get this to add up? T __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Adding two fields and displaying in a third
forgot the .values on the end of each var, that's why it was putting in [object], should work now. -Original Message- From: Turetsky, Seth Sent: Monday, September 30, 2002 11:19 AM To: '[EMAIL PROTECTED]' Subject: RE: Adding two fields and displaying in a third thane, it's trying to concatenate them instead of adding, try something like this(forcing the values into numbers then adding them): input type=Text name=CostOfMeals#Line# value=0 validate=float required=Yes size=5 maxlength=5 onchange= var num1=new Number(eval(window.document.ExpenseForm.Mileage#Line#.value); var num2=new Number(eval(window.document.ExpenseForm.CostOfMeals#Line#.value); window.document.ExpenseForm.TotalAmount#Line#.value = num1 + num2; hth -seth -Original Message- From: Thane Sherrington [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 11:04 AM To: CF-Talk Subject: Adding two fields and displaying in a third I'm writing a form that allows a person to fill in the mileage and meal expense, and then displays the total in a third field. I'm using this in the meals expense field: input type=Text name=CostOfMeals#Line# value=0 validate=float required=Yes size=5 maxlength=5 onchange=window.document.ExpenseForm.TotalAmount#Line#.value=eval(window.document.ExpenseForm.Mileage#Line#)+eval(window.document.ExpenseForm.CostOfMeals#Line#); But the third field evaluates to [object][object]. How do I get this to add up? T __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Adding two fields and displaying in a third
You didn't get the value, but the object: input type=Text name=CostOfMeals#Line# value=0 validate=float required=Yes size=5 maxlength=5 onchange=window.document.ExpenseForm.TotalAmount#Line#.value=eval(windo w.document.ExpenseForm.Mileage#Line#.value)+eval(window.document.Expense Form.CostOfMeals#Line#.value); -Original Message- From: Thane Sherrington [mailto:[EMAIL PROTECTED]] Sent: maandag 30 september 2002 17:04 To: CF-Talk Subject: Adding two fields and displaying in a third I'm writing a form that allows a person to fill in the mileage and meal expense, and then displays the total in a third field. I'm using this in the meals expense field: input type=Text name=CostOfMeals#Line# value=0 validate=float required=Yes size=5 maxlength=5 onchange=window.document.ExpenseForm.TotalAmount#Line#.value=eval(windo w.document.ExpenseForm.Mileage#Line#)+eval(window.document.ExpenseForm.C ostOfMeals#Line#); But the third field evaluates to [object][object]. How do I get this to add up? T __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Flash for data views : WAS Ben's J2EE Book, now new course t o be offered by MACR
Oh and to add...you have a look at all the examples and SOTD etc.. and you see how many are cool, and have aninamation etc (I woudl say 100%) this is where the npower lies, but not everyone has this power.. funky and cool sells apps, there is nothing wrong with that, but on a whole; its beyond the reach of even the advanced CF'er with jackshit Flash skills (AS/Anim etc..) maybe I will take a trip to Degobah and see what I can learn.. -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 16:19 To: CF-Talk Subject: RE: Flash for data views : WAS Ben's J2EE Book, now new course t o be offered by MACR Neil, do you see any advantage to one-page data presentation and maintenance interfaces as opposed to multiple-page interfaces? Rick -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 10:57 AM To: CF-Talk Subject: RE: Flash for data views : WAS Ben's J2EE Book, now new course t o be offered by MACR so you are using an animation tool and doing no an animation? I may just be a tad blinkered, but its like using IE to browser text files and not HTML doesnt make sense... -Original Message- From: Mike Chambers [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 15:35 To: CF-Talk Subject: Flash for data views : WAS Ben's J2EE Book, now new course to be offered by MACR -Original Message- From: Robertson-Ravo, Neil (REC) I like Flash, dont get me wrong, but if all you are doing it linking to a DB for a static form or grid etc, then you may as well use HTML and no I am not anti Flash Remoting - far from it, I just dont see the business benefit (development time = cost) of using say Flash for things which could be developed in normal HTML. If all you are doing is presenting data to the user with no interaction, then there is not much advantage to using Flash. However, if the users interacts with that data in any way, then there are advantages. Namely, the fact that the entire page will not need to be refreshed to update the data view (or to submit data, etc). btw, that workflow requires no animation. I have been working with Flash for about 4 years now, and I dont think i have done any animation for about 2 years. All of my Flash applications consists of one Frame which a bunch of components, and data going back and forth from Flash and the server. What I am driving at is this : there is no real 'Spectrum of Participants' (sorry Ray) of how to get a movie up and running. For what its worth, here is my workflow. 1. create functionality of movie using ActionScript and components. 2. send it to a designer to make it look pretty. btw, as far as time and costs, in a lot of cases i think the developing in Flash is easier / faster than in HTML since I don't have to write a bunch of code that maintains client state across page views. mike chambers [EMAIL PROTECTED] __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Locking
Again, I've had good experiences with this technique... Here's an example: cflock scope=application type=readonly timeout=30 cfparam name=url.getappudf type=boolean default=#yesnoformat(isdeinfed('application.udf'))# cfif url.getappudfcfset request.udf = duplicate(application.udf)/cfif /cflock cfif not url.getappudf cfset request.udf = structnew() cfinclude template=mylibrary.cfm cflock scope=application type=exclusive timeout=30 cfset application.udf = duplicate(request.udf) /cflock /cfif Within the mylibrary.cfm file, all my user-defined functions are coppied into the request.udf structure. This allows me to cache them in the application scope, which ( and I've never done any load testing on this ) I've heard helps to reduce some of the load for subsequent page requests. I would expect this to be the case for a lot of things -- for instance, if you can't use a cached query for something, or if you want more control over the result-set, you can cache a query by storing it in the application scope and use something like the syntax above to determine whether the application should connect to the db for the data. Subsequent page requests will then be able to retreive the recordset from the copy cached in the application scope which is almost always faster than connecting to a database. The reason for the url variable is to allow you ( as the developer ) to easily refresh the cached data by adding a url variable to the query string in your browser, although I wouldn't recommend placing it in links or forms -- users who know about the flag may be apt to over-use it, thus limiting the usefullness of your caching scheme. Or for that matter, they may not even be aware of it and simply continually refreshing pages which contain the flag. S. Isaac Dealey Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 Thanks for the advice, Isaac. One other question, can you see any reason why it would be bad to set all my application variables in application.cfm and then use an if test to prevents further cfsets? What do you think of this technique or are there better ones? My colleague and I are having this debate currently. Rob It depends how much data is in your application scope and how much of it will be relevant on any given page... I'm inclined to think that you won't want to shot-gun it quite that much, although you may not have to go too much further... Instead of duplicating the entire application scope, try and figure out what information will be specific to a given request in the application.cfm, for instance, if this is an app which requires a login and user session information is stored in the application scope, you might copy just the user session structure for the current user and not the whole array or structure containing all logged in users. For the remaining variables, you might loop through the application structure and copy only those which are simple values, i.e. cflock scope=application timeout=30 type=readonly cfset request.user = application.user[urltoken] cfloop item = x collection=application cfif issimplevalue(application[x]) cfset request[x] = application[x] /cfif /cfloop /cflock I've had good luck with a similar application architecture on CF5. Isaac Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 Hi, I'm upgrading from CF 4.0.1 to CF 5 and I have read that locking changed from 4.0 to 4.5. I'm currently using application variables and wanted some thoughts on this: Does anyone see any issues with moving all of my application variables to the request scope in application.cfm using: cflock SCOPE=Application Timeout=30 Type=Readonly cfset request=duplicate(application) /cflock So am I correct that this would mean if i had variables application.foo and application.foobar they will then be request.foo and request.foobar? Would it be wise to set the request variables in another page other than application.cfm since application.cfm is always hit? OR is there a better way to deal with this? Any tips/tricks/advice is appreciated! __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Using the Verity Engine on non-cf apps
If you have CFMX and .net apps running on the same server, is it possible to use the K2 Verity engine on the .net apps, or does this require one to purchase and install the K2 product? Thanks, Bruce __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Verity operators - THESAURUS, TYPO, SOUNDEX
Ray, This is gonna get very verity focused. In principle can I create my own 'locales' for use with my own file sets. In effect I could copy the english locale, then create a new local called 'awkwardcustomer'. Reverse engineer the vdk20.syd (the english thesaurus file) using mksyd -locale locale -dump -syd custom_thesaurus -f control_file Edit the control file adding my extra thesaurus bits I want, then remake the syd file using mksyd -locale locale -f control_file -syd custom_thesaurus or am I going about this completely wrong? Adam -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 15:18 To: CF-Talk Subject: RE: Verity operators - THESAURUS, TYPO, SOUNDEX They were in CF5 as well. === Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Will Swain [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 10:13 AM To: CF-Talk Subject: RE: Verity operators - THESAURUS, TYPO, SOUNDEX Are these available with CF5 too, or are they new to MX? will -Original Message- From: Raymond Camden [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 13:29 To: CF-Talk Subject: RE: Verity operators - THESAURUS, TYPO, SOUNDEX They are available - you don't need to do anything special to use them - you just use them. (Although I believe you have to use type=explicit in your cfsearch tag.) I'm not sure what the cost to performance is - most likely more than a simple search, but probably not bad. == = Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda -Original Message- From: Nick de Voil [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 4:11 AM To: CF-Talk Subject: Verity operators - THESAURUS, TYPO, SOUNDEX I'm looking at this Verity doc http://www.verity.com/pdf/white_papers/MK0348a_Discovery_WP.pdf and I like the look of the THESAURUS, TYPO and SOUNDEX evidence operators. Are these available via CF? If not, what do I have to do to get them and what does it cost? __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Flash for data views : WAS Ben's J2EE Book, now new course to be offered by MACR
If all you are doing is presenting data to the user with no interaction, then there is not much advantage to using Flash. However, if the users interacts with that data in any way, then there are advantages. Namely, the fact that the entire page will not need to be refreshed to update the data view (or to submit data, etc). Depending on the browser, it doesn't need to refresh the entire page now -- and espcially less so with the advance of a standard DOM from the w3c ... Admittedly, there's less issue with browser inconsistency with Flash -- well, now that NS 7 supports MX anyway. btw, as far as time and costs, in a lot of cases i think the developing in Flash is easier / faster than in HTML since I don't have to write a bunch of code that maintains client state across page views. Until the user hits their f5 key. S. Isaac Dealey Certified Advanced ColdFusion 5 Developer www.turnkey.to 954-776-0046 __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
[no subject]
Hi all, I'm having this fun problem with a CFGRAPH tag in CF 5 that's driving me a bit crazy this morning. My code is calculating the sales average for the users' state vs. the national sales average for the same time period, and assigning these to local variables named #salesAvg# and #allSalesAvg#. The problem is that the values displayed in my CFGRAPH image (using the Flash format) and on the actual page do not match for the #allSalesAvg# value. The graph is showing 78.26 (which is incorrect), but the text label I have further down on the page is showing 78.27 (which is the correct value). Has anyone had any similar problems with the accuracy of the CFGRAPH tag? Any decent solutions to this, or am I better off hard-coding the value for the national sales until we move up to CFMX and CFCHART-ing? TIA, Becky -- Rebecca Brewer Macromedia Certified ColdFusion 5.0 Developer [EMAIL PROTECTED] - email (866) 730-7225 - voicemail/fax FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Flash for data views : WAS Ben's J2EE Book, now new course t o be offered by MACR
Actually, I think it makes a lot of sense. I just needed a form with side by side list boxes, make a selection in one and the second is populated with selections that change based on what was selected in the first. Try doing that simply and easily in HTML (without screen refreshes). Flash, ColdFusion CFCs, and Flash Remoting make it a no brainer. Did I use animation? Nope. Did I need the timeline? Nope. In fact, I don't even have it open - I used a single frame and a single layer. There is legitimate use for Flash beyond animation. --- Ben -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 10:57 AM To: CF-Talk Subject: RE: Flash for data views : WAS Ben's J2EE Book, now new course t o be offered by MACR so you are using an animation tool and doing no an animation? I may just be a tad blinkered, but its like using IE to browser text files and not HTML doesnt make sense... -Original Message- From: Mike Chambers [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 15:35 To: CF-Talk Subject: Flash for data views : WAS Ben's J2EE Book, now new course to be offered by MACR -Original Message- From: Robertson-Ravo, Neil (REC) I like Flash, dont get me wrong, but if all you are doing it linking to a DB for a static form or grid etc, then you may as well use HTML and no I am not anti Flash Remoting - far from it, I just dont see the business benefit (development time = cost) of using say Flash for things which could be developed in normal HTML. If all you are doing is presenting data to the user with no interaction, then there is not much advantage to using Flash. However, if the users interacts with that data in any way, then there are advantages. Namely, the fact that the entire page will not need to be refreshed to update the data view (or to submit data, etc). btw, that workflow requires no animation. I have been working with Flash for about 4 years now, and I dont think i have done any animation for about 2 years. All of my Flash applications consists of one Frame which a bunch of components, and data going back and forth from Flash and the server. What I am driving at is this : there is no real 'Spectrum of Participants' (sorry Ray) of how to get a movie up and running. For what its worth, here is my workflow. 1. create functionality of movie using ActionScript and components. 2. send it to a designer to make it look pretty. btw, as far as time and costs, in a lot of cases i think the developing in Flash is easier / faster than in HTML since I don't have to write a bunch of code that maintains client state across page views. mike chambers [EMAIL PROTECTED] __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: CFLOCATION to external sites - failure
Hi, all. I'm afraid that this isn't the problem. The addresses are indeed fully qualified. I have rewritten the CFLOCATION tag several times from scratch to be sure I have no typos. I have cut and pasted the exact URL string from the CFLOCATION url attribute to a browser's address bar (on the server itself) and have successfully reached the site. Still a mystery... Matthieu -Original Message- From: Dave Wilson [mailto:[EMAIL PROTECTED]] Sent: Friday, September 27, 2002 11:29 AM To: CF-Talk Subject: RE: CFLOCATION to external sites - failure Ahhh, cheers Jochem. Then the problem is the client resolving the url's. Well I'd taken it for granted that the url's in the db were all fully qualified, i.e. including http:// etc as Mike had suggested, but it's starting to sound like Mike is correct, unless the client machine is having extraneous networking problems (more unlikely). Dave -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED]] Sent: 27 September 2002 16:22 To: CF-Talk Subject: Re: CFLOCATION to external sites - failure Dave Wilson wrote: I'm not sure exactly how cflocation works. Whether it (as you say) sends the redirect instruction to the client, leaving the dns resolution up to the client machine. Or. It is all handled on the server side. cflocation sends an HTTP 302 Found statuscode to the browser together with a header with the new location (see RFC 2616 or the list archive for past discussions). Effectively, it is nothing but: cfheader statuscode=302 cfheader name=location value=fully qualified URL Jochem __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Problems with CFGRAPH accuracy
Hi all, I'm having this fun problem with a CFGRAPH tag in CF 5 that's driving me a bit crazy this morning. My code is calculating the sales average for the users' state vs. the national sales average for the same time period, and assigning these to local variables named #salesAvg# and #allSalesAvg#. The problem is that the values displayed in my CFGRAPH image (using the Flash format) and on the actual page do not match for the #allSalesAvg# value. The graph is showing 78.26 (which is incorrect), but the text label I have further down on the page is showing 78.27 (which is the correct value). Has anyone had any similar problems with the accuracy of the CFGRAPH tag? Any decent solutions to this, or am I better off hard-coding the value for the national sales until we move up to CFMX and CFCHART-ing? TIA, Becky -- Rebecca Brewer Macromedia Certified ColdFusion 5.0 Developer [EMAIL PROTECTED] - email (866) 730-7225 - voicemail/fax FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Flash for data views
All, I've been doing Flash apps for a while now and I wanted to put in a couple cents to this thread about my experience. I would like to agree with Ray and Mike on a lot of their points. Flash does not necessarily equal more time. It has a learning curve no doubt, but so does HTML/CFML. If you were a Visual Basic programmer, you might say why should I build this application in ColdFusion when it would take me half the time in Visual Basic? We do Flash MX applications exclusively at my company and our project bids are not higher than the HTML equivalent and we usually offer more because the Flash interface simply offers more than HTML/DHTML ever could. As for animation, I can thankfully say that I have had to do almost zero tweening in my Flash history. It simply doesn't apply to applications for the most part. Everything is more event based and states are managed with AS. Personally, I used the Flash authoring tool like Visual Basic studio. If you think of it in that light, it makes much more sense. Most of the time, I forget that there's even a timeline in Flash. As for the Macromedia course, however, I would disagree on a few points. I haven't looked at the course so please correct me if I'm wrong on any of this. The course seems to give a good introduction to Flash but the one serious problem Flash has is that it has no application framework or standardized methodology for building applications. For example, Flash Remoting is great but it won't help you if you can't easily route calls and callbacks within your application. There was some work done on this with the Pet Market application, but there's definitely some quirky stuff within that application. Ray or Mike, are there any plans for any official methodology or app framework from Macromedia? Ben Johnson Information Architect www.architekture.com [p] 720.934.2179 __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Adding two fields and displaying in a third
At 11:22 AM 9/30/02 -0400, Mosh Teitelbaum wrote: onchange=window.document.ExpenseForm.TotalAmount#Line#.value=eval (window.document.ExpenseForm.Mileage#Line#)+eval(window.document. ExpenseForm.CostOfMeals#Line#); Add .value to the end of the 2 fields you're trying to add, as in: ...=eval(window.document.ExpenseForm.Mileage#Line#.value)+... ^^ Shoot. Thanks. :) BTW, why are you using eval()? I thought I had to in order to get Javascript to treat as numbers instead of text. T __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
COM help
I need help tracking down an error in using CFOBJECT to create a csv file from an excel spreadsheet. I am using CF to open up an excel spreadsheet and then trying to turn the data into a csv file. The code i'm using works fine the first time the application is launched but on subsequent tries nothing happens. According to the company hosting my site COM is causing the CF service to fail then it has to be restarted. I'm listing the code i'm using below. Is this an issue with a patch needing to be installed or a problem with the code below? Any help would much appreciated. Thanks. -Brian Stats -- CF version CF5.0 IIS Windows 2K server Code cftry cfobject action=CONNECT class=Excel.Application name=objExcel type=COM cfcatch cftry cfobject action=CREATE class=Excel.Application name=objExcel type=COM cfcatch type=Object Cannot create Excel Object cfabort /cfcatch /cftry /cfcatch /cftry cftry cfscript // this code will open up the excel spread sheet and then save it as a CSV file. // HTML file path ExcelFilePath = #attributes.excelFileIn#; // Destination path for new Word document // We leave off the extension since we'll declare the file type later on CSVFilePath = #attributes.CSVFileOut#; // Open Word in the background objExcel.Visible = false; // Disable alerts such as: 'Save this document?' objExcel.DisplayAlerts = false; // Get the 'Documents' collection objBooks = objExcel.workbooks; // Open the HTML document objBook = objBooks.Open(ExcelFilePath); // Get the sheets collection objSheets = objBook.WorkSheets; // Get the first sheet objSheet = objSheets.Item(Val(1)); // Get a named sheet objSheet = objSheets.Item(#attribtues.sheetName#); /* Save it as a new document -- the extension will automatically be appended based on the file type we choose. Some of the file types to convert to: 1 = .xls 3 = .txt (tab delimetered 6 = .csv */ objSheet.SaveAs(CSVFilePath, Val(6)); // The next line would convert it to RTF instead // objSpreadSheet.SaveAs(CSVFilePath,Val(6)); // Close the document objBook.Close(); // Quit Word objExcel.Quit(); if (attribtues.showConfirmation EQ 1) { writeOutput(font size=-1 face=Verdana,Geneva,Arial,Helvetica,sans-serifbFile Created:/b #attributes.CSVFileOut# bfrom file:/b #attributes.excelFileIn#p/font); } /cfscript cfcatch !--- error creating file --- font face=Verdana,Geneva,Arial,Helvetica,sans-serif size=-1there was an error creating your new CSV filesfrom your Excel Spreadsheet/font /cfcatch /cftry __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Flash for data views : WAS Ben's J2EE Book, now new course t o be offered by MACR
Actually, I think it makes a lot of sense. I just needed a form with side by side list boxes, make a selection in one and the second is populated with selections that change based on what was selected in the first. Try doing that simply and easily in HTML (without screen refreshes). Flash, ColdFusion CFCs, and Flash Remoting make it a no brainer. Did I use animation? Nope. Did I need the timeline? Nope. In fact, I don't even have it open - I used a single frame and a single layer. There is legitimate use for Flash beyond animation. I just released a custom tag to do this - and I would have much rather done it in Flash. Since it's so easy to pass stuff in to Flash via code (ie, not remoting), I'm surprised no one has released a generic flash movie for this scenario that is controllable via CFML. Even a newbie like myself could write this rather quickly. (Of course, gotta find the time. ;) === Raymond Camden, ColdFusion Jedi Master for Hire Email: [EMAIL PROTECTED] Yahoo IM : morpheus My ally is the Force, and a powerful ally it is. - Yoda __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Setting a VARIANT_BOOL COM attribute from CF
I'm trying to use a VC++ COM object that has some VARIANT_BOOL attributes from ColdFusion via CFOBJECT. No matter what value I set the attribute to (1, 1.0, -1, -1.0, 0, true), it's always FALSE. Double/Int/Float parameters and methods work just fine. Is this a variable typing/casting issue? Anyone have any ideas what to try? Brian ___ Brian Panulla [EMAIL PROTECTED] Do you ever get down on your knees and thank God you have access to my dementia? - G. Costanza __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: error with a piece of cfscript code and I can't see what's wrong?
You've either got an extra ( before the 2nd IsDefined(form.residents) or are missing a ) after it... If (NOT IsDefined(Form.business_types) AND (IsDefined(Form.residents)) { session.ResidentsOnly = yes; ** WESTMINSTER CITY COUNCIL Please refer to the disclaimer beneath this message ** Can anyone see what's wrong with this: cfscript If (NOT IsDefined(Form.business_types) AND (IsDefined(Form.residents)) { session.ResidentsOnly = yes; } Else If (NOT IsDefined(Form.residents)) AND (IsDefined(Form.business_type)) { session.BusinessOnly = yes; session.ListOfBusiness = #Form.business_types#; } Else { session.ResidentsAndBusiness = yes; session.ListOfBusiness = #Form.business_types#; } /cfscript This is the error I keep getting: Error Diagnostic Information Just in time compilation error Invalid parser construct found on line 67 at position 79. ColdFusion was looking at the following text:{Invalid expression format. The usual cause is an error in the expression structure. The last successfully parsed CFML construct was a CFSCRIPT tag occupying document position (66:3) to (66:12). ** Westminster City Council switchboard: +44 20 7641 6000 ** This E-Mail may contain information which is privileged, confidential and protected from disclosure. If you are not the intended recipient of this E-mail or any part of it, please telephone Westminster City Council immediately on receipt. You should not disclose the contents to any other person or take copies. ** __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Flash for data views : WAS Ben's J2EE Book, now new course t o be offered by MACR
OK then, will I get a super discount on Flash from MM - say 98% as I am only going to use 2% of its features? :-) nah, didnt think so.. N -Original Message- From: Ben Forta [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 16:38 To: CF-Talk Subject: RE: Flash for data views : WAS Ben's J2EE Book, now new course t o be offered by MACR Actually, I think it makes a lot of sense. I just needed a form with side by side list boxes, make a selection in one and the second is populated with selections that change based on what was selected in the first. Try doing that simply and easily in HTML (without screen refreshes). Flash, ColdFusion CFCs, and Flash Remoting make it a no brainer. Did I use animation? Nope. Did I need the timeline? Nope. In fact, I don't even have it open - I used a single frame and a single layer. There is legitimate use for Flash beyond animation. --- Ben -Original Message- From: Robertson-Ravo, Neil (REC) [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 10:57 AM To: CF-Talk Subject: RE: Flash for data views : WAS Ben's J2EE Book, now new course t o be offered by MACR so you are using an animation tool and doing no an animation? I may just be a tad blinkered, but its like using IE to browser text files and not HTML doesnt make sense... -Original Message- From: Mike Chambers [mailto:[EMAIL PROTECTED]] Sent: 30 September 2002 15:35 To: CF-Talk Subject: Flash for data views : WAS Ben's J2EE Book, now new course to be offered by MACR -Original Message- From: Robertson-Ravo, Neil (REC) I like Flash, dont get me wrong, but if all you are doing it linking to a DB for a static form or grid etc, then you may as well use HTML and no I am not anti Flash Remoting - far from it, I just dont see the business benefit (development time = cost) of using say Flash for things which could be developed in normal HTML. If all you are doing is presenting data to the user with no interaction, then there is not much advantage to using Flash. However, if the users interacts with that data in any way, then there are advantages. Namely, the fact that the entire page will not need to be refreshed to update the data view (or to submit data, etc). btw, that workflow requires no animation. I have been working with Flash for about 4 years now, and I dont think i have done any animation for about 2 years. All of my Flash applications consists of one Frame which a bunch of components, and data going back and forth from Flash and the server. What I am driving at is this : there is no real 'Spectrum of Participants' (sorry Ray) of how to get a movie up and running. For what its worth, here is my workflow. 1. create functionality of movie using ActionScript and components. 2. send it to a designer to make it look pretty. btw, as far as time and costs, in a lot of cases i think the developing in Flash is easier / faster than in HTML since I don't have to write a bunch of code that maintains client state across page views. mike chambers [EMAIL PROTECTED] __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists