Re: Passing arguments into base class

2015-02-06 Thread Dean Lawrence
Thanks Nathan, that's good to know. I will definitely have to look deeper into that. I have been using ColdSpring in a common way for so long that I have not looked over the documentation in a couple years. I may have had the ability all along and not known it. Thanks again! On Fri, Feb 6, 2015

Re: Passing arguments into base class

2015-02-06 Thread Jason Durham
I tried to answer this twice but neither of my previous emails went through. I'm trying from another account. Byron's last example passing the value from the child object to the parent definitely works. I'm not sure what's in your Util class, but the name of it seems to imply using it as a

Re: Passing arguments into base class

2015-02-06 Thread Dean Lawrence
Byron, This is pretty much what I was thinking that I had to do, but was hoping to not have to explicitly call the super.init() method for every class that extends the base class. I'm just not sure if what I am trying to do is even possible. On Fri, Feb 6, 2015 at 2:23 PM, Byron Mann

Re: Passing arguments into base class

2015-02-06 Thread Nathan Strutz
You're using ColdSpring and you say CS is not autowiring the field on a base class? It's supposed to, FYI, it just is. If it does not, you can do it explicitly in your xml file (if you use the DefaultXMLBeanFactory.cfc). Also, make sure the autowire option is on, at least for this object if not

Re: Passing arguments into base class

2015-02-06 Thread Dean Lawrence
Hi Jon, No, the utility class is not dependent on the base class. The base class has some universal methods that handle things like performing common preInsert and preUpdate ORM methods across all my persistent objects. My utility class has some common methods that I use for such things as

Re: Passing arguments into base class

2015-02-06 Thread Nathan Strutz
Dean, Byron's suggestion is a good one, and the right way to go unless you use an IoC container. It's an object-oriented programming idea where, when you come to the point of not wanting to instantiate all your objects. You invert the control of creating away from what normally creates them into

RE: Speech to text

2015-02-06 Thread Robert Harrison
Yes. Dragon software seems to integrate rather well... but really it's not a CF issue, it more of an HTML issue. Robert Harrison Full Stack Developer AIMG rharri...@aimg.com Main Office: 704-321-1234  ext.118 Direct Line: 516-302-4345 www.aimg.com -Original Message- From: John Allen

Re: Passing arguments into base class

2015-02-06 Thread Byron Mann
This might work, if I'm understanding. component name='baseClass' { variables.utilClass = ''; public any function init(utilClass utilClass){ variables.utilClass = arguments.utilClass; } } In your derived class you can do this. component extends='baseClass'{ public any function

Re: Passing arguments into base class

2015-02-06 Thread Jon Clausen
Dean, Is your utility class dependent on the the base class (e.g. - does it use “this” or the variables scope)?  If so, then you have a couple of different ways you can go: 1) use it as a mixin inside your component{} , and forego the class wrapper for the Utility methods entirely:

Re: CF10 setting comparable to CF9 maximum JRun threads?

2015-02-06 Thread Byron Mann
Do not believe this is a setting any longer. There are only options to set the template, flash, web service and CFC requests. Believe the defaults are 20,5,5,10 respectively. ~| Order the Adobe Coldfusion Anthology now!

Re: Passing arguments into base class

2015-02-06 Thread Dean Lawrence
Thanks Nathan, I am familiar with IoC and am using ColdSpring for this very purpose. However, it doesn't really work in this situation because the base class is never called directly though the beanfactory. The bean that is extending the base class may, but not the baseclass itself. This is my

Speech to text

2015-02-06 Thread John Allen
Hey List, Anyone done any Speech to text stuff with CF? Thanks list. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive:

Re: Solr Suggestions

2015-02-06 Thread Mary Jo Sminkey
I can't get it to accept more than 4 custom fields, and it won't let me use the new CF10 custom field syntax for custom fields either (where you can do something like catalogid_i versus custom1). Just to follow up on this, I did figure out that the problem with the dynamic custom fields

Re: Speech to text

2015-02-06 Thread John Allen
Have you run Dragon as a service/headless app accessible via CF? Do tell. Don't understand the HTML issue part. Thanks Robert. On Fri, Feb 6, 2015 at 4:16 PM, Robert Harrison rharri...@aimg.com wrote: Yes. Dragon software seems to integrate rather well... but really it's not a CF issue,

RE: Speech to text

2015-02-06 Thread Robert Harrison
What are you going to do with it? If you going to voice drive your websites it's an HTML issue. You can speak and it will record in test fields, etc. Robert Harrison Full Stack Developer AIMG rharri...@aimg.com Main Office: 704-321-1234  ext.118 Direct Line: 516-302-4345 www.aimg.com

CF10 setting comparable to CF9 maximum JRun threads?

2015-02-06 Thread george.e...@ssa.gov george.e...@ssa.gov
We do not have access to our CF10 CFAdmin. CFAdmin in CF9 has a 'Maximum number of running JRun threads' setting which is supposed to be set at least to the total of the Template, Flash, Web Service and CFC requests. Since CF10 no longer uses JRun does CF10 have a similar setting, and if it

Coldfusion 7 on Apache 2.2 Linux

2015-02-06 Thread Dan LeGate
I know, I know... it's OLD, but we have to deal with it. Been trying to get CF7 working on Linux with Apache 2.2 and having trouble. Keep reading there was an updated wsconfig.jar available at one point, but not surprisingly, can't find it at Adobe.com Anyone still have the patch, or know a

Passing arguments into base class

2015-02-06 Thread Dean Lawrence
All of my classes in my app are derived from a base class. I've been using this successfully for the last couple of years. However, within the base class, I need the use of a utility class as well. I am currently calling it from the application scope, but I want to better encapsulate the base

Re: Passing arguments into base class

2015-02-06 Thread Byron Mann
Think you might want something like this in your base cfc? I think you'd not want the UtilClass to inherit the base class however, or this would lead to a circular reference and probably kill the app. component name='baseClass' { variables.utilClass = new UtilClass(); } On Fri, Feb 6, 2015

Re: Solr Suggestions

2015-02-06 Thread Mary Jo Sminkey
The one I'm frustrated with though is the status fields. They are supposed to include a keywords struct and keywordScore when the suggestions criteria is met Just to follow up more on this, I continue to be frustrated trying to work with the Solr on our CF10 install, it's almost like we

Re: Passing arguments into base class

2015-02-06 Thread Dean Lawrence
Thanks Byron, I wasn't wanting my utility class to inherit my base class, I am wanting to inject the utility class into the base class. I'm trying to get away from explicitly defining the utility class from within the base class. Since the base class is not called directly, I don't know how to