Re: ORMExecuteQuery problem
There seems to be some problem with the type conversion. So out of curiosity, can you check what happens when you replace the query with ormExecuteQuery("from User where region_id =? and usergroup_id=?", [1, 1]); If that works fine, would you mind sending a test case to me (rukumar at adobe )? It would be great if you can also add the stacktrace for the null pointer? Rupesh ~| 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:328735 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
custom ajaxCFC arguments
Hey All, I've customized ajaxCFC to run all calls through a master handler CFC in the app root. It takes all calls and passes them through to CFCs ina non-web accessible directory with access of "public". To do so I got into the jquery.AJAXCFC.js file and altered the "data" that is passed through to include 2 new arguments "componentName" and "methodName". Works great...those 2 args get serialized alng with form data and passed into the master handler which then invokes the actual CFC using the specified componetName and methodName. My problem is I'd prefer to have those 2 custom args passed in another wya so they aren't part of the data array that ajaxCFC passes behind the scenes. This is so I can use the ajaxCFC call arg of "processData: false" when I'm not actually posting a form (like just packaging some HTML in a CFC to be displayed in a DIV). If I set processData to false now, my custom componentName and methodName don't get passed and my master handler CFC bombs. That may have been a bit convoluted, but the basic question is.has anybody added their own custom args to the jQuey implementation of ajaxCFC? Rob G?? ;-) TIA Cheers -- Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: br...@electricedgesystems.com web: www.electricedgesystems.com Notice: This message, including any attachments, is confidential and may contain information that is privileged or exempt from disclosure. It is intended only for the person to whom it is addressed unless expressly authorized otherwise by the sender. If you are not an authorized recipient, please notify the sender immediately and permanently destroy all copies of this message and attachments. ~| 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:328734 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Methods not found.
> Hi Kevin. I've read that whole site a couple of days ago. Good stuff. > But apart from making these "utilities" load in an application scope, I > was trying to find a better way accesing them object-wide I guess. I'm > worried aboout having to load all these utilities objects in a > application variable. Right now it loads the system settings object. > How much is too much objects when loading them into an application > scope? Sorry for the questions. I just started to revert my programming > thinking into an OOP stand point so I'm still sorting through all the > damn terminology and concepts. You're unlikely to run into a problem loading shared objects into the Application scope. You're far more likely to run into memory ceilings when loading objects into the Session scope. 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 informat ~| 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:328733 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
re: Looking for a CF 8 host
Thanks everyone for your suggestions. I'll give some of them a try. Probably CrystalTech for starters, since they've got a $16 plan. ...lars ~| 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:328732 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ARGUMENT scope case
...and Dominic wins the prize!! Thanks all for the info. Dominic's collection loop solves the CF variable scope structure key case problem (although a PITA whenn it needs to be done). Of course since posting I have realized that in most cases I do NOT need to return CF variable scopes via AJAX and will generally return just the retStruct you saw in my example code with simple values and not structures. So in the more widely used case I will have the control over structure key case at the time I create the struct and its keys. So thanks also to those that mentioned array notation as a way to preserve case without the explicit use of lCase(). That said I should say that the key case is already being preserved the long way I wrote my sample codejust FYI ;-) Happy almost US bird day for those below the 49th ;-) Cheers -- Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: br...@electricedgesystems.com web: www.electricedgesystems.com Notice: This message, including any attachments, is confidential and may contain information that is privileged or exempt from disclosure. It is intended only for the person to whom it is addressed unless expressly authorized otherwise by the sender. If you are not an authorized recipient, please notify the sender immediately and permanently destroy all copies of this message and attachments. On Thu, 2009-11-26 at 09:23 +, Dominic Watson wrote: > Trouble is, he needs to dump in the entire arguments scope, regardless of > what's in it (going by the example code). This should do the trick: > > > ... > ... > > > > > HTH, > > Dom > > 2009/11/26 Kevan Stannard > > > > > The struct key name case should be retained with the following syntax: > > > > > > > > > > > > 2009/11/26 Bryan Stevenson > > > > > > > > Hey All, > > > > > > I just bumped into an interesting/annoying potential difference between > > > Adobe CF 8 and OpenBD. > > > > > > When I run the following code in a CFFUNCTION: > > > > > > > > > > > > > > > > > > > > > > > > > > > I get the following results: > > > > > > OpenBD: each ARGUMENT key is lowercase (along with values) > > > > > > Adobe CF 8: each ARGUMENT key is uppercase (along with values) > > > > > > This is a royal PITA for JS that uses the retStruct (json serialized BTW > > > by ajaxCFC and not serializeJSON()). All my JS code is lowercase. > > > > > > Anyways.I'm sure there is a simple solution to force lowercase > > > ARGUMENT scope structure keys, but I'm a few days into a nasty head cold > > > and the noodle isn't multi-tasking right now ;-) > > > > > > TIA > > > > > > Cheers > > > > > > -- > > > > > > Bryan Stevenson B.Comm. > > > VP & Director of E-Commerce Development > > > Electric Edge Systems Group Inc. > > > phone: 250.480.0642 > > > fax: 250.480.1264 > > > cell: 250.920.8830 > > > e-mail: br...@electricedgesystems.com > > > web: www.electricedgesystems.com > > > > > > Notice: > > > This message, including any attachments, is confidential and may contain > > > information that is privileged or exempt from disclosure. It is intended > > > only for the person to whom it is addressed unless expressly authorized > > > otherwise by the sender. If you are not an authorized recipient, please > > > notify the sender immediately and permanently destroy all copies of this > > > message and attachments. > > > > > > > > > > > > > > > > > > > > > > > > ~| 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:328731 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Enabled Sandbox Security on DEV Server, now no service is available
I am trying to get familiar with Sandbox security on CF8 Enterprise running on Windows 2008 box. I enabled sandbox security and restarted the server, now I can't access the administrator page and my CF service fails : The service is unavailable. Can someone point me in the right direction where to look to fix this problem? Thanks, Dave ~| 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:328730 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Hide Table Coulms
Ah - I don't tend to think of Spry as "part of" CF8 - but I guess it does ship if the cfsprydataset tag uses it. :) On Thu, Nov 26, 2009 at 4:36 AM, Kamru Miah wrote: > >>Nope. > > Thanks - but I have been able to locate an example of SpryDOMUtils.js library > which is part of CF8 and will do exactly the same job as jQuery?? > http://labs.adobe.com/technologies/spry/samples/dom_utils/hide_columns.html > > ~| 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:328729 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Question about CF8 on Win 2003 Server
Doesn't matter at all. CF just interacts with the web server ... that's all. If you had code that used machinename, that would be an issue, but the server installation is unrelated. ~| 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:328728 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Looking for a CF 8 host
+1 for CrystalTech ... been using them happily for several years now. ~| 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:328727 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ARGUMENT scope case
Trouble is, he needs to dump in the entire arguments scope, regardless of what's in it (going by the example code). This should do the trick: ... ... HTH, Dom 2009/11/26 Kevan Stannard > > The struct key name case should be retained with the following syntax: > > > > > > 2009/11/26 Bryan Stevenson > > > > > Hey All, > > > > I just bumped into an interesting/annoying potential difference between > > Adobe CF 8 and OpenBD. > > > > When I run the following code in a CFFUNCTION: > > > > > > > > > > > > > > > > > > I get the following results: > > > > OpenBD: each ARGUMENT key is lowercase (along with values) > > > > Adobe CF 8: each ARGUMENT key is uppercase (along with values) > > > > This is a royal PITA for JS that uses the retStruct (json serialized BTW > > by ajaxCFC and not serializeJSON()). All my JS code is lowercase. > > > > Anyways.I'm sure there is a simple solution to force lowercase > > ARGUMENT scope structure keys, but I'm a few days into a nasty head cold > > and the noodle isn't multi-tasking right now ;-) > > > > TIA > > > > Cheers > > > > -- > > > > Bryan Stevenson B.Comm. > > VP & Director of E-Commerce Development > > Electric Edge Systems Group Inc. > > phone: 250.480.0642 > > fax: 250.480.1264 > > cell: 250.920.8830 > > e-mail: br...@electricedgesystems.com > > web: www.electricedgesystems.com > > > > Notice: > > This message, including any attachments, is confidential and may contain > > information that is privileged or exempt from disclosure. It is intended > > only for the person to whom it is addressed unless expressly authorized > > otherwise by the sender. If you are not an authorized recipient, please > > notify the sender immediately and permanently destroy all copies of this > > message and attachments. > > > > > > > > > > > > > > ~| 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:328726 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ARGUMENT scope case
That is correct for the key names in a struct that you create. However, the OP was talking specifically about the keys in the ARGUMENTS struct. You can't use array notation for those. :-) On Wed, Nov 25, 2009 at 9:14 PM, denstar wrote: > > I thought that using the bracket notation would keep case? > > something["ThisThenLooksLikeThis"] > > vs something.THISTHENLOOKSLIKETHIS > > I could be mixed up tho. > ~| 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:328725 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Methods not found.
Thanks for all the help! I figured it out. Well, not really. I just moved everything around back to what I needed and it just worked. I might have maybe spelled "variables" wrong or something. LOL So odd. > > > 2009/11/26 Chung Chow > > > > > > > > > > > Hi all, > > > > > > > > I'm trying to instantiate an object either in the > > > psuedo-contructor or > > > > init of my cfc as a variable so I can use it within all > my method > > > > inside that cfc. For some reason when I call a method > from that > > > > object I get a Method not found error. I'm not sure if this is > > > > the best way of going about it so if anyone has a better idea, > > > I'd like to > > > > hear about it. :) If I istantiate it WITHIN the cffunction, > > > it works fine. Any ideas? ~| 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:328724 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Hide Table Coulms
>Nope. Thanks - but I have been able to locate an example of SpryDOMUtils.js library which is part of CF8 and will do exactly the same job as jQuery?? http://labs.adobe.com/technologies/spry/samples/dom_utils/hide_columns.html ~| 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:328723 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4