Re: Oracle stored procs and CF - documentation
I answered myself again. Thankme for the help. No probs :-) CF 7.0.2 doesn't include the 3.5 drivers. Interesting though that Solaris CF Ent and Win CF Dev show different behaviour with the same 3.3 drivers. On 10/10/06, James Holmes [EMAIL PROTECTED] wrote: OK, I worked it out again (damn my terrible memory). This showed up an interesting issue. I don't know if it's a difference in CF or a difference in the DB drivers, but our Solaris servers and my Win dev server behave differently. The windows server works as it should, with this: cfstoredproc procedure=myPachage.myProc datasource=myDSN cfprocresult name=RefCursor_Result resultset=1 /cfstoredproc returning a resultset when the proc is set up to return a ref cursor as an out parameter. However, or the Solaris server, I get this: [Macromedia][Oracle JDBC Driver][Oracle]ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'GETWSDATA' I had to add cfprocparam cfsqltype=cf_sql_varchar null=yes to get it to work. Does anyone know off-hand if this http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=42dcb10a database driver is part of CF 7.0.2? On 10/10/06, James Holmes [EMAIL PROTECTED] wrote: Can someone point me to correct, working documentation on returning CF7 queries from Oracle stored procs? The livedocs are useless on this matter and the articles to which I previously referred are buried or lost somewhere on Adobe's site. -- CFAJAX docs and other useful articles: http://www.bifrost.com.au/blog/ -- CFAJAX docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256072 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Automating data source password changes
Dan, First CF 6 does not have the admin stuff only CF 7. (I am not sure if that was because I was selling lots admin software and add ons or not) Second the password attribute in cfquery overrides the datasource password and lastly you have to encode the password before you add it to neo. I can't imagine editing neo-query manually and adding an unencrypted password. If it works let us know. I assume CF decrypts the password before it is used anyway. Of course I know how to encrypt and in the right format, but I am not telling. Dan ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256073 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Automating data source password changes
Lol you reckon that Macromedia didn't ship any stuff like this because you had developed other means already?! This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Dan Plesse To: CF-Talk Sent: Tue Oct 10 08:29:57 2006 Subject: Re: Automating data source password changes Dan, First CF 6 does not have the admin stuff only CF 7. (I am not sure if that was because I was selling lots admin software and add ons or not) Second the password attribute in cfquery overrides the datasource password and lastly you have to encode the password before you add it to neo. I can't imagine editing neo-query manually and adding an unencrypted password. If it works let us know. I assume CF decrypts the password before it is used anyway. Of course I know how to encrypt and in the right format, but I am not telling. Dan ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256074 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, jdbc, SQL2k5 problem
I think what is needed here is a good old look see of your JDBC URL. Nothing else is needed. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256075 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Automating data source password changes
I assume CF decrypts the password before it is used anyway. Of course I know how to encrypt and in the right format, but I am not telling. In CF6 or CF7? I know in 6, it is a piece of cake to get the key for encrypt/decrypt... Not tried in 7 yet, but I am sure it is achievable with a little work and Googling :-) This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Dan Plesse To: CF-Talk Sent: Tue Oct 10 08:29:57 2006 Subject: Re: Automating data source password changes Dan, First CF 6 does not have the admin stuff only CF 7. (I am not sure if that was because I was selling lots admin software and add ons or not) Second the password attribute in cfquery overrides the datasource password and lastly you have to encode the password before you add it to neo. I can't imagine editing neo-query manually and adding an unencrypted password. If it works let us know. I assume CF decrypts the password before it is used anyway. Of course I know how to encrypt and in the right format, but I am not telling. Dan ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256076 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: OT: Database Oddity with MySQL
On Tuesday 10 October 2006 02:59, B V wrote: each InnoDB table InnoDB free: 13312 kB; . Yet that is only 13 mb , and I have 600 mb total in my db. It obviously doesn't mean free in the sense you think it does ? -- Tom Chiverton Helping to adaptively drive turn-key materials 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. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256077 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Automating data source password changes
You can work with the Java Service Factory directly in CFMx6 which does the same thing albeit with more work. In fact I have still had to do things this way as the AdminAPI in CFMX7 doesn't work right. -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: 10 October 2006 08:32 To: CF-Talk Subject: Re: Automating data source password changes Lol you reckon that Macromedia didn't ship any stuff like this because you had developed other means already?! This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Dan Plesse To: CF-Talk Sent: Tue Oct 10 08:29:57 2006 Subject: Re: Automating data source password changes Dan, First CF 6 does not have the admin stuff only CF 7. (I am not sure if that was because I was selling lots admin software and add ons or not) Second the password attribute in cfquery overrides the datasource password and lastly you have to encode the password before you add it to neo. I can't imagine editing neo-query manually and adding an unencrypted password. If it works let us know. I assume CF decrypts the password before it is used anyway. Of course I know how to encrypt and in the right format, but I am not telling. Dan ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256078 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Automating data source password changes
I did a Web Service API that allows you to remotely setup DSN's, mappings and sandboxes, it is being used in HELM control panel. I could not solve this error so we reverted back to using the Java Service Factory. Russ -Original Message- From: Dan Parker [mailto:[EMAIL PROTECTED] Sent: 09 October 2006 19:32 To: CF-Talk Subject: Re: Automating data source password changes For our MX 6 server, I've been working with the following code. It keeps giving a numerical error. The number seems to be based on the password that I pass to the component: cfset setDSN=createObject(component,cfide.administrator.components.datasource) cfinvoke component=#setDSN# method=setOracle cfinvokeargument name=dsn value=parkerd/ cfinvokeargument name=host value=[IP removed]/ cfinvokeargument name=sid value=[SID removed]/ cfinvokeargument name=port value=1813/ cfinvokeargument name=username value=thisUser/ cfinvokeargument name=password value=howBoutThat/ cfinvokeargument name=epassword value=howBoutThat/ cfinvokeargument name=class value=macromedia.jdbc.MacromediaDriver /cfinvoke 11 The error occurred in E:\Inetpub\wwwroot\CFIDE\administrator\components\_datasource\setdsn.cfm: line 332 Called from E:\Inetpub\wwwroot\CFIDE\administrator\components\_datasource\setdsn.cfm: line 3 Called from E:\Inetpub\wwwroot\CFIDE\administrator\components\_datasource\setdsn.cfm: line 1 Called from E:\Inetpub\wwwroot\CFIDE\administrator\components\datasource.cfc: line 540 Called from E:\Inetpub\wwwroot\virt.parker\dsp\setMyDatasource.cfm: line 18 Called from E:\Inetpub\wwwroot\virt.parker\index.cfm: line 11 Stack Trace at cfsetdsn2ecfm2110276039._factor4(E:\Inetpub\wwwroot\CFIDE\administrator\comp onents\_datasource\setdsn.cfm:332) at cfsetdsn2ecfm2110276039._factor5(E:\Inetpub\wwwroot\CFIDE\administrator\comp onents\_datasource\setdsn.cfm:3) at cfsetdsn2ecfm2110276039.runPage(E:\Inetpub\wwwroot\CFIDE\administrator\compo nents\_datasource\setdsn.cfm:1) at cfdatasource2ecfc1645517805$funcSETORACLE.runFunction(E:\Inetpub\wwwroot\CFI DE\administrator\components\datasource.cfc:540) at cfsetMyDatasource2ecfm1566537573.runPage(E:\Inetpub\wwwroot\virt.parker\dsp\ setMyDatasource.cfm:18) at cfindex2ecfm919545483.runPage(E:\Inetpub\wwwroot\virt.parker\index.cfm:11) java.lang.ArrayIndexOutOfBoundsException: 11 at coldfusion.sql.TwoFishCryptor.toByte(TwoFishCryptor.java:162) at coldfusion.sql.TwoFishCryptor.decrypt(TwoFishCryptor.java:65) at coldfusion.sql.Executive.mapModified(Executive.java:258) at coldfusion.server.ConfigMap.setChanged(ConfigMap.java:64) at coldfusion.server.ConfigMap.put(ConfigMap.java:238) at coldfusion.runtime.Struct.StructInsert(Struct.java:409) at coldfusion.runtime.CFPage.StructInsert(CFPage.java:4091) at cfsetdsn2ecfm2110276039._factor4(E:\Inetpub\wwwroot\CFIDE\administrator\comp onents\_datasource\setdsn.cfm:332) at cfsetdsn2ecfm2110276039._factor5(E:\Inetpub\wwwroot\CFIDE\administrator\comp onents\_datasource\setdsn.cfm:3) at cfsetdsn2ecfm2110276039.runPage(E:\Inetpub\wwwroot\CFIDE\administrator\compo nents\_datasource\setdsn.cfm:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:147) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:357) at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1876) at cfdatasource2ecfc1645517805$funcSETORACLE.runFunction(E:\Inetpub\wwwroot\CFI DE\administrator\components\datasource.cfc:540) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:338) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java: 250) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:53) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:203) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:359) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:196) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:139) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1587) at coldfusion.tagext.lang.InvokeTag.doEndTag(InvokeTag.java:331) at cfsetMyDatasource2ecfm1566537573.runPage(E:\Inetpub\wwwroot\virt.parker\dsp\ setMyDatasource.cfm:18) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:147) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:357) at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1876) at cfindex2ecfm919545483.runPage(E:\Inetpub\wwwroot\virt.parker\index.cfm:11) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:147) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:357) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:62) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:107) at
Re: Automating data source password changes
You don't even need to use the ServiceFactory in CF6 ... you can just use the underlying CFCs that the CFAdmin uses (yes, they DO exist in CF6). Saying that, they probably are missing some functionality just like those in CF7 (as Russ says) On 10/10/06, Snake [EMAIL PROTECTED] wrote: You can work with the Java Service Factory directly in CFMx6 which does the same thing albeit with more work. In fact I have still had to do things this way as the AdminAPI in CFMX7 doesn't work right. -Original Message- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: 10 October 2006 08:32 To: CF-Talk Subject: Re: Automating data source password changes Lol you reckon that Macromedia didn't ship any stuff like this because you had developed other means already?! This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Dan Plesse To: CF-Talk Sent: Tue Oct 10 08:29:57 2006 Subject: Re: Automating data source password changes Dan, First CF 6 does not have the admin stuff only CF 7. (I am not sure if that was because I was selling lots admin software and add ons or not) Second the password attribute in cfquery overrides the datasource password and lastly you have to encode the password before you add it to neo. I can't imagine editing neo-query manually and adding an unencrypted password. If it works let us know. I assume CF decrypts the password before it is used anyway. Of course I know how to encrypt and in the right format, but I am not telling. Dan ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256080 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: jsVal is a nice validation script and very good with my CF pages
Hi Qasim: Can you please tell me is it possible to validate a dynamic select box (menu) with this script or not? Thanks benign ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256081 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, jdbc, SQL2k5 problem
jdbc:sqlserver:/stargate\dbinstanceone:1433;DatabaseName=StoneCutters On 10/10/06, Dan Plesse [EMAIL PROTECTED] wrote: I think what is needed here is a good old look see of your JDBC URL. Nothing else is needed. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256082 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: application servers
hi, thanks for all your replies. This is my first app so forgive my ignorance as i dont really understand how all of this fits together. my app is going to have around 20,000 users but concurrent users im not sure but we will be testing for early next year. As i am seeing from your advice the architecture is that is can either use JRUN in the production environment or Apache may be better. The enterprise edition of coldfusion and mysql will be deployed on one of these. and thats how it first together to work in the production environment, is that correct? thanks for advice im getting closer to understanding it :) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256083 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Handling Asynch gateway calls between sites
Sorry if this is a duplicate message, but I posted it 20 hours ago now and it hasnt appeared, so i figure something must have gone astray somewhere . This is a new and interesting area for me I'm starting to work with SMS gateways and i've already got it going with a XML http call to a SMS gateway, but i want to build an interactive app using the built in SMS gateway. Does anyone know if it's possible to have a gateway set up and able to receive calls (and return responses) from other sites? Like for example if i have the gateway set up on one of my domains, and want to have another of my sites on a separate domain using the gateway I've set up via the Asynch gateway. If so, how is it done?If it's in the docs, I must have skipped over it not understanding it because I dont think i have seen where it says you can (or can't) do this. -- Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256084 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Database of phone countrycodes?
I'm sorry if this is a duplicate post, but I posted it about 20 hours ago now and it still hasn't appeared on the list so I figured something must have gone astray somewhere along the way Does anyone know if there's a ready-made, freely downloadable database of the countries and the telephone dialing codes for them? Free would be good but could pay a moderate amount if necessary. I have an app where i need to match phone numbers to countries of residence and one of the things I need to do is check the phone number includes the correct country dialing code. -- Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256085 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Building a Better CF_Accelerate?
Could you alter cf_accelerate to use the newer notation structKeyExists() instead of isDefined() and see if that is any zippier? Chris -Original Message- From: Terry Ford [mailto:[EMAIL PROTECTED] Sent: Monday, October 09, 2006 10:38 PM To: CF-Talk Subject: Building a Better CF_Accelerate? Hey folks... Haven't been here in a while, but thought I'd pop in and see if anyone has developed a more efficient partial-page caching tag in the last couple of years. We have used CF_Accelerate (by Brandon Purcell) for 3 years now, and it has help us wonderuflly. For those who don't know what it is, it caches parts of a page in a struct-based memory structure. It has worked well to cache data for various periods of time, essentially cutting out all processing / queries for the code around which it appears. We handle upwards of 25 million CFM pageviews (heavy db use) a month on a single dual xeon box, hosting mysql and httpd on the same machine, so caching has been essential. One modification we made to speed it up was to use named locks on the primary/secondary keys in order to speed up lock waiting that was occurring. Anyway, I was wondering if anyone has come up with a more optimized/efficient CF_Accelerate-esque tag over the past couple of years. During peak times when the server is being hit hard, I've noticed that the CF_Acclerate code itself seems to have execution times that, while still fairly fast, could be improved. I suspect it has something to do with structs growing too large and operations like isdefined(struct.key.key2) slowing down. I recall reading a thread somewhere about how CFMX can be either efficient or very inefficient when dealing with large structs depending on how the key names are distributed. Perhaps hashing secondary key names would improve the seek times on them? Except perhaps the hashing overhead itself would erase any improvement... Regards Terry ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256086 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Database of phone countrycodes?
http://www.lincmad.com/countrycodes.html - Original Message - From: Mike Kear [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, October 10, 2006 1:45 PM Subject: Database of phone countrycodes? I'm sorry if this is a duplicate post, but I posted it about 20 hours ago now and it still hasn't appeared on the list so I figured something must have gone astray somewhere along the way Does anyone know if there's a ready-made, freely downloadable database of the countries and the telephone dialing codes for them? Free would be good but could pay a moderate amount if necessary. I have an app where i need to match phone numbers to countries of residence and one of the things I need to do is check the phone number includes the correct country dialing code. -- Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256087 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Database of phone countrycodes?
Mike Kear wrote: Does anyone know if there's a ready-made, freely downloadable database of the countries and the telephone dialing codes for them? The official list is on the ITU website. Jochem ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256088 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Queue Flash videos
I've seen this article but it's not what I'm looking for. I need to be able to play all of the items on the list once the client has clicked a Play all button. This would kick off the videos one after the other. It's the same thing that espn.com has on their home page. Ben Higgins Systems Administrator Kaleida Systems Inc. www.kaleidasystems.com -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, October 09, 2006 3:46 PM To: CF-Talk Subject: Re: Queue Flash videos I've only seen this done using Actionscript by calling an xml file. Since you need it to be dynamic, use CF to write a new xml file everytime you update the video to be played. I'm by know means an Acript script expert, but I read this is one of the best ways to manage dynamic video content. This link might help. You'd want to ask on an Actionscript forum how to alter the actionscript from starting each video by the user clicking on a selection to just playing through the videos in your list. http://www.adobe.com/devnet/flash/articles/video_player.html D I'm looking for a way to create a list of flv files stored on a flash media server and play them back to back without having to select the next video. The list has to be dynamic so I can't just create a list in a swf file and play it back. I've found an example for doing this on the client's browser side by downloading the files and playing them in the flash player by using the flash / javascript gateway that macromedia created. Does anyone know if there is a function in the gateway that does streaming files or another way to do this using coldfusion and javascript? Ben Higgins Systems Administrator Kaleida Systems Inc. www.kaleidasystems.com ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256089 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Building a Better CF_Accelerate?
I documented my tool, which I have been using for the last 2 or so years. I wish I knew about the others before I went out on my own and wrote it 2 years ago, but here it is - a bit different than the other ones. It helps me keep a heavily Databased site serving out 800k-1million pages a day. http://www.onlysimchas.com/cf/ ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256090 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Building a Better CF_Accelerate?
I've employed Ray's scopecache and I really like it. I haven't compared it to others (Ray wrote it so I didn't bother :-). On 10/10/06, Terry Ford [EMAIL PROTECTED] wrote: Hey folks... Haven't been here in a while, but thought I'd pop in and see if anyone has developed a more efficient partial-page caching tag in the last couple of years. We have used CF_Accelerate (by Brandon Purcell) for 3 years now, and it has help us wonderuflly. For those who don't know what it is, it caches parts of a page in a struct-based memory structure. -- CFAJAX docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256091 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, jdbc, SQL2k5 problem
actually it's on a server, my notebook is a 2k3 standard Dave, For someone with your length of development you really have surprised me on this issue. First of all, if you install SQL2005 on a workstation it will default to a desktop version or a named instance of a database, however you can have multiple databases in that named instance. Second of all, yes for every named instance you do need to have a different port. Now Kurt this may answer your question. You need to download the SQL2005 JDBC drivers from MS if you haven't done so already, you then make the connection in the same manner you would any JDBC driver connection even mySQL. Now comes the catch, you need to go back to SQL2005 and open the TCP/IP ports because by default these are disabled and you will not be able to get coldfusion to connect to until you do this. SQL Express doesn't run on port 1433. On my machine it runs on port 1771. I didn't do anything special during the installation (meaning I just accepted all the defaults) so I'm not sure if 1771 is the default port for SQL 2005 now or if for some reason on my setup it just chose this port. The port is obviously crucial when you're setting up your datasources for CF. To check your port after installation, go to the SQL Server Configuration Manager (the same one you went to above to enable TCP/IP connectivity), go to Network Configuration/Protocols again, right click on TCP/IP, choose Properties, then click on the IP Addresses tab. Under IPAll in the TCP Dynamic Ports section, in my install this was automatically set to port 1771. Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Tuesday, 10 October 2006 12:38 PM To: CF-Talk Subject: RE: CF, jdbc, SQL2k5 problem You can't connect using an instance name. You will need to use the IP socket corresponding to the instance. I'm not so sure about that. I believe i used an instance name at a client and it worked see: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_18294 but can't get it to work here You might want to read that technote more carefully. It says you have to use a unique port, which is what I said as well. 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! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256092 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: StructFindValue Question...
How about cfif arrayMax(query[OptNurseryOnly]) You have ones /cfif On 10/9/06, Che Vilnonis [EMAIL PROTECTED] wrote: Hmmm. I'm just trying to use what code has the least amount of overhead. Perhaps I would be better just using the ValueList function instead of Q of Q? Thanks, Che -Original Message- From: Ben Nadel [mailto:[EMAIL PROTECTED] Sent: Monday, October 09, 2006 5:20 PM To: CF-Talk Subject: RE: StructFindValue Question... I agree with Dan... No matter how complex the query is, query of queries should be able to handle it. I doubt any sort of StructFind type thing would be more powerful than a query of queries. Maybe if you gave us more info, we could help you construct your query of queries. ... Ben Nadel Certified Advanced ColdFusion Developer www.bennadel.com -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Monday, October 09, 2006 5:14 PM To: CF-Talk Subject: RE: StructFindValue Question... Dan, unfortunately, I gave a stripped down example. The main query is more complex (has 10 or so columns w/multiple WHERE clauses) and would not work well with a Q of Q as dynamic values are passed to it. Any other ideas? -Original Message- From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] Sent: Monday, October 09, 2006 5:11 PM To: CF-Talk Subject: RE: StructFindValue Question... Che, You can use Queries-of-Queries: cfquery name=getCount dbtype=query select count(OptNurseryOnly) from queryName where OptNurseryOnly = 1 /cfquery That would give you the count of the number of entries that had OptNurseryOnly set to 1. (NOTE: If the OptNurseryOnly is a text field, you'll want to use apostrophes around the value.) -Dan -Original Message- From: Che Vilnonis [mailto:[EMAIL PROTECTED] Sent: Monday, October 09, 2006 5:05 PM To: CF-Talk Subject: StructFindValue Question... I *think* I need to use StructFindValue here. Not sure. I have a simple query. One of the columns is named OptNurseryOnly. The values returned from the db can only be a one or a zero. I'd like to use some type of conditional logic to know if any 1s are returned in the query *w/o looping through the query or using a valuelist funtion* but I cannot quite get it to work. Something like: cfif StructFindValue(query.OptNurseryOnly, 1, ALL) do something /cfif What am I doing wrong? ~Che ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256093 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, jdbc, SQL2k5 problem
Thanks for your help all of you! If nothing else we got a great discussion going going. for the sake of argument i reinstalled 2k5 on my notebook under a default instance only, and, after opening tcp/ip, it connected fine. However, the recomendation is to not install sql2k5 in the default instance for security reasons, so i'll need to get this one resolved when i convert up to 2k5 on my next version and it appears i have enough to work with. A thank you to all!! KES Dave, For someone with your length of development you really have surprised me on this issue. First of all, if you install SQL2005 on a workstation it will default to a desktop version or a named instance of a database, however you can have multiple databases in that named instance. Second of all, yes for every named instance you do need to have a different port. Now Kurt this may answer your question. You need to download the SQL2005 JDBC drivers from MS if you haven't done so already, you then make the connection in the same manner you would any JDBC driver connection even mySQL. Now comes the catch, you need to go back to SQL2005 and open the TCP/IP ports because by default these are disabled and you will not be able to get coldfusion to connect to until you do this. SQL Express doesn't run on port 1433. On my machine it runs on port 1771. I didn't do anything special during the installation (meaning I just accepted all the defaults) so I'm not sure if 1771 is the default port for SQL 2005 now or if for some reason on my setup it just chose this port. The port is obviously crucial when you're setting up your datasources for CF. To check your port after installation, go to the SQL Server Configuration Manager (the same one you went to above to enable TCP/IP connectivity), go to Network Configuration/Protocols again, right click on TCP/IP, choose Properties, then click on the IP Addresses tab. Under IPAll in the TCP Dynamic Ports section, in my install this was automatically set to port 1771. Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Tuesday, 10 October 2006 12:38 PM To: CF-Talk Subject: RE: CF, jdbc, SQL2k5 problem You can't connect using an instance name. You will need to use the IP socket corresponding to the instance. I'm not so sure about that. I believe i used an instance name at a client and it worked see: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_18294 but can't get it to work here You might want to read that technote more carefully. It says you have to use a unique port, which is what I said as well. 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! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256094 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
input type=Hidden name=status_required issue
i have a customer input page that has this code at the bottom of the page right before the submit button. input type=Hidden name=status_required well on the same page i have a checkbox that if checked, it needs to ignore this same piece of code. if the check box is checked, i want it to do this cflocation url=NOIDecision.cfm addtoken=No how do i do this since the check box is on the same page as the piece of code having the required field? Rick Dennis ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256095 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: input type=Hidden name=status_required issue
check for the checkbox and do a cflocation at the very top of whatever page this submits to. Rick Dennis wrote: i have a customer input page that has this code at the bottom of the page right before the submit button. input type=Hidden name=status_required well on the same page i have a checkbox that if checked, it needs to ignore this same piece of code. if the check box is checked, i want it to do this cflocation url=NOIDecision.cfm addtoken=No how do i do this since the check box is on the same page as the piece of code having the required field? Rick Dennis ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256096 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Strange security problem with googlebot
You hit it.. it was the web accelerator. I now know that I should not let a simple clicked link change anything. Both of these sites were written in cold fusion version 2 and 3 when I didn't know better:) WAY too many pages to go back and change them now. I thought since it was password protected, it would be safe. I even tested it years ago with link checkers to make sure they couldn't get in. This sounds like the Google Web Accelerator: http://webaccelerator.google.com/ Do you have this installed? To quick fix it, I changed my passwords, and my robots.txt file to disallow those directorys.. but isn't that a security risk in itself? Advertising which directories are secret? You don't block Google for security reasons, you do it to keep it from crawling things you don't want crawled. Listing private directories in robots.txt is a potential leakage of information, but is relatively inconsequential if your private content is properly secured. If you don't have any links to those directories in your public content, you shouldn't need to put them in robots.txt, although I probably would as a matter of course. I also added another layer of protection - setting a cookie when they log in... supposedly googlebot can't handle cookies. Google Web Accelerator can, I think. Eventually I will change the system to use forms instead of links... but changing that will be a lot of work. This is the real issue. HTTP GET requests shouldn't be able to change anything: http://en.wikipedia.org/wiki/Idempotence_(computer_science) 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! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256097 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Extracting Data into an Array
I'm trying to find a simple way to go though a block of text and pull out any occurace of links in that block of text. I'm not sure if the problems I'm having are based on the function I am using or the reqular expression. Currently I am using REFind(a [[:space:]*[:punct:]*[:alnum:]*], qLinkReview.TextBlock) where qLinkReview.TextBlock is the block of text that I retreived from the database. The only result I am getting is 0 but I know that all of the text blocks I am looking at have at least one link occurance. Once I am able to identify the links I am going to need to pull them out and put them into an array for evaluation and possible display. I have no idea about how to go about this. I would be greatful for any help I can get. Also, if possible could you include explinations with any code so that I can learn something in the process. Thanks! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256098 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: input type=Hidden name=status_required issue
cfif StructkeyExists(form,'mycheckbox') cflocation url=NOIDecision.cfm addtoken=No /cfif Rus -Original Message- From: Rick Dennis [mailto:[EMAIL PROTECTED] Sent: 10 October 2006 15:25 To: CF-Talk Subject: input type=Hidden name=status_required issue i have a customer input page that has this code at the bottom of the page right before the submit button. input type=Hidden name=status_required well on the same page i have a checkbox that if checked, it needs to ignore this same piece of code. if the check box is checked, i want it to do this cflocation url=NOIDecision.cfm addtoken=No how do i do this since the check box is on the same page as the piece of code having the required field? Rick Dennis ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256099 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: application servers
On 10/10/06, Richard White [EMAIL PROTECTED] wrote: hi, thanks for all your replies. This is my first app so forgive my ignorance as i dont really understand how all of this fits together. my app is going to have around 20,000 users but concurrent users im not sure but we will be testing for early next year. As i am seeing from your advice the architecture is that is can either use JRUN in the production environment or Apache may be better. The enterprise edition of coldfusion and mysql will be deployed on one of these. and thats how it first together to work in the production environment, is that correct? Comparing JRUN to Apache is a apples to oranges comparison, they are two different beasts. Apache is the web server, JRun the app server. I'd suspect you are going to want the enterprise ColdFusion version. This comes with a full version of JRun(read NOT limited, yes a full version). You can then put IIS or Apache web server in front of it. Unless you really need some special J2EE stuff, I'd not even worry about the app server discussion. DK thanks for advice im getting closer to understanding it :) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256100 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: StructFindValue Question...
Che, Dan, unfortunately, I gave a stripped down example. The main query is more complex (has 10 or so columns w/multiple WHERE clauses) and would not work well with a Q of Q as dynamic values are passed to it. Any other ideas? The complexity of the original query doesn't really matter. The QoQ functionality allows you to take a query object and then break that query down farther by using T-SQL based statements. If your original query was named queryName, the original code I posted (which is below) would do exactly what you wanted to do w/the StructFind() function. cfquery name=getCount dbtype=query select count(OptNurseryOnly) from queryName where OptNurseryOnly = 1 /cfquery -Dan ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256101 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Open Ports
Anyone know what firewall ports need to be open to enable Homesite RDS and FTP access? TNX. Rick Colman ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256102 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Extracting Data into an Array
You've almost got it. http://www.cfquickdocs.com/?getDoc=REFindNoCase If you add one final argument to REFind, that function will return an array for you: REFind(a [[:space:]*[:punct:]*[:alnum:]*], qLinkReview.TextBlock, true) If returnsubexpressions = True: a structure that contains two arrays, len and pos. The array elements are as follows: If the regular expression is found in the string, the first element of the len and pos arrays contains the length and position, respectively, of the first match of the entire regular expression. If the regular expression contains parentheses that group subexpressions, each subsequent array element contains the length and position, respectively, of the first occurrence of each group. If the regular expression is not found in the string, the first element of the len and pos arrays contains 0. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Millisa Eubanks [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 9:22 AM To: CF-Talk Subject: Extracting Data into an Array I'm trying to find a simple way to go though a block of text and pull out any occurace of links in that block of text. I'm not sure if the problems I'm having are based on the function I am using or the reqular expression. Currently I am using REFind(a [[:space:]*[:punct:]*[:alnum:]*], qLinkReview.TextBlock) where qLinkReview.TextBlock is the block of text that I retreived from the database. The only result I am getting is 0 but I know that all of the text blocks I am looking at have at least one link occurance. Once I am able to identify the links I am going to need to pull them out and put them into an array for evaluation and possible display. I have no idea about how to go about this. I would be greatful for any help I can get. Also, if possible could you include explinations with any code so that I can learn something in the process. Thanks! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256103 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RC2 via Bouncy Castle - last block incomplete in decryption
I've followed the TechNote (http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=e546373d) to the letter, trying to get RC2 encryption/decryption to work. I keep getting last block incomplete in decryption error no matter which keys I use. It works fine for RC4. What am I doing wrong? #Decrypt(M5Kbj6C5nsmJRQ==, '12345678', 'RC2', 'Base64')# This works without a hitch: #Encrypt(testing123, '12345678', 'RC4', 'Base64')# (outputs s/BfPyimOCBlqg==) #Decrypt(s/BfPyimOCBlqg==, '12345678', 'RC4', 'Base64')# (outputs testing123) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256104 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
book title listing
I have a menu list of books and would like to have it list each title alphabetically BUT only display the listing for one letter. For instance, the menu page would have A-Z listed and when a user clicks on A all the titles with A would list. I realize I have to add a where to the statement, but how do I isolate the first letter of the book title? Here is my query: cfquery name=Getbook datasource=printprices SELECT * FROM bookinfo order by booktitle /cfquery Thanks! Robert HWW ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256105 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Strange security problem with googlebot
Okay, call me silly, but what kind of code exactly can cause this problem? I've been around since v4, but don't have a clue to what you're referring. I feel rather sheepish even asking, but am most certainly curious as hell to know... so I asked nonetheless. :-) Thanks -Original Message- From: Al Musella, DPM [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 9:27 AM To: CF-Talk Subject: RE: Strange security problem with googlebot You hit it.. it was the web accelerator. I now know that I should not let a simple clicked link change anything. Both of these sites were written in cold fusion version 2 and 3 when I didn't know better:) WAY too many pages to go back and change them now. I thought since it was password protected, it would be safe. I even tested it years ago with link checkers to make sure they couldn't get in. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256106 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: book title listing
SELECT *, LEFT(booktitle,1) AS letter FROM bookinfo order by booktitle !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Orlini, Robert [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 9:50 AM To: CF-Talk Subject: book title listing I have a menu list of books and would like to have it list each title alphabetically BUT only display the listing for one letter. For instance, the menu page would have A-Z listed and when a user clicks on A all the titles with A would list. I realize I have to add a where to the statement, but how do I isolate the first letter of the book title? Here is my query: cfquery name=Getbook datasource=printprices SELECT * FROM bookinfo order by booktitle /cfquery Thanks! Robert HWW ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256107 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: book title listing
What data base are you using? In MS SQL you can use LEFT like so: where left(booktitle, 1) = 'A' This might be the same in the other Databases, not sure. -Original Message- From: Orlini, Robert [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 8:50 AM I have a menu list of books and would like to have it list each title alphabetically BUT only display the listing for one letter. For instance, the menu page would have A-Z listed and when a user clicks on A all the titles with A would list. I realize I have to add a where to the statement, but how do I isolate the first letter of the book title? Here is my query: cfquery name=Getbook datasource=printprices SELECT * FROM bookinfo order by booktitle /cfquery EMF idahopower.com made the following annotations. -- This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. == ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256108 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: book title listing
In Oracle you would use SubStr() Something like SubStr(booktitle, 1, 1,) On 10/10/06, Munson, Jacob [EMAIL PROTECTED] wrote: What data base are you using? In MS SQL you can use LEFT like so: where left(booktitle, 1) = 'A' This might be the same in the other Databases, not sure. -Original Message- From: Orlini, Robert [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 8:50 AM I have a menu list of books and would like to have it list each title alphabetically BUT only display the listing for one letter. For instance, the menu page would have A-Z listed and when a user clicks on A all the titles with A would list. I realize I have to add a where to the statement, but how do I isolate the first letter of the book title? Here is my query: cfquery name=Getbook datasource=printprices SELECT * FROM bookinfo order by booktitle /cfquery EMF idahopower.com made the following annotations. -- This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. == ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256109 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Open Ports
Anyone know what firewall ports need to be open to enable Homesite RDS and FTP access? RDS uses HTTP through your web server. So, you'll need whatever port your web server is using (TCP/80 by default). The default FTP port is TCP/21. 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! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256110 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: book title listing
Hi Aaron, where left(booktitle, 1) = 'A' worked great! Thanks. Robert O. -Original Message- From: Aaron Rouse [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 11:01 AM To: CF-Talk Subject:Re: book title listing In Oracle you would use SubStr() Something like SubStr(booktitle, 1, 1,) On 10/10/06, Munson, Jacob [EMAIL PROTECTED] wrote: What data base are you using? In MS SQL you can use LEFT like so: where left(booktitle, 1) = 'A' This might be the same in the other Databases, not sure. -Original Message- From: Orlini, Robert [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 8:50 AM I have a menu list of books and would like to have it list each title alphabetically BUT only display the listing for one letter. For instance, the menu page would have A-Z listed and when a user clicks on A all the titles with A would list. I realize I have to add a where to the statement, but how do I isolate the first letter of the book title? Here is my query: cfquery name=Getbook datasource=printprices SELECT * FROM bookinfo order by booktitle /cfquery EMF idahopower.com made the following annotations. -- This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. == ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256111 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: FlashPaper vs PDF
The FlashPaper 2 output you get as a result (espcially with the latest FlashPlayer 9 player) is very, very, good and very lightweight. The hugh advantage to flashpaper is the almost instantanious rendering. The disadvantage is that small fonts appear overly anti-aliased. I had a client who wanted to use it but we couldn't solve the font problem. It reminded me of the early days of PDFs, when fonts were fuzzy. If you stick to large fonts, the rendering looks great. Damon, are small fonts crisper in Flashpaper rendered with Player 9 ? ---Greg On 10/5/06, dcooper @ macromedia. com dcooper @ macromedia. com [EMAIL PROTECTED] wrote: Actuall, JD, ColdFusion dynamically generates both PDF and FlashPaper SWF output for CF reports and CFDOCUMENT (and reports also outputs Excel and RTF, etc as well). While you are correct that the FlashPaper product used a printer-driver technology, we chose a different route that yields super-high quality fonts, etc natively as a Flex app would, directly aseembling the documents ourselves, without using the proiblematic printer driver approach. The FlashPaper 2 output you get as a result (espcially with the latest FlashPlayer 9 player) is very, very, good and very lightweight. -Damon Macromedia FlashPaper was a printer driver which could turn documents (including PDF) to SWF. The document would display in a Macromedia shell SWF with viewing chrome. I haven't heard of any news with FlashPaper since the Adobe acquisition. For forms, though, Adobe Reader is much stronger. FlashPaper treats something as a document, but Acrobat offers significant forms technology. One wrinkle here is that Adobe Reader 8.0, announced last week and in public release this autumn, can archive filled forms to local storage. Previous versions of Reader could let you fill and submit forms for remote storage, but the 8.0 client adds local archiving. Are there any known stats for percent users with Adobe Reader vs MacrAdobe Flash installed ? Adobe Flash Player is by far the world's most widely-deployed software... the new Flash Player 9 is looking to have been adopted by about 50% of internet consumers within three months of its release, which is almost an incomprehensible rate of adoption. http://blog.digitalbackcountry.com/?p=498 While Macromedia commissioned NPD consumer audits and did version-tracking, Adobe did not, and so we don't have good version-to-version stats for Adobe Reader yet. Reader and Acrobat have had a bit more corporate acceptance than Player has had, though... both are de facto standards in the world today. Casey Dougall wrote: Omniture Reported Internet Averages... Do you have a link to source info here? I'd like to check their methodology, see what they were actually testing, thanks. Brad Wood wrote: The size of the PDF viewer plugin has bothered me in the past. To me a viewer should be lightweight and simple. That's true. But Adobe Reader is actually more of a collaboration client than it is a simple document viewer. Here's the 7.0 Reader FAQ and feature list: http://w1000.mv.us.adobe.com/products/acrobat/acrrfaq.html http://w1000.mv.us.adobe.com/products/acrobat/adobepdf.html Here's info on how the free Reader compares with the full Acrobat software for document creation: http://w1000.mv.us.adobe.com/products/acrobat/matrix.html jd -- John Dowdell . Adobe Developer Support . San Francisco CA USA Weblog: http://weblogs.macromedia.com/jd Aggregator: http://weblogs.macromedia.com/mxna Technotes: http://www.macromedia.com/support/ Spam killed my private email -- public record is best, thanks. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256112 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Dynamic flash or images for MySpace?
I am trying to take realtime text data from my website and allow users to place it on their MySpace profile. But MySpace only its members to add HTML, images, and flash to their profiles so I have been trying to output the text data from my site as a JPG or Flash that MySpace users can then add to their profiles. Then I figure can set up a scheduled task to refresh the JPG or Flash, so the latest data will appear on MySpace. I have had some success using CFCHART and saving the output to the server via writing to CFFILE, but in this case I am trying to display mostly dynamic text from the database. Therefore, I really don't need the chart that is produced, so I am using imagemagick to crop out the chart an just keep the text that is produced from CFCHART. But this 2 step process would be unnecessary if I could just output text from the database to an image like CFCHART does (but without the chart). If elaborate 3-D charts can be created with ColdFusion, surely there is a way for me to just output text from my database into an image or flash for later use with MySpace, right? Thanks in advance ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256113 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Strange security problem with googlebot
On Tuesday 10 October 2006 15:50, Matt Quackenbush wrote: Okay, call me silly, but what kind of code exactly can cause this problem? a href=/site/secure/admin/user.cfm?action=del?id=2436Delete this user/a -- Tom Chiverton Helping to assertively utilize leading-edge relationships 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. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256114 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: book title listing
And just because nobody else said it: It generally considered bad practice to SELECT * I would change it to SELECT only the column names that you need to return, otherwise you are just pulling needless data from the SQL server. Chris -Original Message- From: Orlini, Robert [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 11:06 AM To: CF-Talk Subject: RE: book title listing Hi Aaron, where left(booktitle, 1) = 'A' worked great! Thanks. Robert O. -Original Message- From: Aaron Rouse [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 11:01 AM To: CF-Talk Subject:Re: book title listing In Oracle you would use SubStr() Something like SubStr(booktitle, 1, 1,) On 10/10/06, Munson, Jacob [EMAIL PROTECTED] wrote: What data base are you using? In MS SQL you can use LEFT like so: where left(booktitle, 1) = 'A' This might be the same in the other Databases, not sure. -Original Message- From: Orlini, Robert [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 8:50 AM I have a menu list of books and would like to have it list each title alphabetically BUT only display the listing for one letter. For instance, the menu page would have A-Z listed and when a user clicks on A all the titles with A would list. I realize I have to add a where to the statement, but how do I isolate the first letter of the book title? Here is my query: cfquery name=Getbook datasource=printprices SELECT * FROM bookinfo order by booktitle /cfquery EMF idahopower.com made the following annotations. -- This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. == ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256115 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: book title listing
OK Chris. Thanks for the coding advice. I'll specify the column instead. -Original Message- From: Peterson, Chris [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 11:16 AM To: CF-Talk Subject:RE: book title listing And just because nobody else said it: It generally considered bad practice to SELECT * I would change it to SELECT only the column names that you need to return, otherwise you are just pulling needless data from the SQL server. Chris -Original Message- From: Orlini, Robert [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 11:06 AM To: CF-Talk Subject: RE: book title listing Hi Aaron, where left(booktitle, 1) = 'A' worked great! Thanks. Robert O. -Original Message- From: Aaron Rouse [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 11:01 AM To: CF-Talk Subject:Re: book title listing In Oracle you would use SubStr() Something like SubStr(booktitle, 1, 1,) On 10/10/06, Munson, Jacob [EMAIL PROTECTED] wrote: What data base are you using? In MS SQL you can use LEFT like so: where left(booktitle, 1) = 'A' This might be the same in the other Databases, not sure. -Original Message- From: Orlini, Robert [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 8:50 AM I have a menu list of books and would like to have it list each title alphabetically BUT only display the listing for one letter. For instance, the menu page would have A-Z listed and when a user clicks on A all the titles with A would list. I realize I have to add a where to the statement, but how do I isolate the first letter of the book title? Here is my query: cfquery name=Getbook datasource=printprices SELECT * FROM bookinfo order by booktitle /cfquery EMF idahopower.com made the following annotations. -- This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. == ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256116 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: RC2 via Bouncy Castle - last block incomplete in decryption
Never mind -- it actually works just fine. It turns out that the encrypted string was the problem: tNMtwvuAtRO+Hvs1ciH7bw== outputs testing123 via RC2/Base64. I've followed the TechNote (http://www.adobe. com/cfusion/knowledgebase/index.cfm?id=e546373d) to the letter, trying to get RC2 encryption/decryption to work. I keep getting last block incomplete in decryption error no matter which keys I use. It works fine for RC4. What am I doing wrong? #Decrypt(M5Kbj6C5nsmJRQ==, '12345678', 'RC2', 'Base64')# This works without a hitch: #Encrypt(testing123, '12345678', 'RC4', 'Base64')# (outputs s/BfPyimOCBlqg==) #Decrypt(s/BfPyimOCBlqg==, '12345678', 'RC4', 'Base64')# (outputs testing123) ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256117 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 flash or images for MySpace?
You can make a simple flash file that will read in XML. Is the text the same for everyone, but changes periodically? If so, it's super easy. Here's a quickie example. This is probably not the best ever example of flash code, as I'm just learning it. But you'll get the idea: On your first frame have code like so. loadText(); // Load the variables from the text file function loadText() { var textXML = new XML(); textXML.ignoreWhite = true; textXML.load(URL of your CFM page here that outputs XML dynamically); text.XML.onLoad = function (success) { if (success) { ontextXMLLoaded(this); } }; } function ontextXMLLoaded(loadedXML) { // grab the setup node to get the basic set up data var arNodes = loadedXML.firstChild.childNodes; var setUpNodes = arNodes[0].childNodes; var dynamic_text = setUpNodes[0].firstChild.nodeValue; //Get your text here. This path will depend on your xml // Do something here to set the now grabbed dynamic_text to output on your movie in a field called txtField txtField.text = dynamic_text; } On 10/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I am trying to take realtime text data from my website and allow users to place it on their MySpace profile. But MySpace only its members to add HTML, images, and flash to their profiles so I have been trying to output the text data from my site as a JPG or Flash that MySpace users can then add to their profiles. Then I figure can set up a scheduled task to refresh the JPG or Flash, so the latest data will appear on MySpace. I have had some success using CFCHART and saving the output to the server via writing to CFFILE, but in this case I am trying to display mostly dynamic text from the database. Therefore, I really don't need the chart that is produced, so I am using imagemagick to crop out the chart an just keep the text that is produced from CFCHART. But this 2 step process would be unnecessary if I could just output text from the database to an image like CFCHART does (but without the chart). If elaborate 3-D charts can be created with ColdFusion, surely there is a way for me to just output text from my database into an image or flash for later use with MySpace, right? ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256119 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: FckEditor / JS
Hi Bobby: Thanks a ton for the line FCKeditorAPI.__Instances['instanceNameHere'].GetHTML(); It worked for my purpose. I was trying to get the content of the editor in my javascript. Zoher [EMAIL PROTECTED] Hi Gareth. The problem is actually triggering a function when the content of the editor changes not actually reading the content. As for just reading the content, I figured that would be stored in the hidden text field that FCK creates. If I'm wrong about that, then I'm pretty sure this will get the content at anytime: FCKeditorAPI.__Instances['instanceNameHere'].GetHTML(); .:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Gareth Hughes [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 05, 2006 11:18 AM To: CF-Talk Subject: Re: FckEditor / JS You'll need to pull this apart to get it to work for you but below is the JS I use to check an FCK instance isn't empty. So, you should be able to update your div with secondFrame.body.innerHTML. firstFrame = document.getElementById(FCKeditor1___Frame).contentWindow.document; secondFrame = firstFrame.getElementById(eEditorArea).contentWindow.document; if ((secondFrame.body.innerHTML==null) || (secondFrame.body.innerHTML=='')) { alert(Stupid user alert); } - Original Message - From: Bobby Hartsfield [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, September 05, 2006 3:48 PM Subject: OT: FckEditor / JS What I have is a textarea. As you type in the text area, a div tag is updated with the textarea's content creating a 'live preview'. I need to change that textarea to the FCKEditor but keep the live preview. The problem is that I don't have the same control over the onchcnage and onkeyup attributes of the hidden field that the FCKEditor creates as I do the normal textarea. I tried using setAttribute('onchange'), 'myfunction()') on the hidden field but no such luck. Can anyone offer any help here? ...:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.405 / Virus Database: 268.11.7/437 - Release Date: 9/4/2006 ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256118 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Strange security problem with googlebot
Hmm... okay, so the issue that is being referred to here is when the login check is handled AFTER that link is displayed? I guess I'm still a bit confused, because I can't understand a) why any such link would be displayed to anyone (or any bot) without them first being logged-in and having the appropriate credentials, and b) how a bot would get past a login/credential check. Thanks, Matt -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 10:16 AM To: CF-Talk Subject: Re: Strange security problem with googlebot On Tuesday 10 October 2006 15:50, Matt Quackenbush wrote: Okay, call me silly, but what kind of code exactly can cause this problem? a href=/site/secure/admin/user.cfm?action=del?id=2436Delete this user/a -- Tom Chiverton ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256120 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Strange security problem with googlebot
Matt Quackenbush wrote: Hmm... okay, so the issue that is being referred to here is when the login check is handled AFTER that link is displayed? I guess I'm still a bit confused, because I can't understand a) why any such link would be displayed to anyone (or any bot) without them first being logged-in and having the appropriate credentials, and b) how a bot would get past a login/credential check. Because this bot runs on the computer of the user: http://webaccelerator.google.com/support.html Jochem ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256121 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: book title listing
One more thing please. How can I do a query search on just a certain year on this #DateFormat( getlist.datetime, mm/dd/yy )#? I want just records with the year 2005 or 05 (yy) Robert O. -Original Message- From: Aaron Rouse [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 11:01 AM To: CF-Talk Subject:Re: book title listing In Oracle you would use SubStr() Something like SubStr(booktitle, 1, 1,) On 10/10/06, Munson, Jacob [EMAIL PROTECTED] wrote: What data base are you using? In MS SQL you can use LEFT like so: where left(booktitle, 1) = 'A' This might be the same in the other Databases, not sure. -Original Message- From: Orlini, Robert [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 8:50 AM I have a menu list of books and would like to have it list each title alphabetically BUT only display the listing for one letter. For instance, the menu page would have A-Z listed and when a user clicks on A all the titles with A would list. I realize I have to add a where to the statement, but how do I isolate the first letter of the book title? Here is my query: cfquery name=Getbook datasource=printprices SELECT * FROM bookinfo order by booktitle /cfquery EMF idahopower.com made the following annotations. -- This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. == ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256122 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: book title listing
Assuming you've got dates in one of your fields, you can use year(date_field) to get just the 4 digit year. For a two digit year, you could use right(year(date_field),2). -Original Message- From: Orlini, Robert [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 9:41 AM One more thing please. How can I do a query search on just a certain year on this #DateFormat( getlist.datetime, mm/dd/yy )#? I want just records with the year 2005 or 05 (yy) -- This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. == EMF idahopower.com made the previous annotations. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256123 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Strange security problem with googlebot
Hmm... okay, so the issue that is being referred to here is when the login check is handled AFTER that link is displayed? I guess I'm still a bit confused, because I can't understand a) why any such link would be displayed to anyone (or any bot) without them first being logged-in and having the appropriate credentials, and b) how a bot would get past a login/credential check. It wasn't, and didn't. The original poster had Google Web Accelerator installed, which is basically a browser plug-in that prefetches pages for you. If you're logged in, it's logged in. The original poster was logged in, and went to a page that contained all these links that would trigger database changes, etc, and the Web Accelerator requested them all because that's what it's supposed to do. 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! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256124 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Strange security problem with googlebot
Dave, Thanks for the reply. I guess I first should've gone and checked to see what 'web accelerator' was, and then I might have understood. I guess my main question now is: what is considered the best antidote for such a problem. Since I didn't know what it was, I obviously don't use web accelerator, but I can see how someone else using my sites might be. I generally use forms for such things, but have probably used links at one time or another. Is a forms solution safe? Thanks, Matt -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 10:46 AM To: CF-Talk Subject: RE: Strange security problem with googlebot Hmm... okay, so the issue that is being referred to here is when the login check is handled AFTER that link is displayed? I guess I'm still a bit confused, because I can't understand a) why any such link would be displayed to anyone (or any bot) without them first being logged-in and having the appropriate credentials, and b) how a bot would get past a login/credential check. It wasn't, and didn't. The original poster had Google Web Accelerator installed, which is basically a browser plug-in that prefetches pages for you. If you're logged in, it's logged in. The original poster was logged in, and went to a page that contained all these links that would trigger database changes, etc, and the Web Accelerator requested them all because that's what it's supposed to do. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256125 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Strange security problem with googlebot
Thanks for the reply. I guess I first should've gone and checked to see what 'web accelerator' was, and then I might have understood. I guess my main question now is: what is considered the best antidote for such a problem. Since I didn't know what it was, I obviously don't use web accelerator, but I can see how someone else using my sites might be. I generally use forms for such things, but have probably used links at one time or another. Is a forms solution safe? Yes, since the Web Accelerator only makes GET requests. In HTTP, GET requests shouldn't make changes; only POST requests should do that. 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! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256126 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: book title listing
Thanks Jacob...this worked great! -Original Message- From: Munson, Jacob [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 10:56 AM To: CF-Talk Subject:RE: book title listing What data base are you using? In MS SQL you can use LEFT like so: where left(booktitle, 1) = 'A' This might be the same in the other Databases, not sure. -Original Message- From: Orlini, Robert [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 8:50 AM I have a menu list of books and would like to have it list each title alphabetically BUT only display the listing for one letter. For instance, the menu page would have A-Z listed and when a user clicks on A all the titles with A would list. I realize I have to add a where to the statement, but how do I isolate the first letter of the book title? Here is my query: cfquery name=Getbook datasource=printprices SELECT * FROM bookinfo order by booktitle /cfquery EMF idahopower.com made the following annotations. -- This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. == ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256127 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Extracting Data into an Array
I wrote some Java Regular Expression get functions for this very purpose: Case Insensitive: http://www.bennadel.com/snippets/11-JREGetNoCase-strText-strRegExp-.htm Case Sesnsitive: http://www.bennadel.com/snippets/5-JREGet-strContent-strRegExp-.htm Keep in mind that these are JAVA regular expressions, so slight differences in power... But for basic stuff, should all be the same. Both functions will return an array of the matches. Download the pages (the given link will provide downloads) to see samples. .. Ben Nadel Certified Advanced ColdFusion Developer www.bennadel.com -Original Message- From: Millisa Eubanks [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 10:22 AM To: CF-Talk Subject: Extracting Data into an Array I'm trying to find a simple way to go though a block of text and pull out any occurace of links in that block of text. I'm not sure if the problems I'm having are based on the function I am using or the reqular expression. Currently I am using REFind(a [[:space:]*[:punct:]*[:alnum:]*], qLinkReview.TextBlock) where qLinkReview.TextBlock is the block of text that I retreived from the database. The only result I am getting is 0 but I know that all of the text blocks I am looking at have at least one link occurance. Once I am able to identify the links I am going to need to pull them out and put them into an array for evaluation and possible display. I have no idea about how to go about this. I would be greatful for any help I can get. Also, if possible could you include explinations with any code so that I can learn something in the process. Thanks! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256128 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Missing Template Handler
I've tried to search the documentation, but I have not found what can one actually do in a template designated as a missing template handler in the CF administrator? What information, if any, is passed to the template? -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256129 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Tricky Form validation Question (for me at least)
This is probably going to take more javascript than I know how to do, since I suck at javascript... First page of a multi-part form has a drop-down of admin namex to pick from. select name=selectAdmin option value=xoxOther - Enter Information Below!/option cfloop query=AIData option value=#MyData.AdminEmail##MyData.AdminNam1#/option /cfloop /select If you ain't in the list, then you should fill in adminNAME and adminEMAIL text fields below that. I've not quit figured out how to validate this on one page. If Other is picked in the select, then I need validation for adminNAME and adminEMAIL to happen before the form can be submitted. If Other ain't picked, then ignore them... I can check for this on the NEXT page of the form and force them to fill in the blanks there, but I want it to take place all on the first page. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256130 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Missing Template Handler
I believe that the missing template handler can handle a lot of ColdFusion tag code, but it cannot throw back to the original site... Meaning, you can run CF on the template (ie. CFMail) but you cannot have it in the given site template... Unless you do some snazzy include logic perhaps. But, I may be way off on that. .. Ben Nadel Certified Advanced ColdFusion Developer www.bennadel.com -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 12:11 PM To: CF-Talk Subject: Missing Template Handler I've tried to search the documentation, but I have not found what can one actually do in a template designated as a missing template handler in the CF administrator? What information, if any, is passed to the template? -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256131 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Tricky Form validation Question (for me at least)
I assume that when the OTHER is selected, the id is ZERO or xox I didn't know if that was cryptic or not. // Check for zero option selection if ( document.form[ 0 ].elements[ selectAdmin ].value == 0 ){ // Validate on OTHER admin info } else { // Validate on select box data } .. Ben Nadel Certified Advanced ColdFusion Developer www.bennadel.com -Original Message- From: Les Mizzell [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 12:27 PM To: CF-Talk Subject: Tricky Form validation Question (for me at least) This is probably going to take more javascript than I know how to do, since I suck at javascript... First page of a multi-part form has a drop-down of admin namex to pick from. select name=selectAdmin option value=xoxOther - Enter Information Below!/option cfloop query=AIData option value=#MyData.AdminEmail##MyData.AdminNam1#/option /cfloop /select If you ain't in the list, then you should fill in adminNAME and adminEMAIL text fields below that. I've not quit figured out how to validate this on one page. If Other is picked in the select, then I need validation for adminNAME and adminEMAIL to happen before the form can be submitted. If Other ain't picked, then ignore them... I can check for this on the NEXT page of the form and force them to fill in the blanks there, but I want it to take place all on the first page. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256132 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Strange security problem with googlebot
Yes, since the Web Accelerator only makes GET requests. In HTTP, GET requests shouldn't make changes; only POST requests should do that. Dave I am just playing with this in my head. Would a form with method=get be affected by the accelerator, or only anchors with get parameters built in to the href parameter? -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256133 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Tricky Form validation Question (for me at least)
if ( (document.yourFormName.selectAdmin.selectedIndex == 0) ( (document.yourFormName.theTextFieldName.value == ) || (document.yourFormName.theTextFieldEmail.value == ) ) ) { alert('you did it all wrong!'); return false; } this assumes that the 'Other' option will always be the first option in the select list. if this changes, you can modify the first line of the 'if' as so: if ( (document.yourFormName.selectAdmin.options[document.yourFormName.selectAdmin.selectedIndex] ..value== xox) etc On 10/10/06, Les Mizzell [EMAIL PROTECTED] wrote: This is probably going to take more javascript than I know how to do, since I suck at javascript... First page of a multi-part form has a drop-down of admin namex to pick from. select name=selectAdmin option value=xoxOther - Enter Information Below!/option cfloop query=AIData option value=#MyData.AdminEmail##MyData.AdminNam1#/option /cfloop /select If you ain't in the list, then you should fill in adminNAME and adminEMAIL text fields below that. I've not quit figured out how to validate this on one page. If Other is picked in the select, then I need validation for adminNAME and adminEMAIL to happen before the form can be submitted. If Other ain't picked, then ignore them... I can check for this on the NEXT page of the form and force them to fill in the blanks there, but I want it to take place all on the first page. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256134 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Tricky Form validation Question (for me at least)
Ben Nadel wrote: if ( document.form[ 0 ].elements[ selectAdmin ].value == 0 ){ Select elements do not have a value property. Replace value with selectedIndex (use this capitalization) and the above code should work fine. -- Mosh Teitelbaum evoch, LLC Tel: (301) 942-5378 Fax: (301) 933-3651 Email: [EMAIL PROTECTED] WWW: http://www.evoch.com/ ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256135 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Tricky Form validation Question (for me at least)
That should be document.forms, you left of the 's'. :) -Original Message- From: Ben Nadel [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 10:35 AM I assume that when the OTHER is selected, the id is ZERO or xox I didn't know if that was cryptic or not. // Check for zero option selection if ( document.form[ 0 ].elements[ selectAdmin ].value == 0 ){ // Validate on OTHER admin info } else { // Validate on select box data } -- This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. == EMF idahopower.com made the previous annotations. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256136 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Tricky Form validation Question (for me at least)
script language=javascript type=text/javascript function validateForm() { var msg = ''; var isValid = true; if(document.forms[0].selectAdmin.value == 'xox') { if (document.forms[0].adminName.value.length == 0) { msg = 'Name is required\n'; isValid = false; } if (document.forms[0].adminEmail.value.length == 0) { msg = msg + 'Email is required'; isValid = false; } } if (!isValid) { alert(msg); } return isValid; } /script form action=mypage.cfm method=post select name=selectAdmin option value=xoxOther - Enter Information Below!/option option value=1Joe Blow/option /select br / Name: input type=text name=adminName /br / Email: input type=text name=adminEmail / br /br / input type=submit onclick=return validateForm(); / /form -Original Message- From: Les Mizzell [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 12:27 PM To: CF-Talk Subject: Tricky Form validation Question (for me at least) This is probably going to take more javascript than I know how to do, since I suck at javascript... First page of a multi-part form has a drop-down of admin namex to pick from. select name=selectAdmin option value=xoxOther - Enter Information Below!/option cfloop query=AIData option value=#MyData.AdminEmail##MyData.AdminNam1#/option /cfloop /select If you ain't in the list, then you should fill in adminNAME and adminEMAIL text fields below that. I've not quit figured out how to validate this on one page. If Other is picked in the select, then I need validation for adminNAME and adminEMAIL to happen before the form can be submitted. If Other ain't picked, then ignore them... I can check for this on the NEXT page of the form and force them to fill in the blanks there, but I want it to take place all on the first page. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256137 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Missing Template Handler
What type of missing template handler? Are we talking about cfinclude? 404? Teddy On 10/10/06, Ian Skinner [EMAIL PROTECTED] wrote: I've tried to search the documentation, but I have not found what can one actually do in a template designated as a missing template handler in the CF administrator? What information, if any, is passed to the template? -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256138 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Tricky Form validation Question (for me at least)
Ben Nadel wrote: if ( document.form[ 0 ].elements[ selectAdmin ].value == 0 ){ Select elements do not have a value property. Actually, 'value' works as long as you give it the value from the form instead of the index. -- EMF idahopower.com made the following annotations. -- This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. == ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256139 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Tricky Form validation Question (for me at least)
If you are looking for client side validation, CFFORM/CFINPUT is your friend. You don't need to know any javascript to use it, CF writes the Javascript for you. Check the live- or quick-docs for specific usage. If you are looking to make things a bit more fancy, you could throw an onChange event on your select list that would have the second fields disabled unless other was selected. It would be something like select name=selectAdmin onChange=if (this[this.selectedIndex].value != 'xox') {document.formname.adminName.disabled = true; document.formname.adminEMAIL.disabled = true;} else {document.formname.adminName.disabled = false; document.formname.adminEMAIL.disabled = false;} That would give your users the info visually that they didn't need to fill out the second fields if they are not other. You would still need to use CFFORM to do validation on the second two fields in the case of other. -- Josh - Original Message - From: Les Mizzell [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, October 10, 2006 9:27 AM Subject: Tricky Form validation Question (for me at least) This is probably going to take more javascript than I know how to do, since I suck at javascript... First page of a multi-part form has a drop-down of admin namex to pick from. select name=selectAdmin option value=xoxOther - Enter Information Below!/option cfloop query=AIData option value=#MyData.AdminEmail##MyData.AdminNam1#/option /cfloop /select If you ain't in the list, then you should fill in adminNAME and adminEMAIL text fields below that. I've not quit figured out how to validate this on one page. If Other is picked in the select, then I need validation for adminNAME and adminEMAIL to happen before the form can be submitted. If Other ain't picked, then ignore them... I can check for this on the NEXT page of the form and force them to fill in the blanks there, but I want it to take place all on the first page. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256140 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Tricky Form validation Question (for me at least)
Mosh, I am pretty sure that select boxes do have a value attribute... Maybe its not standard? form select onchange=alert( this.value ); option value=AONE/option option value=BTWO/option option value=CTHREE/option /select /form Works fine for me. .. Ben Nadel Certified Advanced ColdFusion Developer www.bennadel.com -Original Message- From: Mosh Teitelbaum [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 12:42 PM To: CF-Talk Subject: RE: Tricky Form validation Question (for me at least) Ben Nadel wrote: if ( document.form[ 0 ].elements[ selectAdmin ].value == 0 ){ Select elements do not have a value property. Replace value with selectedIndex (use this capitalization) and the above code should work fine. -- Mosh Teitelbaum evoch, LLC Tel: (301) 942-5378 Fax: (301) 933-3651 Email: [EMAIL PROTECTED] WWW: http://www.evoch.com/ ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256141 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Tricky Form validation Question (for me at least)
Ben, I am pretty sure that select boxes do have a value attribute... Maybe its not standard? form select onchange=alert( this.value ); option value=AONE/option option value=BTWO/option option value=CTHREE/option /select /form Works fine for me. That's non-standard syntax, but it works in IE. It shouldn't work in other browsers. -Dan ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256142 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Tricky Form validation Question (for me at least)
Hmmm. I don't do enough client-side stuff I suppose. I have never run into a problem with it in IE or FireFox (that I can remember), but do most stuff Server side. -b .. Ben Nadel Certified Advanced ColdFusion Developer www.bennadel.com -Original Message- From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 1:08 PM To: CF-Talk Subject: RE: Tricky Form validation Question (for me at least) Ben, I am pretty sure that select boxes do have a value attribute... Maybe its not standard? form select onchange=alert( this.value ); option value=AONE/option option value=BTWO/option option value=CTHREE/option /select /form Works fine for me. That's non-standard syntax, but it works in IE. It shouldn't work in other browsers. -Dan ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256144 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Missing Template Handler
I think you are referring to the page that you specify in the CF Admin Settings page for Missing Template Handler. I can't remember if I found anyplace that specified exactly what was allowed, but what I have in mine is the following code, which works great. cfmail to= from= subject=Template Error type=html strongHTTP_REFERER: /strong#cgi.HTTP_REFERER#br / strongHTTP_USER_AGENT: /strong#cgi.HTTP_USER_AGENT#br / strongSCRIPT_NAME: /strong#cgi.SCRIPT_NAME#br / strongREQUEST_METHOD: /strong#cgi.REQUEST_METHOD#br / strongREQUEST_BODY: /strong#cgi.REQUEST_BODY#br / strongREMOTE_IDENT: /strong#cgi.REMOTE_IDENT#br / strongREMOTE_HOST: /strong#cgi.REMOTE_HOST#br / strongQUERY_STRING: /strong#cgi.QUERY_STRING#br / strongHTTP_HOST: /strong#cgi.HTTP_HOST#br / /cfmail That usually sends me everything I need to know to fix the problem. Peter -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 12:11 PM To: CF-Talk Subject: Missing Template Handler I've tried to search the documentation, but I have not found what can one actually do in a template designated as a missing template handler in the CF administrator? What information, if any, is passed to the template? -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~~~ ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256143 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Tricky Form validation Question (for me at least)
Indeed, it works fine in Firefox as well. -Original Message- From: Ben Nadel [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 11:11 AM Hmmm. I don't do enough client-side stuff I suppose. I have never run into a problem with it in IE or FireFox (that I can remember), but do most stuff Server side. -Original Message- From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 1:08 PM I am pretty sure that select boxes do have a value attribute... Maybe its not standard? form select onchange=alert( this.value ); option value=AONE/option option value=BTWO/option option value=CTHREE/option /select /form Works fine for me. That's non-standard syntax, but it works in IE. It shouldn't work in other browsers. EMF idahopower.com made the following annotations. -- This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. == ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256145 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Tricky Form validation Question (for me at least)
I just checked in the JavaScript Bible 5th Edition (page 710) and they say that new browsers provide this WinIE4+ MacIE4+ NN3+ NN6+ Moz1+ Safari1+ Doesn't say anything about XHTML or anything like that... But it doesn't say anything about it not being standard either. .. Ben Nadel Certified Advanced ColdFusion Developer www.bennadel.com -Original Message- From: Munson, Jacob [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 1:15 PM To: CF-Talk Subject: RE: Tricky Form validation Question (for me at least) Indeed, it works fine in Firefox as well. -Original Message- From: Ben Nadel [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 11:11 AM Hmmm. I don't do enough client-side stuff I suppose. I have never run into a problem with it in IE or FireFox (that I can remember), but do most stuff Server side. -Original Message- From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 1:08 PM I am pretty sure that select boxes do have a value attribute... Maybe its not standard? form select onchange=alert( this.value ); option value=AONE/option option value=BTWO/option option value=CTHREE/option /select /form Works fine for me. That's non-standard syntax, but it works in IE. It shouldn't work in other browsers. EMF idahopower.com made the following annotations. -- This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. == ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256146 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Strange security problem with googlebot
I am just playing with this in my head. Would a form with method=get be affected by the accelerator, or only anchors with get parameters built in to the href parameter? I haven't used it, so I can only speculate. That said, I suspect that it only follows A tags. 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! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256147 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Missing Template Handler
I believe if the missing template handler throws an error then it hits the sitewide error handler. It may be good to make these homogenous in look and feel. Teddy On 10/10/06, Ben Nadel [EMAIL PROTECTED] wrote: I believe that the missing template handler can handle a lot of ColdFusion tag code, but it cannot throw back to the original site... Meaning, you can run CF on the template (ie. CFMail) but you cannot have it in the given site template... Unless you do some snazzy include logic perhaps. But, I may be way off on that. .. Ben Nadel Certified Advanced ColdFusion Developer www.bennadel.com -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 12:11 PM To: CF-Talk Subject: Missing Template Handler I've tried to search the documentation, but I have not found what can one actually do in a template designated as a missing template handler in the CF administrator? What information, if any, is passed to the template? -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256148 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Tricky Form validation Question (for me at least)
maybe i'm just old and a creature of habit, but i've always referenced select elements via the options array. i've seen people access the value directly (and i know it works in newer browsers)...but when i cry a little :) i have looked into it to see if it's valid (standard) or not...i've asked people that I consider to be JS gurus...and i've never gotten any answer other than it works. i know newer browsers will support it, but i still don't know if it's standard, so I prefer to stick to the old-fashioned way (FWIW). On 10/10/06, Ben Nadel [EMAIL PROTECTED] wrote: Mosh, I am pretty sure that select boxes do have a value attribute... Maybe its not standard? form select onchange=alert( this.value ); option value=AONE/option option value=BTWO/option option value=CTHREE/option /select /form Works fine for me. .. Ben Nadel Certified Advanced ColdFusion Developer www.bennadel.com -Original Message- From: Mosh Teitelbaum [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 12:42 PM To: CF-Talk Subject: RE: Tricky Form validation Question (for me at least) Ben Nadel wrote: if ( document.form[ 0 ].elements[ selectAdmin ].value == 0 ){ Select elements do not have a value property. Replace value with selectedIndex (use this capitalization) and the above code should work fine. -- Mosh Teitelbaum evoch, LLC Tel: (301) 942-5378 Fax: (301) 933-3651 Email: [EMAIL PROTECTED] WWW: http://www.evoch.com/ ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256149 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Strange security problem with googlebot
Actually, in my defense:) the web accelerator is not supposed to follow a link that has a query parameter... and it worked correctly for a long time.. apparently a recent update to it introduced a bug where it IS following links with query parameters. I reported it to google. It wasn't, and didn't. The original poster had Google Web Accelerator installed, which is basically a browser plug-in that prefetches pages for you. If you're logged in, it's logged in. The original poster was logged in, and went to a page that contained all these links that would trigger database changes, etc, and the Web Accelerator requested them all because that's what it's supposed to do. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256150 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Tricky Form validation Question (for me at least)
I've always used the options array as well but recently have been using value with no problems or complaints. -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 1:41 PM To: CF-Talk Subject: Re: Tricky Form validation Question (for me at least) maybe i'm just old and a creature of habit, but i've always referenced select elements via the options array. i've seen people access the value directly (and i know it works in newer browsers)...but when i cry a little :) i have looked into it to see if it's valid (standard) or not...i've asked people that I consider to be JS gurus...and i've never gotten any answer other than it works. i know newer browsers will support it, but i still don't know if it's standard, so I prefer to stick to the old-fashioned way (FWIW). On 10/10/06, Ben Nadel [EMAIL PROTECTED] wrote: Mosh, I am pretty sure that select boxes do have a value attribute... Maybe its not standard? form select onchange=alert( this.value ); option value=AONE/option option value=BTWO/option option value=CTHREE/option /select /form Works fine for me. .. Ben Nadel Certified Advanced ColdFusion Developer www.bennadel.com -Original Message- From: Mosh Teitelbaum [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 12:42 PM To: CF-Talk Subject: RE: Tricky Form validation Question (for me at least) Ben Nadel wrote: if ( document.form[ 0 ].elements[ selectAdmin ].value == 0 ){ Select elements do not have a value property. Replace value with selectedIndex (use this capitalization) and the above code should work fine. -- Mosh Teitelbaum evoch, LLC Tel: (301) 942-5378 Fax: (301) 933-3651 Email: [EMAIL PROTECTED] WWW: http://www.evoch.com/ ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256151 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: input type=Hidden name=status_required issue
Rick Dennis wrote: i have a customer input page that has this code at the bottom of the page right before the submit button. well on the same page i have a checkbox that if checked, it needs to ignore this same piece of code. if the check box is checked, i want it to do this how do i do this since the check box is on the same page as the piece of code having the required field? Rick Dennis The basic problem is that the status_required field is there to make use of CF's magicform validation (see http://tinyurl.com/atn87) - so you won't be able to handle this after the page is submitted, since cf's magic code will run before anything you can do (not sure about code in the OnRequestStart method of the Application.cfc) I'd say: 1) remove the field completely and implement your own server side validation (status is required unless [checkbox]). This assumes that you're already doing some kind of server side validation, so that you can slot this in without too much trouble. 2) Redirect from javascript: Of course, the users lose all the information they entered into the form... 3) use javascript to disable/enable the hidden field (this is a wild guess, haven't tested but should work). If the field is disabled, the value is not sent to the back end, and so the magic validation rule requiring the presence of the statusfield never fires... Plus you still have access to all the other stuff they filled in. /t -- View this message in context: http://www.nabble.com/%3Cinput-type%3D%22Hidden%22-name%3D%22status_required%22%3E-issue-tf2417019.html#a6742144 Sent from the Cold Fusion - Technical mailing list archive at Nabble.com. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256152 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: input type=Hidden name=status_required issue
sigh... point two should have been: 2) Redirect from javascript: [input type=checkbox... onclick=self.location='NOIDecision.cfm'...] Of course, the users lose all the information they entered into the form... but silly me i entered it in html... /t -- View this message in context: http://www.nabble.com/%3Cinput-type%3D%22Hidden%22-name%3D%22status_required%22%3E-issue-tf2417019.html#a6742202 Sent from the Cold Fusion - Technical mailing list archive at Nabble.com. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256153 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Tricky Form validation Question (for me at least)
Anyone of these should work fine as the first if() in the function I posted... if(document.forms[0].selectAdmin.selectedIndex == 0) {} if(document.forms[0].selectAdmin.options[0].selected) {} if(document.forms[0].selectAdmin.value == 'xox') {} They seem to all work well across the board for me. -Original Message- From: Bobby Hartsfield [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 1:53 PM To: CF-Talk Subject: RE: Tricky Form validation Question (for me at least) I've always used the options array as well but recently have been using value with no problems or complaints. -Original Message- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 1:41 PM To: CF-Talk Subject: Re: Tricky Form validation Question (for me at least) maybe i'm just old and a creature of habit, but i've always referenced select elements via the options array. i've seen people access the value directly (and i know it works in newer browsers)...but when i cry a little :) i have looked into it to see if it's valid (standard) or not...i've asked people that I consider to be JS gurus...and i've never gotten any answer other than it works. i know newer browsers will support it, but i still don't know if it's standard, so I prefer to stick to the old-fashioned way (FWIW). On 10/10/06, Ben Nadel [EMAIL PROTECTED] wrote: Mosh, I am pretty sure that select boxes do have a value attribute... Maybe its not standard? form select onchange=alert( this.value ); option value=AONE/option option value=BTWO/option option value=CTHREE/option /select /form Works fine for me. .. Ben Nadel Certified Advanced ColdFusion Developer www.bennadel.com -Original Message- From: Mosh Teitelbaum [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 12:42 PM To: CF-Talk Subject: RE: Tricky Form validation Question (for me at least) Ben Nadel wrote: if ( document.form[ 0 ].elements[ selectAdmin ].value == 0 ){ Select elements do not have a value property. Replace value with selectedIndex (use this capitalization) and the above code should work fine. -- Mosh Teitelbaum evoch, LLC Tel: (301) 942-5378 Fax: (301) 933-3651 Email: [EMAIL PROTECTED] WWW: http://www.evoch.com/ ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256154 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Tricky Form validation Question (for me at least)
Ben Nadel wrote: I am pretty sure that select boxes do have a value attribute... Maybe its not standard? Ben: As of the 1.5 standard, I don't believe JavaScript (ECMAScript, whatever) included a value property for form elements. As others have said, I've always used selectedIndex on the options array to get the selected option, and then referenced that option's value as in: var formEle = getElementById('formName'); alert(formEle.options[formEle.selectedIndex].value); All that said, it could be that either value has simply become a non-standard property to the form element or, because of newer browser's implementations of the DOM, it has become a semi-standard property. I haven't been able to find any standards that suggest its status one way or the other. I also didn't spend too much time looking 8^). According to the latest standards I've seen, value is not standard. This could have changed but, because there are so may other ways to get to it and none of us seem to know for sure whether or not it has become a new addition to a standard, I'll stick with the other ways of doing it. But that's obviously a choice that everyone will have to make on their own. If anyone decides to do some more testing on this, I'd be interested in knowing if the form element's value is read/write or read only. I would suspect that it's read only but it would be interesting to find out what happens if you try to write to the property. -- Mosh Teitelbaum evoch, LLC Tel: (301) 942-5378 Fax: (301) 933-3651 Email: [EMAIL PROTECTED] WWW: http://www.evoch.com/ ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256155 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Am I off base ?
What's your opinion on this? Our Web hosting company built a few custom cf application for this company before I came on board. The Webhosting company developed these applications within a multi-application framework and not self contained application. I've done mostly MVC and Fusbox and I'm getting up to speed on ModelGlue, Cold Spring, etc. I asked the hosting company if they had any documentation. Not of the methodology, but just something that would layout some structure to their framework. Without any guidance, it will be an additional challenge to follow their application framework flow/process. They said they don't have any documentation, yet ehy've given me full acess to all the Cf code and the related tables. Shouldn't they provide some basic roadmap? It's been my experience that any good development team would have some documentation on large projects they create. Isn't it good development practice to leaves clues for developers replacing original coders or developers that want to scale an existing application? My thoughts are they're trying to protect their potential future revenue stream from the company. Granted, I'm not a seasoned CF-OO developer yet, but shouldn't they have discussed the this in more detail? Thanks D ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256156 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Tricky Form validation Question (for me at least)
If anyone decides to do some more testing on this, I'd be interested in knowing if the form element's value is read/write or read only. I would suspect that it's read only but it would be interesting to find out what happens if you try to write to the property. I just tested this, and in both Firefox 1.5 and IE 6, you can change the selected value in a select box by setting the value property: document.forms[0].elements[selectAdmin].value = 'item2' -- -- This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. == EMF idahopower.com made the previous annotations. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256157 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Am I off base ?
In an ideal world there would be documentation... But I've yet to see that ideal world. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 2:02 PM To: CF-Talk Subject: Am I off base ? What's your opinion on this? Our Web hosting company built a few custom cf application for this company before I came on board. The Webhosting company developed these applications within a multi-application framework and not self contained application. I've done mostly MVC and Fusbox and I'm getting up to speed on ModelGlue, Cold Spring, etc. I asked the hosting company if they had any documentation. Not of the methodology, but just something that would layout some structure to their framework. Without any guidance, it will be an additional challenge to follow their application framework flow/process. They said they don't have any documentation, yet ehy've given me full acess to all the Cf code and the related tables. Shouldn't they provide some basic roadmap? It's been my experience that any good development team would have some documentation on large projects they create. Isn't it good development practice to leaves clues for developers replacing original coders or developers that want to scale an existing application? My thoughts are they're trying to protect their potential future revenue stream from the company. Granted, I'm not a seasoned CF-OO developer yet, but shouldn't they have discussed the this in more detail? Thanks D ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256158 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cfblog.com
Is cfblog.com the new free CF blogging site that was mentioned on here a while back? If so, is any one else having problems loading the site? -- Phil ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256159 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Am I off base ?
It's been my experience that any good development team would have some documentation ... Yes, but there is LOTS of bad development out there! -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA - | 1 | | - Binary Soduko | | | - C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256160 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Tricky Form validation Question (for me at least)
As of the 1.5 standard, I don't believe JavaScript (ECMAScript, whatever) included a value property for form elements. Well, strictly speaking, this isn't a JavaScript thing as much as an HTML DOM thing. It's up to the DOM to specify what's what in the browser. In the case of SELECT fields: http://www.w3schools.com/htmldom/dom_obj_select.asp According to this, the VALUE attribute is available for SELECT, and is writeable. I've never tried to do this, though. I still refer to the values of options through the options array, because originally that was the only thing that would work in both Netscape and IE. If anyone decides to do some more testing on this, I'd be interested in knowing if the form element's value is read/write or read only. I would suspect that it's read only but it would be interesting to find out what happens if you try to write to the property. If the above URL is correct, it's writeable. Again, though, if I want to change an option's value, I just delete and recreate the option using the Option constructor. 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! ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256161 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Am I off base ?
Boy that sucks!! Did they at least comment their code so htat you have at least some indication as to what everything is suppose to do? If so, that is more than likely all you are going to get from them. And yes, they should provide docs on what they are doing or did. I worked for a helpdesk company, and the owner would not even consider hiring a developer without them agreeing to indepth code documentaion. They ended up using a FB coder and all worked well. Doug - Original Message - From: [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Tuesday, October 10, 2006 1:01 PM Subject: Am I off base ? What's your opinion on this? Our Web hosting company built a few custom cf application for this company before I came on board. The Webhosting company developed these applications within a multi-application framework and not self contained application. I've done mostly MVC and Fusbox and I'm getting up to speed on ModelGlue, Cold Spring, etc. I asked the hosting company if they had any documentation. Not of the methodology, but just something that would layout some structure to their framework. Without any guidance, it will be an additional challenge to follow their application framework flow/process. They said they don't have any documentation, yet ehy've given me full acess to all the Cf code and the related tables. Shouldn't they provide some basic roadmap? It's been my experience that any good development team would have some documentation on large projects they create. Isn't it good development practice to leaves clues for developers replacing original coders or developers that want to scale an existing application? My thoughts are they're trying to protect their potential future revenue stream from the company. Granted, I'm not a seasoned CF-OO developer yet, but shouldn't they have discussed the this in more detail? Thanks D ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256162 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Automating data source password changes
Whoops cfide.administrator.components.datasource is around in 6 I assumed incorrectly he was talking about the Admin API. Still the password has to be a special format I think that was a pain. Neil the truth is out there. Go google and post the solution. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256163 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Tricky Form validation Question (for me at least)
Munson, Jacob wrote: I just tested this, and in both Firefox 1.5 and IE 6, you can change the selected value in a select box by setting the value property: document.forms[0].elements[selectAdmin].value = 'item2' And the GUI updates to reflect the change? What happens if you try to set it to a value that is not included in the select list? Thanks. -- Mosh Teitelbaum evoch, LLC Tel: (301) 942-5378 Fax: (301) 933-3651 Email: [EMAIL PROTECTED] WWW: http://www.evoch.com/ ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256164 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: cfblog.com
You might be thinking of http://www.instantspot.com/ And no, I can't get cfblog.com to load either. -Original Message- From: Phill B [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 1:07 PM Is cfblog.com the new free CF blogging site that was mentioned on here a while back? If so, is any one else having problems loading the site? -- This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. == EMF idahopower.com made the previous annotations. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256165 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Tricky Form validation Question (for me at least)
Yes, the GUI updates, in both Firefox and IE. Setting the value to an invalid option is just ignored in Firefox, but in IE the select list is set to blank (nothing selected). -Original Message- From: Mosh Teitelbaum [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 1:16 PM Munson, Jacob wrote: I just tested this, and in both Firefox 1.5 and IE 6, you can change the selected value in a select box by setting the value property: document.forms[0].elements[selectAdmin].value = 'item2' And the GUI updates to reflect the change? What happens if you try to set it to a value that is not included in the select list? EMF idahopower.com made the following annotations. -- This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. == ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256167 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Am I off base ?
In near perfect world there would be good documentation for every application you were asked to modify. However, it is too common to find applications that have 1000's of templates and 100+ tables without any documentation and even very skimpy inline comments. For some reasons the management frequently things documentation and planning are not work - even at development oriented shops. TK www.tomkitta.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 3:02 PM To: CF-Talk Subject: Am I off base ? What's your opinion on this? Our Web hosting company built a few custom cf application for this company before I came on board. The Webhosting company developed these applications within a multi-application framework and not self contained application. I've done mostly MVC and Fusbox and I'm getting up to speed on ModelGlue, Cold Spring, etc. I asked the hosting company if they had any documentation. Not of the methodology, but just something that would layout some structure to their framework. Without any guidance, it will be an additional challenge to follow their application framework flow/process. They said they don't have any documentation, yet ehy've given me full acess to all the Cf code and the related tables. Shouldn't they provide some basic roadmap? It's been my experience that any good development team would have some documentation on large projects they create. Isn't it good development practice to leaves clues for developers replacing original coders or developers that want to scale an existing application? My thoughts are they're trying to protect their potential future revenue stream from the company. Granted, I'm not a seasoned CF-OO developer yet, but shouldn't they have discussed the this in more detail? Thanks D ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256166 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Am I off base ?
It's been my experience that any good development team would have some documentation ... Yeah, but even good developers may have bad managers ... TK ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256168 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Tricky Form validation Question (for me at least)
Munson, Jacob wrote: Yes, the GUI updates, in both Firefox and IE. Setting the value to an invalid option is just ignored in Firefox, but in IE the select list is set to blank (nothing selected). Interesting. Thanks for the update. -- Mosh Teitelbaum evoch, LLC Tel: (301) 942-5378 Fax: (301) 933-3651 Email: [EMAIL PROTECTED] WWW: http://www.evoch.com/ ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256170 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Tricky Form validation Question (for me at least)
Dave Watts wrote: Well, strictly speaking, this isn't a JavaScript thing as much as an HTML DOM thing. It's up to the DOM to specify what's what in the browser. In the case of SELECT fields: Right... and actually, as I suggested in a subsequent paragraph, the value property may have been added as part of the browsers' support for the DOM. I just found a reference to the value property in the DOM Level 1 spec: http://www.w3.org/TR/2000/WD-DOM-Level-1-2929/level-one-html.html#ID-942 82980 So it would seem that this is now per the standard. I'd still like to know (I really should just test this myself and stop asking other to do it 8^) how the ability to write to this property is implemented. If the above URL is correct, it's writeable. Again, though, if I want to change an option's value, I just delete and recreate the option using the Option constructor. That's how I've always done it too. Or just modify the option's value directly. But this seems to suggest a new, more direct way of doing it. Of course, backwards compatibility could be an issue. -- Mosh Teitelbaum evoch, LLC Tel: (301) 942-5378 Fax: (301) 933-3651 Email: [EMAIL PROTECTED] WWW: http://www.evoch.com/ ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256169 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfblog.com
Well its not the same site I was thinking of but it looks pretty darn cool. Thanks On 10/10/06, Munson, Jacob [EMAIL PROTECTED] wrote: You might be thinking of http://www.instantspot.com/ And no, I can't get cfblog.com to load either. -Original Message- From: Phill B [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 10, 2006 1:07 PM Is cfblog.com the new free CF blogging site that was mentioned on here a while back? If so, is any one else having problems loading the site? -- This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. == EMF idahopower.com made the previous annotations. ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256171 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4