Re: adding a deciamal point in front of a number
>Or if you want a 'real' number, if you're more comfortable with that, >then just divide by 100: > > > > #newNum# thanks for clearing that up guys!! ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325843 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
adding a deciamal point in front of a number
What would be the best way to add a decimal point in front of number, say 20 to .20? #newNum# Is this ok? If I need to do calculations will I have issues with newNum because it's a string? ~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325838 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: cfloop form fields
Yes! That did the trick. Thank you! > Try this: > > > > > #variables["F_Name#i#"]# > > > > I think that's what you're looking for. I used variables scope simply > to more easily use the struct notation of struct["varName"] in the > output. You could as easily do: > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319851 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
cfloop form fields
I want to loop form fields without using collection="#form#" or list because I want to specify which fields to loop over and not the complete form. This is the syntax: #F_Name[i]# the code above produces this error msg: ColdFusion was looking at the following text: # Can someone help me with the proper syntax or method? thx in advance ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319828 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Best performace/practice for storing temp data
I'm leaning towards storing temp data in the client scope. Thanks guys for your valuable input and insight. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317461 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Best performace/practice for storing temp data
Working on shopping cart app and stuck between storing shipping info in a db shipTable or in client scope. I'm hesitant to store shipping info into the db because some users might not complete the transaction and take up rows in the db. On the other hand if I store shipping info in the client scope I'm not sure if this would impact the server. The goal is hold the users shipping info and later display/process the data on the final checkout page. I tried using form variables but that only works from template to template. Any suggestions or opinions would be greatly appreciated. Thanks in advance. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317372 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
locking session variables in cf8
When creating session structures is it still necessary to cflock in cf8? I think i read somewhere that it was no longer needed but I was probably dreaming. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316396 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Find/Replace for Eclipse
Does a plugin exist for Find/Replace that is as good as the one for Dreamweaver? I like the option of searching the entire site or folder. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:300479 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Flex 2 books for CF/AS3
Can anyone recommend some titles on Flex 2 with focus on CF and AS3. Looked at a couple of titles but Amazon doesn't seem to offer "look inside" for those titles. Hate to purchase something with a brief overview of CF integration. ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293704 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
delivering electric goods after payment
Looking for options for either a method or service to deliver electric goods once the payment was confirmed by a payment gateway. Any advice would greatly be appreciated. Thanks in advance. ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291270 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Cartweaver for services
I use cartweaver for products but does anyone know of a similar product for services and invoicing. For example a service company that wants to give it's customer an area for them to look over their invoice and payment history. Hate to build this from scratch. ~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264907 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Not receiving HOF Digest
I'm experiencing problems receiving email from the list. I was getting them fine for while and all of the sudden it just stop. I entered another another email address and made it the primary but no success. Is anyone else experiencing this problem? Who can help at HOF? ~| 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:249381 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
OT: Menu Tree for navigation
Looking for navigation menu that doesn't resemble a folder list style. I like AminTree (http://dhtmlkitchen.com/)but its a little expensive. Anyone have an alternative? ~| 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:248237 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
OT: Adobe labs slow to load?
Why is Adobe's (labs) site so slow to load; is it the leased T1 at work or the cable modem at home? Is it me or do other people experience the same? If so, shouldn't a company with such technology deliver a site that's more responsive? ~| 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/cf_lists/message.cfm/forumid:4/messageid:247148 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Running CF 7.0.2 on Intel Mac
I just upgraded to a new Intel Mac from a Powerbook and installed the new version of CF. The earlier Mac was running CF fine as a standalone server. To get to point I can't run this new version and I've read about some of the modification I have to do because of jvm 1.5. Has anyone had any success with Intel Mac and the latest version of CF 7.0.2? Is installing Tom Cat or JRun a requirement or do I just have to install java 1.4.2 and have CF point to it? I just want to run the .exe and get down to business like the my previous install. I wasn't to happy before the .exe install when I had to make mods to make it work. Sounds like I have to go backwards. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:245243 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Application.cfc and cflogin/cflogout
Does anyone know where I can get an example of using cflogin and cflogout with Application.cfc. I'm currently using Application.cfm and have notice that the when using cflogout the session still remains and althought the user is logged out you can still access the secure pages with the back button. I'm assuming you can be fix using Application.cfc but I'm not 100% on where/how to implement it. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238560 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
TextArea for multi inputs
I want to use a textarea form feild to insert multiple values. f.e. I've seen it used to insert muliple email addresses seperated by a carriage return. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237785 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
TextArea for multi inputs
Does anyone know how to use a textarea as a multi input field? F.e. I'v seen a form which uses a textarea to insert mulitple email addresses each separated by the carriage return. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237761 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: selecting XmlAttribute of child node
That did it! > 34. > 35. > > Which child do you want? XmlChildren is the array of all the children > nodes. > > You would need something like: > cnThisAlbum.XmlChildren[1].XmlAttributes["src"] to get the src > attribute of the first img child node. > > If you want all of them, you will need a loop or something. > > > -- > 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. > > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237138 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
selecting XmlAttribute of child node
I can't seem to get the "src" attribute of the node. I get the following error: Element XMLCHILDREN.XMLATTRIBUTES is undefined in CNTHISALBUM. 35 : 1. 2. 3. 4. 5. 6. 8. 9. 10. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28. 29. 30. 31. 32.#cnAlbumName# 33. 34. 35. 36. 37. 38. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237128 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: where to start Ajax or Flex?
Kevin, Can you point in the direction/tutorial of doing the following: Using Flash Remoting to build insert form items in the stage. Place my first component/movie clip 10pixels top, 10 pixels left then set the padding on the bottom of 10 pixels for the last item on the stage. This way when the movie is built in runtime the contents in the movie determine the height and width of the stage. >With the Flash stage, you can have it dynamically layout and resize your >stage using a Listener. The Flash stage is as flexible with size as a >regular page... it just takes a bit of extra effort to achieve the exact >same capabilities. > >Cheers, > >Kevin > > > >-Original Message- >From: Ian Skinner [mailto:[EMAIL PROTECTED] >Sent: March 28, 2006 10:55 AM >To: CF-Talk >Subject: RE: where to start Ajax or Flex? > >Also correct me if I'm wrong but Flex since it uses Flash Player the stage >can't be set dynamically. If I build a dynamic form or page or menu system >that varies in size I would have to plan out the stage size ahead of time. >That's not dynamic. I hope I'm wrong on this. > > >Well, you could try my approach and play with both. I'm still only a little >beyond the "hello world" stage so I am not an expert on either. But I will >chime in that you can dynamically change the size of "stage" (It's not >called that in the flex world, but the concept is the same). You can create >states and each state can be a different size with various transition >effects involved. > >Also, if you do not need the "flex enterprise service [FES]" as it is >currently called, you can deploy a flex app to any service. Once you are >done and the app is compiled, it is a .swf file that can be put anywhere a >.swf can currently go. Without the FES piece, you are not able to PUSH data >from the server to the client, but you can PULL all you want. > > > > >-- >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. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236360 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: where to start Ajax or Flex?
James and everyone, Thanks for the head start. > I've been very happy with CFAJAX - it offes a good feature set and it > can be deployed without mappings or any other admin changes. AjaxCFC > is similar in some ways, and there are other options like JSMX and > Neuromancer. > > In general I've found AJAX techniques to be relatively easy to use > (via CFAJAX), providing a user interface with which the user is > familiar (html). > > My Fusion Authority article on CF and AJAX may also assist: > > http://www.fusionauthority. > com/Techniques/4593-Using-AJAX-with-ColdFusion-Part-I > > On 3/28/06, j s <[EMAIL PROTECTED]> wrote: > > I don't know a lick of Java and have played with Flash Remoting and > AS 2. I can see the future in either Ajax of Flex. I'm sorta leaning > towards Ajax cause from my understanding its cheaper, now, and I think > it can be deployed on any hosting services. > > > > Also correct me if I'm wrong but Flex since it uses Flash Player the > stage can't be set dynamicaly. If I build a dynamic form or page or > menu system that varies in size I would have to plan out the stage > size ahead of time. Thats not dynamic. I hope I'm wrong on this. > > > > I haven't see or notice much talk about CF and Ajax. Can someone > point me in the right direction on how to get started and their > experience with either of the two. Also how limited is Backbase for > CF or CFAjax? > > -- > CFAJAX docs and other useful articles: > http://jr-holmes.coldfusionjournal. com/ ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236311 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: cfm vs. php?
I think its a question of money. PHP is free, and most hosting services offer it. >thanks eric - this helps. > >while i now clearly see the CF light...there's gotta be a darkside lurking >somewhere. yeah? maybe just a little bitty one? > >scenario: i'm a designer trying to steer our team in a good direction but i >stop at HTML. >to me, the applications i've seen done in PHP aren't as elegant (?) as >similar ones in CFM. (PHP has that e-commerce aftertaste) > >so i can feel realatively OK making a recommendation based on an internet >forum exchange :) ---> if CF is so perfect, why aren't more people using it? >i understand why coders must love it, but are users as happy? it is buggy? >slow? > >thanks so much > >best, > >amanda > > > >On 3/27/06, Eric Roberts <[EMAIL PROTECTED]> wrote: >> ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236294 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
where to start Ajax or Flex?
I don't know a lick of Java and have played with Flash Remoting and AS 2. I can see the future in either Ajax of Flex. I'm sorta leaning towards Ajax cause from my understanding its cheaper, now, and I think it can be deployed on any hosting services. Also correct me if I'm wrong but Flex since it uses Flash Player the stage can't be set dynamicaly. If I build a dynamic form or page or menu system that varies in size I would have to plan out the stage size ahead of time. Thats not dynamic. I hope I'm wrong on this. I haven't see or notice much talk about CF and Ajax. Can someone point me in the right direction on how to get started and their experience with either of the two. Also how limited is Backbase for CF or CFAjax? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236292 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
CF Hosting w/access above root folder
I'm currently a CrystalTech customer. For $27/month I get 1GB of disk space and 100GB of bandwidth to name a few. The only thing thats missing is access to a folder above my webroot so I can store docs outside of my site for security. This way I can retrieve them with cfcontent and keep the docs from url access. Does anyone know of a CFhost provider that has access to folder above the clients webroot and offer cfdirectory and cffile along with high storage and bandwidth? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236254 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: can't access cf admin page after Flex conn update
I just uninstalled 1.5. Do I need to download 1.4.2 for firefox? I can't find the download and tried to verify under ff with no luck. Does verify under IE. > On 3/16/06, j s <[EMAIL PROTECTED]> wrote: > > It didn't work with 1.4 so I installed 1.5. I will downgrade and > reinstall cf7 later. > > + > > Hmmm, well I (finally) got up and running with the updater on the > 1.4.2_11 JVM, so I know it works. Hopefully just a re-install of CF 7 > will get you on your way. > > Good luck. The new Remoting stuff is cool! > > Regards, > Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235585 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: can't access cf admin page after Flex conn update
It didn't work with 1.4 so I installed 1.5. I will downgrade and reinstall cf7 later. + >On 3/16/06, j s <[EMAIL PROTECTED]> wrote: > > > >A couple of things > >1) Certain key features of ColdFusion MX 7 won't work with the 1.5 >JVM. In particular, the Axis engine for webservices doesn't work. >Seeing as interaction between Flex and ColdFusion is likely going to >happen via web services, you're best bet is to downgrade to the latest >1.4.2_11 JVM. > >2) Check out the comments in this blog entry. The third one down >should help you: > >http://www.horwith.com/index.cfm?mode=entry&entry=9CD55578-E081-0478-47B1AE93DE51D620 > >Regards, >Dave. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235577 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
can't access cf admin page after Flex conn update
After installing cf_flexconnect_b1_0123_en.exe (coldfusion connector for flex). I can nolonger access the admin page from dreamweaver or directly from a web browser. http://localhost:8500/cfide/administrator/datasources/index.cfm. The file is located in the wwwroot/cfide directory I have jre1.5.0_06. In jvm.config I tried java.home=C:\Program Files\Java\jre1.5.0_06 and java.home=D:\CFusionMX7\runtime\jre (D is the installation drive). If I access the file directly for firefox I get this error message: The selected method getAdminHash was not found. Either there are no methods with the specified method name and argument types, or the method getAdminHash is overloaded with arguments types that ColdFusion can't decipher reliably. If this is a Java object and you verified that the method exists, you may need to use the javacast function to reduce ambiguity. The error occurred in Application.cfm: line 128 -1 : Unable to display error's location in a CFML template. Please try the following: * Check the ColdFusion documentation to verify that you are using the correct syntax. * Search the Knowledge Base to find a solution to your problem. Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1 Remote Address 127.0.0.1 Referrer Date/Time 16-Mar-06 03:02 PM Stack Trace at cfApplication2ecfm105811000.runPage(C:\blackstone_final\cfusion\wwwroot\CFIDE\administrator\Application.cfm:128) at cfApplication2ecfm427330086.runPage(C:\blackstone_final\cfusion\wwwroot\CFIDE\administrator\datasources\Application.cfm:8) coldfusion.runtime.java.MethodSelectionException: The selected method getAdminHash was not found. at coldfusion.runtime.java.ObjectHandler.findMethodUsingCFMLRules(ObjectHandler.java:176) at coldfusion.runtime.StructBean.invoke(StructBean.java:401) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:1662) at cfApplication2ecfm105811000.runPage(C:\blackstone_final\cfusion\wwwroot\CFIDE\administrator\Application.cfm:128) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349) at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1915) at cfApplication2ecfm427330086.runPage(C:\blackstone_final\cfusion\wwwroot\CFIDE\administrator\datasources\Application.cfm:8) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.CfincludeFilter.include(CfincludeFilter.java:33) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:156) at coldfusion.filter.PathFilter.invoke(PathFilter.java:86) at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:115) at coldfusion.CfmServlet.service(CfmServlet.java:107) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527) at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:349) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:457) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:295) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) Any suggestions? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235570 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
cfquery group and flash remoting
This maybe OT but I was wounder if its possible to group recordset for Flash remoting the way cf does with cfquery group. #mainGroup.Title# #subGroup.subTitle# ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235343 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
RecordCount of query group
Is it possible to get the RecordCount of cf query group? #Name#, #RecordCount# #SubName#, #RecordCount# what is returned it the total RecordCount of the query and not the count of SubNames in each group. Total RecordCount: 4 Name1 SubName1 SubName2 (total SubName count 2 what is returned is 4) ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233643 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Renaming dynamic form fields
This works great with checkboxes but I can't get it to work with radio buttons and checkboxes. >This is the way I usually handle this kind of task. Look ma, no evaluate(). > >FORM > > > > > >... > > > >ACTION LOGIC > > > > > > > ... > > > > >This method has no cares about the actual numbers or their order. > >-- >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. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233640 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Renaming dynamic form fields
I'm trying to figure out a way to pass form fields to a page which will then rename the fields. The reason is the fields are produced dynamically and not all the fields will be passed since they will be checkboxes. When I perform my db insert I do loop which needs to have the fields in order. If the fields that are passed are 1,2,3 out of 6 my insert works. If the form passes fields 2,3,4 I get an error cause field 1 is not defined. 1,2,4 or 1,3,4 also don't work since they are not in order. This is why I want to: The first step I want to do is get the values from the form fields in need into an array. Then perform a loop to place the values into a the new form fields named newName. #item_name# INSERT inventory (item_ID,Group_item_ID ) values ('#Evaluate("form.newName#i#")#', #form.Group_item#) ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233602 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Passing LAST_INSERT_ID() from one fuction to another
I'm having trouble passing LAST_INSERT_ID() from one function to another. I'm new to CFC and not sure how this is done or if I have layout the cfc correctly with THIS. INSERT INTO Contacts (firstName ,lastName ) VALUES ('#(THIS.firstName)#' ,'#(THIS.lastName)#' ) SELECT LAST_INSERT_ID() as lastid SELECT * FROM contacts WHERE contacts.contactID = #THIS.contactID# ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231816 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: passing multiple values from the same form field
Deanna, I didn't see your post till now. I did it with evaluate instead. I still have a problem; what if I have three options If I select option1 and option3 I get an error message that option2 is missing. I have to make my selection concurrent because of the loop. Any ideas? >He gave you an example: #form["fieldname" & counter]# >Basically, the form scope is an array, so you in cases when you need to use >a variable as a form name, you can use the bracket notation above to get the >data without using evaluate. So, for example, if you had this form: > > > > > > >On your action page, you could get the values by looping: > > > >form.option#i# = #form["option" & i]# > > > >Obviously, you'd make this more dynamic by passing a hidden var with the >number of options, and then looping to that number, instead of hard-coding >it. But, you get the idea. > > >On 2/6/06, j s <[EMAIL PROTECTED]> wrote: >> >> Ian mentioned array notation, can anybody explain how to do this or a link >> on an example? >> ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231712 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: passing multiple values from the same form field
I was able to figure out how to do the multi insert. Here are the steps I took. To make sure the form values where passed I setup an actionpage.cfm instead of going directly to a cfc. On the top of the page I added . Once I knew extactly what formfields where passed I created a variable to hold the number of mulitple fields for insert. INSERT INTO cart (cart_custcart_ID, productID, qty, cart_dateadded) VALUES ('#Client.CartID#',#FORM.productid# ,#FORM.qty# ,#CreateODBCDateTime(Now())#) SELECT LAST_INSERT_ID() as lastid INSERT cart_options (optionID, cartLineID) VALUES ('#Evaluate("form.option#i#")#', #LastID#) I still have a problem I hope someone can answer. On the form if their are 3 options to select from (radio buttons) and I select option 1 and 3, I get an error message because the options are not concurrent . This is because the loop goes thru 2 options; option1 and option2 instead of option1 and option3 and gives an error stating their is no value for option2. Any ideas? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231710 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: passing multiple values from the same form field
Ian mentioned array notation, can anybody explain how to do this or a link on an example? > I have no idea what you are really trying to do. It sounds very > convoluted. > > But hopefully the answer to your question is the array notation for > form data. It usually is for these kinds of serially numbered fields. > > > #form["fieldname" & counter]# > > HTH > > -- > Ian Skinner > Web Programmer > BloodSource > www.BloodSource.org > Sacramento, CA > > - > | 1 | | > - Binary Soduko > | | | > - > > "C code. C code run. Run code run. Please!" > - Cynthia Dunning > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231520 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: passing multiple values from the same form field
Aaron, Can you post how you where able to do the inserts? My situation is a little tricky. My insert consist adding the form values to two tables. The values productID and qty are added using using a function addProduct. The options are added using a second function called addOption. I must first get the primary key using transaction tag them pass that key to the second function along with all the form.options. What I'm not clear on is: - if from the form page I send all the formfields to the first function (addProduct) how do i pass along all the form.option#count# values to the second function(addOptions)? My guess is I should create either a list or an array for all the form.options, pass it along the cart.cfc, get the primary key from the addProduct function, some how use the list/array to insert using the addOption fuction. Can anyone confirm this and point me to how do this? Form (fields): FORM.ProductID, FORM.Qty FORM.Option1 (option#count#) Tables: 1- cartTable - productLineID, productID, qty 2- optionIDTable - optionLineID, productLineIDoptionID Functions: cart.addProduct cart.addOption Thanks >Thanks Will, > >After getting the multiple values inserted I was going to work on >getting the multiple values updated as well. I have a CommunityMX >tutorial (http://www.communitymx.com/abstract.cfm?cid=E68A448AE1116988) >in my possession about updating multiple records that I was going to >use to implement my update CFC. However, I was needing something that >would tell me how to get the values from the same form field just as >with the insert. > >I will definitely take a look at your example! I am kind of surprised >that this seems to be more complicated then I thought. Perhaps because >linking tables is so common in db design that I thought these kinds of >inserts and updates would be basic. > >-Aaron > >On 2/4/06, Will Tomlinson <[EMAIL PROTECTED]> wrote: >> ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231490 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: passing multiple values from the same form field
It is passed to tag first. What I'm not clear on is how to loop the form fields. >Hi, >By saying 'I want to pass these options along with the productID and qty', >are you saying that when you submit the form, the values are not being >passed to the action page? > >Otherwise Ian's answer about the array notation for form data seems right. >In simple terms, the radio button for option1 will be named >form.option1(when the action page sees it) and it's value will be >#form.option1#. > >If you know the total number of options, you can loop through that number >like so (not tested): > > > > > > > >George > >On 2/3/06, j s <[EMAIL PROTECTED]> wrote: >> ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231363 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: passing multiple values from the same form field
It is for a form which will display a product. That product has options you can add to. Like Coffee, you can have the option of whole milk/skim/cream, sugar/equal/brown, caffine/decafe and so on. I want to pass these options along with the productID and qty. The possible values that are passed are: FORM.ProductID, FORM.Qty FORM.Option1 (option#count#) FORM.Option2 FORM.Option3 And so on... The Options are created dynamic so I don't know how many option groups (ie milk, sweeatner) I will have for each option (whole, skim, equal, splenda). This is why I have the input name= option#counter#. Since I'm working with radio input each group of options must have a unique name so I can select either whole milk, skim whole milk skim milk all have input nmes option1 white sugar, equal all have input names option2 The sku and qty are stored in a cartTable with a unique key for each line. Options will be insert in a seperate table which will only store the optionID and the cartID. Anyway, I don't know how to pass the many options along with the productID and qty. Can you point me to how to do this? > I have no idea what you are really trying to do. It sounds very > convoluted. > > But hopefully the answer to your question is the array notation for > form data. It usually is for these kinds of serially numbered fields. > > > #form["fieldname" & counter]# > > HTH > > -- > Ian Skinner > Web Programmer > BloodSource > www.BloodSource.org > Sacramento, CA > > - > | 1 | | > - Binary Soduko > | | | > - > > "C code. C code run. Run code run. Please!" > - Cynthia Dunning > ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231336 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Verify form post was from my server.
Dave- I suppose you'd tell me to take your class if I ask you what you propose to do to slim the chances of this happening. JS Dave said- Unfortunately, this doesn't prevent anyone from intentionally posting data from wherever they want. It's trivial to build an HTTP POST request and specify whatever Referer header you like. I typically demonstrate this with a netcat or telnet client in the Fig Leaf security class, "Securing ColdFusion Servers on Windows". The only thing it would protect you from is unintentional form posts from undesired locations, which, of course, isn't really a problem, I don't think. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 __ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! __ Why Share? Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Verify form post was from my server.
Is there a way I can narrow down a hackers ability to post a form to one of my action templates. Http-referrer is not reliable, I know. JS __ Do You Yahoo!? Great stuff seeking new owners in Yahoo! Auctions! __ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Virus Checking Uploads
McAffee, as I'm sure others, delivers an executable that you can use to scan files on upload. You would use cfexecute then pass any args. McAffee's utility comes with a test virus you can use. JS ~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Security Pattern
I've been tasked to modify a security layer for an existing catalog application. Right now it has security algorithms that are unwieldy and are proving difficult to scale. I need to redesign the security layer so that it is almost a pluggable object. Let me describe the application. It is a catalog application has multiple "resources", each resource has elements that are available to only a select group. The difficulty comes in because right now there are sub groups for every group. Example- Group A has sub groups a1,a2,a3, now, if a resource has a status of "declined" only people in group a2 or higher can see the resource and only people in group a1 can see any money that is involved with the resource. Also there is of course a listing element to the software that lists resources and some summary information that could involve pieces that are viewable to people that belong to the right combination of groups. That is why the current security has become unwieldy. The security was added as an after-thought so it was never designed properly and has been added to and added to over time so now it has reached it's limit of acceptability. I need to create a central template that I can call to calculate the security level. If this situation sounds familiar to anybody I would love to hear experiences. J ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
CF5 Scheduled Task and CFHTTP
Hello, We have been using a scheduled task to run a template that contains a cfhttp post for some time now without incident - that is, until we upgraded our dev server to 5.0. At first, I thought it might have something to do with how the code on the page being called is handling the cfhttpparam vars. This just isn't the case, though, because after isolating the cfhttp call and running it on another server with 4.5.1 installed, it works great. It also works when the page is called directly from the browser. The code I have been testing this with is similar to the following: http://myurl.com"; method="POST" port="80"> The page being called uses the search_str to query either an Access or SQL Server DB (depending on the application) and populate a wddx packet with the results. Please don't ask why we are using a scheduled task as a way to call a search template - it's a long and complicated story. Just know that it worked with 4.01 and 4.5.1. Has anyone else run into this issue yet with 5.0? Thanks ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists