special chars in xml?
my xml torture continues. i need to squirt an sql where clause wrapped in xml at a server, something like: WHERE a = 40 AND b 42 if i push this sql onto the node's xml attributes, cf8's only escaping the last , spatialQuery=xmlElemNew(axl,SPATIALQUERY); spatialQuery.xmlAttributes[where]=a = 40 AND b 42; //thanks brianfor the following arrayAppend(axl[arcxml].xmlChildren[1].xmlChildren[1].xmlChildren,spatialQuery); produces the where clause below which the server chokes on: where=a = 40 AND b lt; 42 if i follow good practices xmlFormat() the where clause before i stuff it into the xml attributes, the part of lt; gets double escaped and the server chokes on it: where=a amp;gt;= 40 AND b amp;lt; 42 not sure if i'm just my usual xml blind or if this is a bug in cf8. any ideas? thanks. ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288245 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: special chars in xml?
Can you store the clause as CDATA, or is that going to make using it later on too difficult? On 9/12/07, Paul Hastings [EMAIL PROTECTED] wrote: my xml torture continues. i need to squirt an sql where clause wrapped in xml at a server, something like: WHERE a = 40 AND b 42 if i push this sql onto the node's xml attributes, cf8's only escaping the last , spatialQuery=xmlElemNew(axl,SPATIALQUERY); spatialQuery.xmlAttributes[where]=a = 40 AND b 42; //thanks brianfor the following arrayAppend(axl[arcxml].xmlChildren[1].xmlChildren[1].xmlChildren,spatialQuery); produces the where clause below which the server chokes on: where=a = 40 AND b lt; 42 if i follow good practices xmlFormat() the where clause before i stuff it into the xml attributes, the part of lt; gets double escaped and the server chokes on it: where=a amp;gt;= 40 AND b amp;lt; 42 not sure if i'm just my usual xml blind or if this is a bug in cf8. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288246 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: special chars in xml?
if i push this sql onto the node's xml attributes Can you store the clause as CDATA, or is that going to make using it later on too difficult? You can't use CDATA for attribute values, if I recall correctly. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288247 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: special chars in xml?
Dave Watts wrote: You can't use CDATA for attribute values, if I recall correctly. that appears to be the case. xml. what they speak in hell. ;-) ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288248 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: special chars in xml?
Quite right - you can't add it as a child tag then? On 9/12/07, Paul Hastings [EMAIL PROTECTED] wrote: Dave Watts wrote: You can't use CDATA for attribute values, if I recall correctly. that appears to be the case. xml. what they speak in hell. ;-) ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288249 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: special chars in xml?
James Holmes wrote: Quite right - you can't add it as a child tag then? nope. ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288250 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Parent - Child data in a drop down
Nope, just a regular HTML drop down. Infinitely nested items. I have something that looks like it'll work, I'll post if I nail it. It's not critical to the project so I've not been too bothered about getting it working or spending too much time on it. Thanks for the relies. Adrian By drop down do you mean a DHTML navigation menu? -Joe Lakey ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288251 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: mail getting rejected
On 9/11/07, Dave Francis [EMAIL PROTECTED] wrote: CF5.0, on Win 2k server. IIS. I recently switched my mail server in cf admin to 127.0.0.1 (Previously, it was a dedicated mail server, also referenced via IP). Since then I am getting many smtp;504 pcname: Helo command rejected: need fully-qualified hostname Did you edit the domain name through smtp settings in IIS. You should place a real domain name there for reverseDNS lookups. ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288252 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: mail getting rejected
On Wednesday 12 Sep 2007, [EMAIL PROTECTED] wrote: smtp;504 pcname: Helo command rejected: need fully-qualified hostname Did you edit the domain name through smtp settings in IIS. You should place a real domain name there for reverseDNS lookups. Lying about your rDNS may cause more problems though. -- Tom Chiverton Helping to economically foster proactive action-items on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288254 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: [CF-Dev] Adobe Max 2007
On Wednesday 12 Sep 2007, [EMAIL PROTECTED] wrote: I meant the Europe one http://adobemax2007.com/europe/ No, even though it's on the same continent as me now, it's still too expensive to fund on my own (or reasonably expect my boss to agree to, given Scotch is 'only' 60 quid in comparison). -- Tom Chiverton Helping to dynamically engineer mission-critical users on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288253 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Newbie guide to installing / configuring CF on Unix
Hi All I have some experience of setting up Cold Fusion on windows but where I am working at the moment all the CF servers are unix adn have ColdFusion MX 7 Enterprise installed. We have about 5 cf servers running on the same box but one of them is not well. When I start It I get loads of errors (no web server configured to service your request). What I want to do is install this server again from scratch but leave the other servers in tact. How do I do this? I assume it's a bit more complicated than running the connector software. Do I have to run the coldfusion installer (I have no idea if that's even on the server) or do I run a file that's there already. I need the CFIDE / Cfdocs directories and so on set up again. Are there any really simple tutorials for this sort of thing? I've not got much experience at all with unix so am feeling a bit lost! Thanks in advance Giles. ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288256 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
SPRY not working in IE 6
I have a SPRY application that returns and lists results. It works fine in mozilla but does not display the contents of the generated XML in IE 6. In IE 6 it always remains in the SPRY loading state (spry:state=loading) Below is the XML that is being generated ?xml version=1.0 encoding=UTF-8? Candidates Candidate ID=1070 candidateID1070/candidateID firstnameAudrey/firstname lastnameLEMAITRE/lastname age22/age sexF/sex countryFrance/country StateNA/State ZipCode91/ZipCode RelocateNo/Relocate ContinentParis/Continent JobPositionHairstylist,Colorist/JobPosition DiplomaCAP/NA/Diploma dateEntered4/26/2005 7:36/dateEntered dateModified4/26/2005 7:36/dateModified /Candidate /Candidates ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288255 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Odd database behavior: duplicate key error
Dave Watts wrote: According to livedocs cftransaction by default uses the default isolation level of the database - which in most installations will be either read committed or repeatable read. This has come up before; I believe that this may be a documentation error. They recently changed it to the current wording because I filed a bug against the previous wording that it used serializable. Jochem ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288257 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Odd database behavior: duplicate key error
Brian Kotek wrote: I can't test it myself to simulate the race condition, but I definitely know that people have been talking about this issue for a very long time. I can remember reading posts about it going back for years, and in those cases, people had tried CFTRANSACTION alone and it didn't make a difference. When they added a named lock, the problem was resolved. So, I'm not sure if the behavior is different between different RDBMSs It is. or if the isolation level of the transaction makes some difference It does. but there have definitely been cases in the past where people did not get the desired result with CFTRANSACTION alone. I've read of others having a similar issue where inserting and then trying to select the last inserted value within a CFTRANSACTION block would still return the incorrect id if another thread had also performed an insert at the same time. Semantics: the database always correctly returns the last inserted ID. The objective of preventing another thread from inserting another ID between the insertion and the select in the thread with cftransaction just wasn't met. A quick Google search reveals this article by Simon, where he seems to indicate that setting the isolation level to serializable should work. For the last inserted ID issue it should. Jochem ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288258 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Odd database behavior: duplicate key error
Jake Pilgrim wrote: Yes, you could use CFtransaction for this type of isolation, but this can also cause problems that you wouldn't see with cflock. Cftransaction isoloation='serializabile' for example will give you an exclusive lock to all tables within the transaction (most restrictive level of isloation). No it doesn't. Serializability does not require some sort of locking, it requires that parallel transactions will have the same outcome as if they were executed one after another. Locking is an implementation detail, not some purpose. MVCC based databases exploit the difference between mathematical serializability and serializability according to the SQL standard to make sure that exclusive locking is not necessary: no objects will be exclusively locked just because they participate in a serializable transaction. And for instance MS SQL Server uses intend locks on tables (which are not exclusive) combined with exclusive locks on rows (only to be escalated when a transaction has taken 1250 locks). Jochem ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288259 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Coldfusion 8 .Net Samples Available
HI All I have created a Sample for Coldfusion 8 and .Net Integration Sample . Brief intro on the sample and Code Samples are available at http://wrvishnu.wordpress.com/ I have Created this Blog Newly , hope and wish to contribute more ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288260 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Ajax cfgrid bind problem
Yes, there is a CF mapping that is equivalent to the virtual directory. -Mike Chabot On 9/12/07, James Holmes [EMAIL PROTECTED] wrote: Do you have a CF mapping to go with that virtual directory? ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288261 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Newbie guide to installing / configuring CF on Unix
We have about 5 cf servers running on the same box but one of them is not well. When I start It I get loads of errors (no web server configured to service your request). 5 different installs ? JRun multi-server ? How do I do this? I assume it's a bit more complicated than running the connector software. Assume the front end web server is Apache, open up the config file and locate the JRun settings for an existing site, and use them to connect up the new one. Do I have to run the coldfusion installer (I have no idea if that's even on the server) or do I run a file that's there already. If you want to re-install a stand alone server, yes. Free download from Adobe.com, because you have the license code already, right ? Are there any really simple tutorials for this sort of thing? I've not got much experience at all with unix so am feeling a bit lost! There's a LAMP-type guide for getting started with CF and Apache on Windows, but I've not got it book marked. A google should turn it up, and the Linux process is almost exactly the same. -- Tom Chiverton Helping to preemptively network intuitive systems on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288262 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Odd database behavior: duplicate key error
They recently changed it to the current wording because I filed a bug against the previous wording that it used serializable. Ah! So I remembered a minor detail, but was completely wrong about the important part. Thanks for setting me straight! Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288263 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Ajax cfgrid bind problem
Dale, Thanks for helping me troubleshoot this. I used your basic example to step back and try to troubleshoot this from the start to see where things break. The Web root folder is C:\inetpub\wwwroot\ My code is here C:\projects\ If I stay inside the Web root, all combinations of virtual directories, paths, etc. all work with your sample code. For example I can put park.cfc inside of C:\inetpub\wwwroot\a\b\c\ and call it as a.b.c.park.getParks(). Or I can create a virtual directory to that folder as x and write x.park.getParks(). As soon as I put the CFC in a folder outside of the Web root, the code no longer works, even though I have a virtual directory set up. This problem is specific to the new Ajax feature, since the ColdFusion server has no problems accessing a file outside of the Web root. So this looks like a bug with the new Ajax feature where virtual directories are not properly handled in the code that generates the JavaScript. To test this, I changed my Web root to point to C:\projects\ and that code which didn't work started working, even though I am using a virtual directory so the true location of the Web root shouldn't matter. Thanks, Mike Chabot On 9/12/07, Dale Fraser [EMAIL PROTECTED] wrote: http://tutorial1.learncf.com/ This is a working example, if you download and drop that code (there is a download and demo button on the page) and see if this works, if this works perhaps it's something wrong with your code. ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288264 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Need Code To Convert MGRS To Latitude/Longitude
I'm looking for code that will take a MGRS (Military Grid Reference System) coordinate and convert it into a latitude/longitude grid coordinate. This should be code I can use in an application we're building, not an end-user product. I already have a nice little end user product. This code can be in JavaScript, CFScript or whatever. What we're going to do with the code is create a feature that enables the user to click on a link in an article (which has coordinates) and have it open Google Earth and have it go directly to the place on the map. We have Google Earth servers. Google Earth (and their KML code) only accepts latitude/longitude coordinates. We already have the ColdFusion code that is stripping out the desired cooordinates from an XML file. We also already have the KML code (Google Earth code). The thing we need is code to convert those coordinates converted to latitude/longitude. This is in direct support of military and we do have access to NIPR, SIPR, GCTF, and MCFI networks. ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288265 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Need Code To Convert MGRS To Latitude/Longitude
I'm looking for code that will take a MGRS (Military Grid Reference System) coordinate and convert it into a latitude/longitude grid coordinate. This should be code I can use in an application we're building, not an end-user product. I already have a nice little end user product. This code can be in JavaScript, CFScript or whatever. Have you looked at this? http://earth-info.nga.mil/GandG/geotrans/index.html It's an end-user product, but includes source code (C/C++, I suspect) that you can probably adapt for your own use. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288266 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Need Code To Convert MGRS To Latitude/Longitude
Todd Vernon wrote: I'm looking for code that will take a MGRS (Military Grid Reference System) coordinate and convert it into a latitude/longitude grid coordinate. This datum is WGS84? have the KML code (Google Earth code). The thing we need is code to convert those coordinates converted to latitude/longitude. This is in direct support of military and we do have access to NIPR, SIPR, GCTF, and MCFI networks. what you want isn't trivial. but have a look at (UTM to/from GCS): http://www.sustainablegis.com/projects/arcIMS/testUTM.cfm get the code in the usual place: http://www.sustainablegis.com/things.cfm it should be fairly trivial to do MGRS to UTM (except maybe the variable precision), my code will take you the rest of the way. ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288267 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: SPRY not working in IE 6
Make sure your cfcontent type is correct. IE is more anal about that. On 9/12/07, Chad McCue [EMAIL PROTECTED] wrote: I have a SPRY application that returns and lists results. It works fine in mozilla but does not display the contents of the generated XML in IE 6. In IE 6 it always remains in the SPRY loading state (spry:state=loading) Below is the XML that is being generated ?xml version=1.0 encoding=UTF-8? Candidates Candidate ID=1070 candidateID1070/candidateID firstnameAudrey/firstname lastnameLEMAITRE/lastname age22/age sexF/sex countryFrance/country StateNA/State ZipCode91/ZipCode RelocateNo/Relocate ContinentParis/Continent JobPositionHairstylist,Colorist/JobPosition DiplomaCAP/NA/Diploma dateEntered4/26/2005 7:36/dateEntered dateModified4/26/2005 7:36/dateModified /Candidate /Candidates ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288268 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Ajax cfgrid bind problem
Hi Mike, if you are using a virtual directory and your cfc is located somewhere else you still need to be able to get to the cfc using a standard URL. I have found the the bind always starts at the webroot and goes from there so in your example you have. http://mysite/projects Your bind attribute would need to be cfc:mysite.projects.mycfc.myfunction if your cfc's are located in another virtual directory your bind attribute should be. cfc:myVirtualDir.myCFC.myfunction A good test is to see use a standard URL to get to your CFC if you reach it then you know what the path will be. example url http://mysite/projects/mycfc.cfc?method=myfunctionreturnformat=jsonargumentcollection=... Regards, Gary Gilbert http://www.garyrgilbert.com/blog ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288269 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Directory Watcher Skipping Files
Sean Corfield has pointed out that the directory watcher supplied with CF7 is really an example of the capabilities of the event gateway feature of CF7 and is NOT production quality robust code. The source code of the directory watcher is supplied with CF7. So it looks like I'll have to dive into the Java code and work out the bugs. I hope I don't have to re-write it to make it work robustly. Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group m: 0415 469 095 www.flashdev.org.au ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288270 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Newbie guide to installing / configuring CF on Unix
CRITICAL!! Once installed, DO NOT use the CF Administrator to edit your JVM settings. The CF Admin tool for editing JVM settings always corrupts the jvm.config file on Linux. We have about 5 cf servers running on the same box but one of them is not well. When I start It I get loads of errors (no web server configured to service your request). 5 different installs ? JRun multi-server ? How do I do this? I assume it's a bit more complicated than running the connector software. Assume the front end web server is Apache, open up the config file and locate the JRun settings for an existing site, and use them to connect up the new one. Do I have to run the coldfusion installer (I have no idea if that's even on the server) or do I run a file that's there already. If you want to re-install a stand alone server, yes. Free download from Adobe.com, because you have the license code already, right ? Are there any really simple tutorials for this sort of thing? I've not got much experience at all with unix so am feeling a bit lost! There's a LAMP-type guide for getting started with CF and Apache on Windows, but I've not got it book marked. A google should turn it up, and the Linux process is almost exactly the same. -- Tom Chiverton Helping to preemptively network intuitive systems on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288271 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Newbie guide to installing / configuring CF on Unix
It's not much better on Windows. We always modify that directly. But before touching it, be sure to copy a backup (no seriously, save a backup!) :) John Mason [EMAIL PROTECTED] 770.337.8363 www.FusionLink.com - ColdFusion and Flex hosting Now offering ColdFusion 8 Enterprise hosting FREE Subversion hosting -Original Message- From: Wil Genovese [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 12, 2007 12:59 PM To: CF-Talk Subject: Re: Newbie guide to installing / configuring CF on Unix CRITICAL!! Once installed, DO NOT use the CF Administrator to edit your JVM settings. The CF Admin tool for editing JVM settings always corrupts the jvm.config file on Linux. We have about 5 cf servers running on the same box but one of them is not well. When I start It I get loads of errors (no web server configured to service your request). 5 different installs ? JRun multi-server ? How do I do this? I assume it's a bit more complicated than running the connector software. Assume the front end web server is Apache, open up the config file and locate the JRun settings for an existing site, and use them to connect up the new one. Do I have to run the coldfusion installer (I have no idea if that's even on the server) or do I run a file that's there already. If you want to re-install a stand alone server, yes. Free download from Adobe.com, because you have the license code already, right ? Are there any really simple tutorials for this sort of thing? I've not got much experience at all with unix so am feeling a bit lost! There's a LAMP-type guide for getting started with CF and Apache on Windows, but I've not got it book marked. A google should turn it up, and the Linux process is almost exactly the same. -- Tom Chiverton Helping to preemptively network intuitive systems on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288272 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cf8 book by Ben Forta - release date?
Amazon had the date as being today but I called my local store and they have the date as Oct 15th. Anyone know a real date when its available? thx :) David ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288273 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: cf8 book by Ben Forta - release date?
Volume 1 is indeed shipping. Volumes 2 and 3 to follow shortly. --- Ben -Original Message- From: David Morgan [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 12, 2007 12:33 PM To: CF-Talk Subject: cf8 book by Ben Forta - release date? Amazon had the date as being today but I called my local store and they have the date as Oct 15th. Anyone know a real date when its available? thx :) David ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288274 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Coldfusion and Bar code APi
With CF8 couldn't you use CFIMAGE and type the Bar Code with a bar code font on the server? http://www.bifrost.com.au/blog/index. cfm/2006/8/24/Generating-Barcodes-with-Barbecue-and-Coldfusion On 9/12/07, vishnu prasad [EMAIL PROTECTED] wrote: Hi Are there any Barcode api for coldfusion If yes what is that -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com. au/blog/ ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288275 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Ajax cfgrid bind problem
Thanks Gary, I confirmed that the CFC is accessible over a standard URL by loading it in the Web browser. Turing the Ajax debugging on, I can see the exact request that is being made. I take that request, fix the URL so that it now looks in the correct location, paste the corrected URL into the browser, and the CFC returns a result. -Mike Chabot On 9/12/07, gary gilbert [EMAIL PROTECTED] wrote: Hi Mike, if you are using a virtual directory and your cfc is located somewhere else you still need to be able to get to the cfc using a standard URL. I have found the the bind always starts at the webroot and goes from there so in your example you have. http://mysite/projects Your bind attribute would need to be cfc:mysite.projects.mycfc.myfunction if your cfc's are located in another virtual directory your bind attribute should be. cfc:myVirtualDir.myCFC.myfunction A good test is to see use a standard URL to get to your CFC if you reach it then you know what the path will be. example url http://mysite/projects/mycfc.cfc?method=myfunctionreturnformat=jsonargumentcollection=... Regards, Gary Gilbert http://www.garyrgilbert.com/blog ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288276 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cf8 book by Ben Forta - release date?
Make sure you are talking the exact same book. For a non CF devote store clerk it may be hard to distinguish between ColdFusion Web Application Construction Kit and Advanced ColdFusion Application Development. IIRC the two parts have separate release dates one now one in a couple weeks. David Morgan wrote: Amazon had the date as being today but I called my local store and they have the date as Oct 15th. Anyone know a real date when its available? thx :) David ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288277 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cf8 book by Ben Forta - release date?
ty ty :) From: Ben Forta [EMAIL PROTECTED] Sent: Wednesday, September 12, 2007 12:40 PM To: CF-Talk cf-talk@houseoffusion.com Subject: RE: cf8 book by Ben Forta - release date? Volume 1 is indeed shipping. Volumes 2 and 3 to follow shortly. --- Ben -Original Message- From: David Morgan [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 12, 2007 12:33 PM To: CF-Talk Subject: cf8 book by Ben Forta - release date? Amazon had the date as being today but I called my local store and they have the date as Oct 15th. Anyone know a real date when its available? thx :) David ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288278 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Ajax cfgrid bind problem
To clarify slightly: http://mysite/project/test.cfm works http://mysite/project/myCFC.cfc works The CFC path is project.myCFC.function. I can use this path successfully on the server-side. The problem is that when I bind cfgrid to the path of project.myCFC.function, the generated JavaScript that is sent to the browser instructs the Ajax call to look here: http://mysite/myCFC.cfc instead of here: http://mysite/project/myCFC.cfc If I move the /project virtual directory so that it is a phycial subdirectory of the Web root, the problem goes away, but I don't want to set things up that way for security reasons. -Mike Chabot On 9/12/07, Mike Chabot [EMAIL PROTECTED] wrote: Thanks Gary, I confirmed that the CFC is accessible over a standard URL by loading it in the Web browser. Turing the Ajax debugging on, I can see the exact request that is being made. I take that request, fix the URL so that it now looks in the correct location, paste the corrected URL into the browser, and the CFC returns a result. -Mike Chabot On 9/12/07, gary gilbert [EMAIL PROTECTED] wrote: Hi Mike, if you are using a virtual directory and your cfc is located somewhere else you still need to be able to get to the cfc using a standard URL. I have found the the bind always starts at the webroot and goes from there so in your example you have. http://mysite/projects Your bind attribute would need to be cfc:mysite.projects.mycfc.myfunction if your cfc's are located in another virtual directory your bind attribute should be. cfc:myVirtualDir.myCFC.myfunction A good test is to see use a standard URL to get to your CFC if you reach it then you know what the path will be. example url http://mysite/projects/mycfc.cfc?method=myfunctionreturnformat=jsonargumentcollection=... Regards, Gary Gilbert http://www.garyrgilbert.com/blog ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288279 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Ajax cfgrid bind problem
Mike, But thats not your problem is it? Its the fact that as soon as you move your directory out of wwwroot/projects into c:/projects and point your virtual directory to that you code stops working and inspecting the url no matter what you try or what mappings you have in CF admin you still end up with http://mysite/myCFC instead of http://mysite/projects/mycfc right? with cfc:mysite.projects.mycfc.myfunction you still get the above? After I sent in that last email I re-read your first email again and set it up exactly as you have it and was able to produce the same results as you are getting. So at least I can replicate it. The only problem now is whats the solution... Creating a CF mapping doesn't seem work. I put in the correct path to the cfc in the cfajaxproxy tag and it passes without error but produces var _cf_mycfc=ColdFusion.AjaxProxy.init('/mycfc.cfc','myclass'); without the correct path info. I checked the known issues and found the following entry. 69915: The cfajaxproxy tag is not able to correctly locate CFCs that are in symbolically linked paths on the file system. Ensure that your CFCs are always available under hard linked paths. As a workaround or until someone comes up with a solution you could bind to a URL instead of a CFC. Regards, Gary Gilbert http://www.garyrgilber.com/blog ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288280 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cf8 book by Ben Forta - release date?
I gave them the ISBN that Amazon shows as releasing today - but barnes and nobles and booksamillion cant get it yet. Anyone know best means? Looking for: Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started (Paperback) Product Details Paperback: 600 pages Publisher: Adobe Press; 1 edition (September 12, 2007) Language: English ISBN-10: 032151548X ISBN-13: 978-0321515483 thx From: Ian Skinner [EMAIL PROTECTED] Sent: Wednesday, September 12, 2007 12:56 PM To: CF-Talk cf-talk@houseoffusion.com Subject: Re: cf8 book by Ben Forta - release date? Make sure you are talking the exact same book. For a non CF devote store clerk it may be hard to distinguish between ColdFusion Web Application Construction Kit and Advanced ColdFusion Application Development. IIRC the two parts have separate release dates one now one in a couple weeks. David Morgan wrote: Amazon had the date as being today but I called my local store and they have the date as Oct 15th. Anyone know a real date when its available? thx :) David ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288281 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cf8 book by Ben Forta - release date?
Book by Ben Forta... and others. ;) On 9/12/07, David Morgan [EMAIL PROTECTED] wrote: Amazon had the date as being today but I called my local store and they have the date as Oct 15th. Anyone know a real date when its available? thx :) David ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288282 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFMAIL - should be simple right? wrong
One of my clients site is hosted at hostmysite.com and we've been trying to get cfmail working. The client, companyname.com hosts the domain's DNS and HMS has the domain listed on their system. I've tried cfmail ... server =localhost per HMS recommendation and even tried to point to companyname's mail servers smtp.company.com and it still doesn't work. Companyname say they need to know the ip address of the relay to open it up for incoming requests. HMS says they don't have a relay to give me. Does anyone have any idea or expereince with this? This has been going on for over 36 hours. I've never had this issue with over hosting companies. Thanks D Regardless of what we did cfmail isn't working. ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288283 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cf8 book by Ben Forta - release date?
My apologies :) You are indeed correct( and one of the others). Now - am I best off trtying another local store or ordering it frfom Amazon? :) ty From: Raymond Camden [EMAIL PROTECTED] Sent: Wednesday, September 12, 2007 1:25 PM To: CF-Talk cf-talk@houseoffusion.com Subject: Re: cf8 book by Ben Forta - release date? Book by Ben Forta... and others. ;) On 9/12/07, David Morgan wrote: Amazon had the date as being today but I called my local store and they have the date as Oct 15th. Anyone know a real date when its available? thx :) David ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288284 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: remove a number from a series of numbers
removeChars(2007, 2, 1) You could start at index '3' in this case since both 2 and 3 are zeros. cheers, barneyb On 9/12/07, John P [EMAIL PROTECTED] wrote: Hi, Is it possible to remove a digit from a multi-digit number IE: 2007 would become 207? Thanks, John ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288290 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cf8 book by Ben Forta - release date?
Book by Ben Forta... and others. ;) Who else helped write it? (haha) ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288285 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: remove a number from a series of numbers
Yes it is ;-) Now you probably want to know how ;-) There are quite a few ways to do this...someone will probably post some methods using regular expressionsyou can also look into the mid/right/left/replace functions which you can use to break apart the number and put it back together the way you want. So if you can be specific on what you want to do (i.e. the patternlike always remove the 3rd digit as per your example)then I can fire you something more specific Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com Notice: This message, including any attachments, is confidential and may contain information that is privileged or exempt from disclosure. It is intended only for the person to whom it is addressed unless expressly authorized otherwise by the sender. If you are not an authorized recipient, please notify the sender immediately and permanently destroy all copies of this message and attachments. ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288288 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: remove a number from a series of numbers
Yup... convert it to a string using the ToString(). Remove the digit/char you want using RemoveChars() and use Val() to convert it back into a number. Hi, Is it possible to remove a digit from a multi-digit number IE: 2007 would become 207? Thanks, John ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288291 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
remove a number from a series of numbers
Hi, Is it possible to remove a digit from a multi-digit number IE: 2007 would become 207? Thanks, John ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288286 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: remove a number from a series of numbers
Is it possible to remove a digit from a multi-digit number IE: 2007 would become 207? You would have to treat the number as a string, loop over it and rebuild the string excluding that particular character or digit space. For your particular example: cfset OldValue = 2007 cfset NewValue = cfloop from=1 to=#Len(OldValue)# index=x cfif x NEQ 3 cfset NewValue = NewValue Mid(OldValue, x, 1) /cfif /cfloop cfoutput#OldValue# vs #NewValue#/cfoutput ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288293 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: [CF-Dev] Adobe Max 2007
On 9/12/07, Tom Chiverton [EMAIL PROTECTED] wrote: http://adobemax2007.com/europe/ No, even though it's on the same continent as me now, it's still too expensive to fund on my own (or reasonably expect my boss to agree to, given Scotch is 'only' 60 quid in comparison). See you at Scotch 2008 then? Given it will be a three day conference in a nice hotel, I suspect it will be more than sixty quid but I'm sure it'll still be a good price... -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288292 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CFQuery wrapper tag to help with poor connections to sql..
Hi, I have an app that has to use a connection that sees a few seconds of disconnectivity from its SQL server occasionaly. I was consdiering writing a wrapper tag to the CFQUERY that would try the query once, if it fails on connection wait 2 seconds and try again, before failing. Anyone done anything like this and had success? Is there any way to over ride builtin tags in coldfusion 8? Regards, Dan Baughman ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288287 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: remove a number from a series of numbers
is there a particular criteria that you're looking for? e.g. duplicate consecutive numbers? the 2nd digit? the 3rd digit? On 9/12/07, John P [EMAIL PROTECTED] wrote: Hi, Is it possible to remove a digit from a multi-digit number IE: 2007 would become 207? Thanks, John ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288289 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: remove a number from a series of numbers
yea there are a lot of ways to do that.. If the digits always in the same position you could do a cfset newStr = left(1, '2007') right(2, '2007') alternatively if its the same sequence you could find/replace Is that not what you meant? -Original Message- From: John P [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 12, 2007 12:20 PM To: CF-Talk Subject: remove a number from a series of numbers Hi, Is it possible to remove a digit from a multi-digit number IE: 2007 would become 207? Thanks, John ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288294 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: [CF-Dev] Adobe Max 2007
I'm working for a new boss that happens to have family in Edinburgh and its looking promising so far that I may be able to use this fact as leverage to get him to send me to Scotch 2008. Now I just have to finish this project so we have the money... Judah Sean Corfield wrote: On 9/12/07, Tom Chiverton [EMAIL PROTECTED] wrote: http://adobemax2007.com/europe/ No, even though it's on the same continent as me now, it's still too expensive to fund on my own (or reasonably expect my boss to agree to, given Scotch is 'only' 60 quid in comparison). See you at Scotch 2008 then? Given it will be a three day conference in a nice hotel, I suspect it will be more than sixty quid but I'm sure it'll still be a good price... ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288296 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFMAIL - should be simple right? wrong
Shouldn't need an open relay - just SMTP Authentication should allow you to send via your authorized SMTP server. -- Wil Genovese One man with courage makes a majority. -Andrew Jackson A fine is a tax for doing wrong. A tax is a fine for doing well. [EMAIL PROTECTED] wrote: One of my clients site is hosted at hostmysite.com and we've been trying to get cfmail working. The client, companyname.com hosts the domain's DNS and HMS has the domain listed on their system. I've tried cfmail ... server =localhost per HMS recommendation and even tried to point to companyname's mail servers smtp.company.com and it still doesn't work. Companyname say they need to know the ip address of the relay to open it up for incoming requests. HMS says they don't have a relay to give me. Does anyone have any idea or expereince with this? This has been going on for over 36 hours. I've never had this issue with over hosting companies. Thanks D Regardless of what we did cfmail isn't working. ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288295 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: remove a number from a series of numbers
Is it possible to remove a digit from a multi-digit number IE: 2007 would become 207? Depending of the rule you have to remove digits, you can use a regExp and REreplace() -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288297 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: remove a number from a series of numbers
You don't need to do type conversion in ColdFusion like that. You can just use the string functions. -Original Message- From: Andy Chen [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 12, 2007 2:30 PM To: CF-Talk Subject: Re: remove a number from a series of numbers Yup... convert it to a string using the ToString(). Remove the digit/char you want using RemoveChars() and use Val() to convert it back into a number. Hi, Is it possible to remove a digit from a multi-digit number IE: 2007 would become 207? Thanks, John ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288300 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: remove a number from a series of numbers
Is it possible to remove a digit from a multi-digit number IE: 2007 would become 207? You could read the length to get the length to get the number of digits, Then make a decision as to which digit to remove, Then based on that and the number of total digits decide how many digits to read from the beginning of the string, then use the RIGHT and LEFT string read function to get the starting and ending digits, then concatenate the beginning and end reads into a single string. If you need help with that I can put together a small program, but you should be able to do with just a few Cfsets and RIGHT and LEFT. Robert B. Harrison Director of Interactive services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either/or... It must be . Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288286 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=28801.20441.4 __ NOD32 2524 (20070912) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288298 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
SPRY Problem
I have a SPRY application that returns and lists results. It works fine in mozilla but does not display the contents of the generated XML in IE 6. In IE 6 it always remains in the SPRY loading state (spry:state=loading) Below is the XML that is being generated ?xml version=1.0 encoding=UTF-8? Candidates Candidate ID=1070 candidateID1070/candidateID firstnameAudrey/firstname lastnameLEMAITRE/lastname age22/age sexF/sex countryFrance/country StateNA/State ZipCode91/ZipCode RelocateNo/Relocate ContinentParis/Continent JobPositionHairstylist,Colorist/JobPosition DiplomaCAP/NA/Diploma dateEntered4/26/2005 7:36/dateEntered dateModified4/26/2005 7:36/dateModified /Candidate /Candidates ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288299 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: remove a number from a series of numbers
Or you could do it with any of the other methods mentioned. There are a lot of ways to do that. Robert B. Harrison Director of Interactive services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either/or... It must be . ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288301 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Ajax cfgrid bind problem
Fantastic Gary. Thanks for looking into this. Bug 69915 is what the problem is. Luckily my site is still under development, so I can live with a suboptimal setup while I wait for a hotfix. -Mike Chabot On 9/12/07, gary gilbert [EMAIL PROTECTED] wrote: Mike, But thats not your problem is it? Its the fact that as soon as you move your directory out of wwwroot/projects into c:/projects and point your virtual directory to that you code stops working and inspecting the url no matter what you try or what mappings you have in CF admin you still end up with http://mysite/myCFC instead of http://mysite/projects/mycfc right? with cfc:mysite.projects.mycfc.myfunction you still get the above? After I sent in that last email I re-read your first email again and set it up exactly as you have it and was able to produce the same results as you are getting. So at least I can replicate it. The only problem now is whats the solution... Creating a CF mapping doesn't seem work. I put in the correct path to the cfc in the cfajaxproxy tag and it passes without error but produces var _cf_mycfc=ColdFusion.AjaxProxy.init('/mycfc.cfc','myclass'); without the correct path info. I checked the known issues and found the following entry. 69915: The cfajaxproxy tag is not able to correctly locate CFCs that are in symbolically linked paths on the file system. Ensure that your CFCs are always available under hard linked paths. As a workaround or until someone comes up with a solution you could bind to a URL instead of a CFC. Regards, Gary Gilbert http://www.garyrgilber.com/blog ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288302 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFQuery wrapper tag to help with poor connections to sql..
I have an app that has to use a connection that sees a few seconds of disconnectivity from its SQL server occasionaly. Dan, You can nest CFTRY's to accomplish this. Something like: cftry cfquery name=users datasource=#myDSN# SELECT user_id FROM users /cfquery cfcatch type=database !--- This could be our timeout issue, sleep for 2 seconds and try again --- cfset thisThread = CreateObject(java, java.lang.Thread) / cfset thisThread.sleep(2000) / cftry cfquery name=users datasource=#myDSN# SELECT user_id FROM users /cfquery cfcatch type=any !--- Rethrow the error as we cannot recover --- cfrethrow / /cfcatch /cftry /cfcatch /cftry HTH, Rich ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288303 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: SPRY Problem
Didn't you write this earlier? I responded there but I'll respond here. Make sure yo use the proper cfcontent tag. Mozilla is more forgiving than IE. cfcontent type=text/xml On 9/12/07, Chad McCue [EMAIL PROTECTED] wrote: I have a SPRY application that returns and lists results. It works fine in mozilla but does not display the contents of the generated XML in IE 6. In IE 6 it always remains in the SPRY loading state (spry:state=loading) Below is the XML that is being generated ?xml version=1.0 encoding=UTF-8? Candidates Candidate ID=1070 candidateID1070/candidateID firstnameAudrey/firstname lastnameLEMAITRE/lastname age22/age sexF/sex countryFrance/country StateNA/State ZipCode91/ZipCode RelocateNo/Relocate ContinentParis/Continent JobPositionHairstylist,Colorist/JobPosition DiplomaCAP/NA/Diploma dateEntered4/26/2005 7:36/dateEntered dateModified4/26/2005 7:36/dateModified /Candidate /Candidates ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288304 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CFQuery wrapper tag to help with poor connections to sql..
Also remember the timeout attribute for cfquery. It accepts integers as seconds. cfquery name=users datasource=#myDSN# timeout=2 SELECT user_id FROM users /cfquery -- Wil Genovese One man with courage makes a majority. -Andrew Jackson A fine is a tax for doing wrong. A tax is a fine for doing well. Rich wrote: I have an app that has to use a connection that sees a few seconds of disconnectivity from its SQL server occasionaly. Dan, You can nest CFTRY's to accomplish this. Something like: cftry cfquery name=users datasource=#myDSN# SELECT user_id FROM users /cfquery cfcatch type=database !--- This could be our timeout issue, sleep for 2 seconds and try again --- cfset thisThread = CreateObject(java, java.lang.Thread) / cfset thisThread.sleep(2000) / cftry cfquery name=users datasource=#myDSN# SELECT user_id FROM users /cfquery cfcatch type=any !--- Rethrow the error as we cannot recover --- cfrethrow / /cfcatch /cftry /cfcatch /cftry HTH, Rich ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288305 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CFMAIL - should be simple right? wrong
Your best bet would be to get HMS's mail server working (localhost). Could you be more specific on why that didn't work to begin with? Look in the mail.log file in coldfusionroot/logs/mail.log to see what error is happening when CF attempts to send the mail. Does HMS require authentication when using their mail server. Localhost would assume that an smtp server was listening that the same server CF is installed on. I'm kind of surprised they don't use a separate mail server. Do they have SMTP running on every single one of their CF servers? Also, what if you simply leave the server attribute off of the cfmail tag. Then it will default to what is in CF Administrator. As far as the relay, if the external mail server has relay set to allow requests from certain IP's (which isn't the smartest thing in the world, since IP's can be spoofed to my knowledge) they would need the IP address of the HMS server which would be sending the mail. Depending on how HMS's network is set up, that might the actual CF box, or their firewall. You said HMS says they don't have a relay to give me. I don't know what you really mean by that since the external mail server (smtp.company.com) would be the one relaying the mail. The only problem HMS site might introduce is if their firewall blocked outgoing traffic on port 25 but I doubt that. Hope that helps. ~Brad -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 12, 2007 12:28 PM To: CF-Talk Subject: CFMAIL - should be simple right? wrong One of my clients site is hosted at hostmysite.com and we've been trying to get cfmail working. The client, companyname.com hosts the domain's DNS and HMS has the domain listed on their system. I've tried cfmail ... server =localhost per HMS recommendation and even tried to point to companyname's mail servers smtp.company.com and it still doesn't work. Companyname say they need to know the ip address of the relay to open it up for incoming requests. HMS says they don't have a relay to give me. Does anyone have any idea or expereince with this? This has been going on for over 36 hours. I've never had this issue with over hosting companies. Thanks D ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288307 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cf8 book by Ben Forta - release date?
Was just going through the order process on Amazon for the first book, and it said estimated ship date of 11/12 - two full months from now...?!? Anyone else getting such a crazy delay? ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288306 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cf8 book by Ben Forta - release date?
Sorry I should have mentioned that in the initial post. I got the same results which was why I was looking locally and than asked here. The local stores had the date around Oct 15th so the only thing I can gather so far is that they ship today from Publisher but warehouses wont have it ready to ship til Oct? Local Barnes and Nobles said they could preorder it and have it by Oct and that since it was classified a text book - it wasnt going to be a routinely stocked item. That may have been BS though trying to get me to pre-order cuase I know I have seen former editions on the shelves. From: Scott Weikert [EMAIL PROTECTED] Sent: Wednesday, September 12, 2007 2:57 PM To: CF-Talk cf-talk@houseoffusion.com Subject: Re: cf8 book by Ben Forta - release date? Was just going through the order process on Amazon for the first book, and it said estimated ship date of 11/12 - two full months from now...?!? Anyone else getting such a crazy delay? ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288308 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
XHTML Style CF?
I've noticed some other programmers are now using a close tag indicator in stand-alone cftags, like cfset myvar=0 /. As far as I know it's only an XHTML requirement to close all tags (e.g., br /) and not a CF issue. Since CF never outputs CFtags to the browser is this actually necessary? Robert B. Harrison Director of Interactive services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either/or... It must be . ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288309 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: XHTML Style CF?
Well, I do it because I like XHTML formatting. Additionally there is a suggestion here: http://livedocs.adobe.com/wtg/public/coding_standards/style.html that says: CFML XHTML Compliance ColdFusion source code cannot quite be written to be purely XHTML-compliant because of certain tags (cfif / cfelse, cfreturn, cfset) but you should make an effort to be as XHTML-compliant as possible. cfelse cannot have a closing tag so it cannot be XHTML-compliant; cfif and cfreturn do not have an attribute=value syntax so they cannot be XHTML-compliant (but cfif has a closing /cfif tag and cfreturn can and should have a self-closing /); cfset does not in general follow the attribute=value syntax and these guidelines recommend that for readability you do not quote the value in cfset - but cfset can and should have a self-closing /. This makes the source code more consistent (across CFML and HTML) and will also help you avoid subtle errors such as unterminated nested cfmodule calls. If a simple custom tag invocation is written as XHTML-compliant, i.e., with a closing /, it will be executed twice as if it were a paired tag with an empty body. This can be surprising at first and cause subtle bugs if your code doesn't expect it! You can guard against this in simple custom tags by enclosing the code with: cfif thisTag.executionMode is start ... /cfif Complex custom tags will probably already use thisTag.hasEndTag and have different code executed for thisTag.executionMode is start and thisTag.executionMode is end. All built-in CFML tags should be written as XHTML-compliant where possible (cfif, cfelse, cfset and cfreturn are notable exceptions). Terrence Ryan I.T. Director Wharton Computing and Information Technology E-mail: [EMAIL PROTECTED] -Original Message- From: Robert Harrison [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 12, 2007 3:05 PM To: CF-Talk Subject: XHTML Style CF? I've noticed some other programmers are now using a close tag indicator in stand-alone cftags, like cfset myvar=0 /. As far as I know it's only an XHTML requirement to close all tags (e.g., br /) and not a CF issue. Since CF never outputs CFtags to the browser is this actually necessary? Robert B. Harrison Director of Interactive services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either/or... It must be . ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288310 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: XHTML Style CF?
it's not at all necessary. just a personal preference thing. i do it because i like to keep consistent in my code. but i recognize that functionally, it serves no purpose whatsoever :) On 9/12/07, Robert Harrison [EMAIL PROTECTED] wrote: I've noticed some other programmers are now using a close tag indicator in stand-alone cftags, like cfset myvar=0 /. As far as I know it's only an XHTML requirement to close all tags (e.g., br /) and not a CF issue. Since CF never outputs CFtags to the browser is this actually necessary? Robert B. Harrison Director of Interactive services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either/or... It must be . ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288311 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
trigger to send xml via http to web service?
We have sql 2000 here and unfortunately I've read that you can do more w/ xml in 05'. I'm trying to send xml via http from the newly inserted record to an outside web service. Any ideas on how I should go about doing this? Thanks, Tim ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288312 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: XHTML Style CF?
Completely a personal preference thing. Some of us are just more comfortable keeping to a single style of coding. Thus we don't have to always be thinking; This line is CFML it does not need a closing '/'...This line is XHTML, it needs a closing '/'. Personally it limits the times I make XHTML mistakes by forgetting to properly close a tag if I always close all tags whether XHTML or CFML. Except the rare times this can cause an CFML error. But the only example I can think of is with Custom Tags, and I write my custom tags to not behave differently with cf_myTag and cf_myTag/. ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288313 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: XHTML Style CF?
Its mostly a coding style thing. The style guide that company I work for put out requires that all tags that can be closed are closed. As Charlie stated it serves no purpose whatsoever. But it does look nice. -- Gary Gilbert http://www.garyrgilbert.com/blog ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288314 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: XHTML Style CF?
it's not at all necessary. just a personal preference thing. i do it because i like to keep consistent in my code. but i recognize that functionally, it serves no purpose whatsoever :) Admit it. You do it because the difference between xhtml and cf code mixes you up! :) Will ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288315 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: XHTML Style CF?
We've adopted it as part of our coding standards. it just seems easier to read. I'm not 100% sure, but CFEclipse seems to validate XML style CFML better. I know I've opened some older CFCs with it and it wouldn't give me an outline of all the methods when the code wasn't marked up like that. Adrian J. Moreno Senior Web Developer Unitrin Specialty I've noticed some other programmers are now using a close tag indicator in stand-alone cftags, like cfset myvar=0 /. As far as I know it's only an XHTML requirement to close all tags (e.g., br /) and not a CF issue. Since CF never outputs CFtags to the browser is this actually necessary? ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288316 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: XHTML Style CF?
And because Bobby yells at you if you don't ;) -Original Message- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 12, 2007 4:37 PM To: CF-Talk Subject: Re: XHTML Style CF? it's not at all necessary. just a personal preference thing. i do it because i like to keep consistent in my code. but i recognize that functionally, it serves no purpose whatsoever :) Admit it. You do it because the difference between xhtml and cf code mixes you up! :) Will ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288317 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: remove a number from a series of numbers
I'd like to remove the 2nd Character (zero) from the left Thanks to all for your help. John removeChars(2007, 2, 1) You could start at index '3' in this case since both 2 and 3 are zeros. cheers, barneyb ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288318 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: remove a number from a series of numbers
I ended up using #RemoveChars(2007, 2, 1)# Thanks! Or you could do it with any of the other methods mentioned. There are a lot of ways to do that. Robert B. Harrison Director of Interactive services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 T : 631.231.6600 Ext. 119 F : 631.434.7022 www.austin-williams.com Great advertising can't be either/or... It must be . ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288319 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Another cfwindow question...
I'm just using a simple window. How do I keep CF from adding all this JS? Seems like a bit of overkill for my needs. script type=text/javascript src=/CFIDE/scripts/ajax/messages/cfmessage.js/script script type=text/javascript src=/CFIDE/scripts/ajax/package/cfajax.js/script script type=text/javascript src=/CFIDE/scripts/ajax/yui/animation/animation-min.js/script script type=text/javascript src=/CFIDE/scripts/ajax/ext/adapter/yui/ext-yui-adapter.js/script script type=text/javascript src=/CFIDE/scripts/ajax/ext/ext-core.js/script script type=text/javascript src=/CFIDE/scripts/ajax/ext/package/resizable.js/script script type=text/javascript src=/CFIDE/scripts/ajax/ext/package/dragdrop/dragdrop.js/script script type=text/javascript src=/CFIDE/scripts/ajax/ext/package/util.js/script script type=text/javascript src=/CFIDE/scripts/ajax/ext/build/state/State-min.js/script script type=text/javascript src=/CFIDE/scripts/ajax/ext/package/widget-core.js/script script type=text/javascript src=/CFIDE/scripts/ajax/ext/package/dialog/dialogs.js/script script type=text/javascript src=/CFIDE/scripts/ajax/package/cfwindow.js/script Thanks, Will ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288320 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Another cfwindow question...
I haven't played with CF 8 yet, but if CFWINDOW is anything like CFFORMyou're most likley stuck with it. Just remeber that CF hides the complexity from youso sometimes there's alot hidden under the hood when you use that simple tag ;-) Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com Notice: This message, including any attachments, is confidential and may contain information that is privileged or exempt from disclosure. It is intended only for the person to whom it is addressed unless expressly authorized otherwise by the sender. If you are not an authorized recipient, please notify the sender immediately and permanently destroy all copies of this message and attachments. ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288321 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Homesite CFML7
The function and tag definitions can be downloaded here http://download.macromedia.com/pub/coldfusion/7/hsextend/hsplus_extensions_for_cfmx7.zip ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288325 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Dynamic named CFC and method
I have a cfc in the application scope and I access it like so: cfset application.aImage.updateIm(argumentCollection=q) I would like to be able to pass in the cfc name (in this case myImage) and the method/function (adateIm) dynamically. If I try this, I get an error: A CFML variable name cannot end with a . character cfset a = aImage cfset b = updateIm cfset application.#a#.#b#(argumentCollection=q) I also tried this but then it fails again as updateIm calls another function within aImage.cfc and it can't see/access it: cfset z = application[a][b] cfset z(argumentCollection=q) This works but I'm not accessing the cfc in the application scope which rather defeats the purpose of writing it into the application scope. cfobject component = mycfcs.#a# name = test cfinvoke component = #test# method = #b# returnVariable = z argumentCollection = #arguments# Is there a way to access the cfc and method stored in the application scope and pass in the cfc name and method dynamically? Andrew ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288326 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cfexecute and perl script CF8
Hey guys, I am try to execute a perl scirpt within CF8 but I doesn't seem to work. I tired to execute it the same way before in the previous version of CF but even then I wasn't successful. Here is that my cf page looks like. (its a test page so has nothing else on it except for the cfexecute tag.) cfexecute arguments=/Library/WebServer/Documents/evmCF2/blastImager/WIS_ML1_017_H07_nt.txt name=/Library/WebServer/Documents/evmCF2/blastImager/blast_imager-2.pl / This perl script does work. If I run it on command line it create a temp.jpeg file which has the correct Image. Right now its does nothing. When this page is executed I get no errors, and no file is produced. I have been working on this for 2 days now without any success please help. Thank you ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288324 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: (ADMIN) email problems?
The mail server got bombed by about 50,000 emails telling me that the ColdFusion 8 license had expired and the site was limited to 2 IPs. Fixing the site took time due to the limitation and the mail server took longer. Actually 2 mail servers, but who's counting. Things are back to normal. Is email working on CFTalk? I tried posting a message about an hour ago via email and it has not arrived to the list. I also got a message from out mail server saying it was going to try sending again. ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288323 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Dynamic named CFC and method
I have a cfc in the application scope and I access it like so: cfset application.aImage.updateIm(argumentCollection=q) I would like to be able to pass in the cfc name (in this case myImage) and the method/function (adateIm) dynamically. If I try this, I get an error: A CFML variable name cannot end with a . character cfset a = aImage cfset b = updateIm cfset application.#a#.#b#(argumentCollection=q) I also tried this but then it fails again as updateIm calls another function within aImage.cfc and it can't see/access it: cfset z = application[a][b] cfset z(argumentCollection=q) This works but I'm not accessing the cfc in the application scope which rather defeats the purpose of writing it into the application scope. cfobject component = mycfcs.#a# name = test cfinvoke component = #test# method = #b# returnVariable = z argumentCollection = #arguments# Is there a way to access the cfc and method stored in the application scope and pass in the cfc name and method dynamically? Andrew ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288322 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: cfexecute and perl script CF8
It will have more chance if you add the perl command with whatever options you require name=perl /Library/WebServer/Documents/evmCF2/blastImager/blast_imager-2.pl Regards Dale Fraser http://learncf.com -Original Message- From: Jaysheel Bhavsar [mailto:[EMAIL PROTECTED] Sent: Thursday, 13 September 2007 9:10 AM To: CF-Talk Subject: cfexecute and perl script CF8 Hey guys, I am try to execute a perl scirpt within CF8 but I doesn't seem to work. I tired to execute it the same way before in the previous version of CF but even then I wasn't successful. Here is that my cf page looks like. (its a test page so has nothing else on it except for the cfexecute tag.) cfexecute arguments=/Library/WebServer/Documents/evmCF2/blastImager/WIS_ML1_017_H07_n t.txt name=/Library/WebServer/Documents/evmCF2/blastImager/blast_imager-2.pl / This perl script does work. If I run it on command line it create a temp.jpeg file which has the correct Image. Right now its does nothing. When this page is executed I get no errors, and no file is produced. I have been working on this for 2 days now without any success please help. Thank you ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288327 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: (ADMIN) email problems?
OK, that was an old post. :( On 9/12/07, Michael Dinowitz [EMAIL PROTECTED] wrote: The mail server got bombed by about 50,000 emails telling me that the ColdFusion 8 license had expired and the site was limited to 2 IPs. Fixing the site took time due to the limitation and the mail server took longer. Actually 2 mail servers, but who's counting. Things are back to normal. Is email working on CFTalk? I tried posting a message about an hour ago via email and it has not arrived to the list. I also got a message from out mail server saying it was going to try sending again. ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288328 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Dynamic named CFC and method
cfinvoke component = application.aImage method = #b# returnVariable = z argumentCollection = #arguments# On 9/12/07, Andrew Grosset [EMAIL PROTECTED] wrote: I have a cfc in the application scope and I access it like so: cfset application.aImage.updateIm(argumentCollection=q) I would like to be able to pass in the cfc name (in this case myImage) and the method/function (adateIm) dynamically. If I try this, I get an error: A CFML variable name cannot end with a . character cfset a = aImage cfset b = updateIm cfset application.#a#.#b#(argumentCollection=q) I also tried this but then it fails again as updateIm calls another function within aImage.cfc and it can't see/access it: cfset z = application[a][b] cfset z(argumentCollection=q) This works but I'm not accessing the cfc in the application scope which rather defeats the purpose of writing it into the application scope. cfobject component = mycfcs.#a# name = test cfinvoke component = #test# method = #b# returnVariable = z argumentCollection = #arguments# Is there a way to access the cfc and method stored in the application scope and pass in the cfc name and method dynamically? Andrew ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288329 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Help needed in finding a string within a cgi variable.
cfdump var=#cgi# produces a node that is called QUERY_STRING. Here's an example: 404;http://www.mywebsite.com:80/_cache/106f5d9d92c281ff3e14d3b7096113f.jpg I need to search for _cache within that Query_String. What is the proper way to do this? Many thanks in advance. ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288330 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Help needed in finding a string within a cgi variable.
Just use this. listfindnocase(cgi.query_string,_cache,/) Wil Genovese One man with courage makes a majority. -Andrew Jackson A fine is a tax for doing wrong. A tax is a fine for doing well. Richard Steele wrote: cfdump var=#cgi# produces a node that is called QUERY_STRING. Here's an example: 404;http://www.mywebsite.com:80/_cache/106f5d9d92c281ff3e14d3b7096113f.jpg I need to search for _cache within that Query_String. What is the proper way to do this? Many thanks in advance. ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288331 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Dynamic named CFC and method
Just realized I left out the pound signs: cfinvoke component = #application.aImage# method = #b# returnVariable = z argumentCollection = #arguments# If you want the CFC to be dynamic as well, you can use something like #application[targetCFC]#, where targetCFC is the variable holding the name of the application-scoped CFC you want to invoke. On 9/12/07, Brian Kotek [EMAIL PROTECTED] wrote: cfinvoke component = application.aImage method = #b# returnVariable = z argumentCollection = #arguments# On 9/12/07, Andrew Grosset [EMAIL PROTECTED] wrote: I have a cfc in the application scope and I access it like so: cfset application.aImage.updateIm(argumentCollection=q) I would like to be able to pass in the cfc name (in this case myImage) and the method/function (adateIm) dynamically. If I try this, I get an error: A CFML variable name cannot end with a . character cfset a = aImage cfset b = updateIm cfset application.#a#.#b#(argumentCollection=q) I also tried this but then it fails again as updateIm calls another function within aImage.cfc and it can't see/access it: cfset z = application[a][b] cfset z(argumentCollection=q) This works but I'm not accessing the cfc in the application scope which rather defeats the purpose of writing it into the application scope. cfobject component = mycfcs.#a# name = test cfinvoke component = #test# method = #b# returnVariable = z argumentCollection = #arguments# Is there a way to access the cfc and method stored in the application scope and pass in the cfc name and method dynamically? Andrew ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288332 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Help needed in finding a string within a cgi variable.
Many thanks. That did the trick! Just use this. listfindnocase(cgi.query_string,_cache,/) Wil Genovese One man with courage makes a majority. -Andrew Jackson A fine is a tax for doing wrong. A tax is a fine for doing well. Richard Steele wrote: cfdump var=#cgi# produces a node that is called QUERY_STRING. Here's an example: 404;http://www.mywebsite. com:80/_cache/106f5d9d92c281ff3e14d3b7096113f.jpg I need to search for _cache within that Query_String. What is the proper way to do this? Many thanks in advance. ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288333 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Dynamic named CFC and method
I have a cfc in the application scope and I access it like so: I haven't posted anything to the list in days and then this posting from 5 days ago gets posted twice again...?? Andrew. ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288334 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Another cfwindow question...
Just remeber that CF hides the complexity from youso sometimes there's alot hidden under the hood when you use that simple tag ;-) oh so true.. :) ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288335 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
MSSQL Timeout (Connection: reset)
Folks, Puzzled about this error message. ColdFusion 7.02/Std on Windows 2003/Web connecting to a different machine running MSSQL2000/Std on Windows 20003/Std. Rebooted everything after months of being fine and getting a timeout error The error message from the runtime log is SQLException while attempting to connect: java.sql.SQLException: [Macromedia][SQLServer JDBC Driver]A problem occurred when attempting to contact the server (Server returned: Connection reset). Please ensure that the server parameters passed to the driver are correct and that the server is running. Also ensure that the maximum number of connections have not been exceeded for this server. [Macromedia][SQLServer JDBC Driver]A problem occurred when attempting to contact the server (Server returned: Connection reset) What's weird is this happens on three different VMWare machines running on the same server as the db (this is in a dev environment). I do know that the host machine, which also runs the db, was upgraded to SP2 for Windows 2003 server. Other CF boxes (eg developer machines) and MSSQL tools can connect fine, but not any of the virtual machines. Ideas? -- John Paul Ashenfelter CTO/Transitionpoint (blog) http://www.ashenfelter.com (email) [EMAIL PROTECTED] ~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288336 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: XHTML Style CF?
I do? ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Dave Francis [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 12, 2007 6:25 PM To: CF-Talk Subject: RE: XHTML Style CF? And because Bobby yells at you if you don't ;) -Original Message- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 12, 2007 4:37 PM To: CF-Talk Subject: Re: XHTML Style CF? it's not at all necessary. just a personal preference thing. i do it because i like to keep consistent in my code. but i recognize that functionally, it serves no purpose whatsoever :) Admit it. You do it because the difference between xhtml and cf code mixes you up! :) Will ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288337 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Linear Programming Package
Can anyone recommend a linear programming calculation package that would easily hook to a CF application? Any recommendations appreciated. R. Colman ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288338 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Seeking Programmer to Develop Social Networking Tools for our website
We run a website for expatriates and are looking to add social/ professional networking tools to our platform. We would like to add Linked In style tools to enable members to create profiles, build their networks, join public groups, publish their own blogs, publish articles, post events/view calendar, find jobs/post jobs/network for jobs, etc.. Although we do some developing ourselves, this project seems like too much for us and we'd like to get help with some/all of it -- depending upon the cost. Components: 1- Join/Create Profile (integrate registration with current forum registration - same usernames/passwords) 2-Opt-In to Different Functionality - i.e. want to receive job offers from employers/recruiters, want to meet other single expats, want to use service to recruit people, etc... 3-Build Your Network: invite friends outside site, search for/invite people from inside site, accept/decline others' invitations 4-Show Networking Opps: i.e. there are 10 other members in frankfurt, germany - click here to view the list -- there are 3 other members who also work for PG -- etc.. 5-Member Matching Funtionality: match new expats/people preparing to move abroad with seasoned expats (who have volunteered to mentor newcomers), apply same to dating for single expats, possibly same to help expats make friends abroad, etc.. 6-Member Address Book 7-Member Content: blogs, articles, events, classifieds (possibly premium) 8-Events Calendar: from events submitted by members that they said should be publicly viewable - possibly member-specific events calendar, too, for a member's network to view 9-Communicating: chat, IM/text, forums (we already have forums on site that would be integrated somehow). But, would probably want to enable members to have their own forums and/or groups to have their own forums (still brainstorming) Job Listings/Recruiting funcationality: Group Functionality: enable people to build their own groups - both public and private (possibly making private ones a premium) with events, calendar, member list, etc.. Obviously, we're still figuring out some of the development work. If you're interested in the project, please quote us for the numbered sections -- 1 through 9. Thanks! Betsy Burlingame [EMAIL PROTECTED] ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Jobs-Talk/message.cfm/messageid:3449 Subscription: http://www.houseoffusion.com/groups/CF-Jobs-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11
Re: Seeking Programmer to Develop Social Networking Tools for our website
Just a thoughtdon't shoot the messenger ;-) Being that most if not all of what you're asking for currently exists would it perhaps be more efficient to use exisitng tools to setup groups for your ex-pats (i.e. setup a network on Linked In just for them) and they can use those instead of going through considerable expense to have custom programming done? Of course you may be wanting to charge your members a big new fee for all the shiny new features ;-) Anywaysjust a thoughtseemed like re-inventing the wheel when it may not be neccessary Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com Notice: This message, including any attachments, is confidential and may contain information that is privileged or exempt from disclosure. It is intended only for the person to whom it is addressed unless expressly authorized otherwise by the sender. If you are not an authorized recipient, please notify the sender immediately and permanently destroy all copies of this message and attachments. ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Jobs-Talk/message.cfm/messageid:3450 Subscription: http://www.houseoffusion.com/groups/CF-Jobs-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11
Re: Seeking Programmer to Develop Social Networking Tools for our website
You might want to post this to the cf-jobs list where most of the job seekers are. That being said, I'll throw my resume into the mix. It's not that hard a job once the details have been specked out: http://docs.google.com/Doc?id=dfczxfqq_41sgtvhz I don't do quotes though. Just hourly. On 9/12/07, Betsy Burlingame [EMAIL PROTECTED] wrote: We run a website for expatriates and are looking to add social/ professional networking tools to our platform. We would like to add Linked In style tools to enable members to create profiles, build their networks, join public groups, publish their own blogs, publish articles, post events/view calendar, find jobs/post jobs/network for jobs, etc.. Although we do some developing ourselves, this project seems like too much for us and we'd like to get help with some/all of it -- depending upon the cost. Components: 1- Join/Create Profile (integrate registration with current forum registration - same usernames/passwords) 2-Opt-In to Different Functionality - i.e. want to receive job offers from employers/recruiters, want to meet other single expats, want to use service to recruit people, etc... 3-Build Your Network: invite friends outside site, search for/invite people from inside site, accept/decline others' invitations 4-Show Networking Opps: i.e. there are 10 other members in frankfurt, germany - click here to view the list -- there are 3 other members who also work for PG -- etc.. 5-Member Matching Funtionality: match new expats/people preparing to move abroad with seasoned expats (who have volunteered to mentor newcomers), apply same to dating for single expats, possibly same to help expats make friends abroad, etc.. 6-Member Address Book 7-Member Content: blogs, articles, events, classifieds (possibly premium) 8-Events Calendar: from events submitted by members that they said should be publicly viewable - possibly member-specific events calendar, too, for a member's network to view 9-Communicating: chat, IM/text, forums (we already have forums on site that would be integrated somehow). But, would probably want to enable members to have their own forums and/or groups to have their own forums (still brainstorming) Job Listings/Recruiting funcationality: Group Functionality: enable people to build their own groups - both public and private (possibly making private ones a premium) with events, calendar, member list, etc.. Obviously, we're still figuring out some of the development work. If you're interested in the project, please quote us for the numbered sections -- 1 through 9. Thanks! Betsy Burlingame [EMAIL PROTECTED] ~| Check out the new features and enhancements in the latest product release - download the What's New PDF now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Jobs-Talk/message.cfm/messageid:3451 Subscription: http://www.houseoffusion.com/groups/CF-Jobs-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.11