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 at 3:40 PM, Nathan Strutz str...@gmail.com wrote:


 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
 for all of your beans. It's strange that it is not working, maybe this
 would be a question for the ColdSpring list.

 Nathan Strutz



-- 

  [image: profile picture]  *Dean Lawrence*
*President*
Internet Data Technology
*Phone:* 888-438-4381 x701
*Web:* www.idatatech.com
*Email:* d...@idatatech.com
  Programming | Database | Consulting | Training


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360075
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 mixin is the avenue I'd take.


Jason Durham

On Fri, Feb 6, 2015 at 1:23 PM, Byron Mann byronos...@gmail.com wrote:


 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 init(utilClass utilClass){
 super.init(argumentCollection=arguments);
   }
 }


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360068
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 byronos...@gmail.com wrote:


 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 init(utilClass utilClass){
 super.init(argumentCollection=arguments);
   }
 }


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360071
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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
for all of your beans. It's strange that it is not working, maybe this
would be a question for the ColdSpring list.

Nathan Strutz

On Fri Feb 06 2015 at 3:30:14 PM Dean Lawrence dean...@gmail.com wrote:


 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 issue.

 I am actually already doing something identical to what Byron suggested,
 but by calling the utility class through the beanfactory (which is stored
 in the application scope) instead of creating a new instance of the utility
 class using New. In either case, the utility class variable is being
 explicitly called/created within the base class, not passed in as an
 argument.

 On Fri, Feb 6, 2015 at 2:14 PM, Nathan Strutz str...@gmail.com wrote:




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360073
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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
encryption/decrypt. I am need of some of the methods that are in the
utility class from within my base class. Since the base class is never call
directly or from my beanfactory (I use ColdSpring), I don't know how to
inject the utility class into the base class.

On Fri, Feb 6, 2015 at 2:23 PM, Jon Clausen jon_clau...@silowebworks.com
wrote:


 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:

 include template=“Utilities.cfm”;

 2) use inheritance of the Utilities class on the base class (or the base
 class’ super class):

 component name=“BaseClass” extends=“UtilityClass”{}

 If it’s not dependent on the base class, you can either:

 1) Inject it using a dependency framework like Wirebox (
 http://wiki.coldbox.org/wiki/WireBox.cfm - which can run outside of a
 Coldbox app), Coldspring, etc. ( I see Nathan just replied to this effect)
 and just call the injection mapping in your constructor.  If there are
 constructor arguments the Util class needs, you can set those with your
 injection framework and be done with them.

 2) If the methods are all static helpers, incorporate it as a mixin to
 your Application.cfc, so that the methods become available globally,
 without scope, on every request.


 Jon




-- 

  [image: profile picture]  *Dean Lawrence*
*President*
Internet Data Technology
*Phone:* 888-438-4381 x701
*Web:* www.idatatech.com
*Email:* d...@idatatech.com
  Programming | Database | Consulting | Training


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360072
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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
some kind of bean factory. There are a number of them out there for
ColdFusion. ColdSpring, WireBox, and DI/1 to name the big ones off the top
of my head. An ioc container/factory will keep it all internally for you,
wire your bean up, then hand you what you asked for, all ready to go.

The only other solution is to send in your utility object each time you
create something that needs it.

On Fri Feb 06 2015 at 1:24:38 PM Dean Lawrence dean...@gmail.com wrote:


 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 pass the utility
 class in as a required argument during initialization.

 On Fri, Feb 6, 2015 at 12:11 PM, Byron Mann byronos...@gmail.com wrote:

 
  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();
 
  }
 
 
 

 --

   [image: profile picture]  *Dean Lawrence*
 *President*
 Internet Data Technology
 *Phone:* 888-438-4381 x701
 *Web:* www.idatatech.com
 *Email:* d...@idatatech.com
   Programming | Database | Consulting | Training


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360065
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 [mailto:johnfal...@gmail.com] 
Sent: Friday, February 06, 2015 4:14 PM
To: cf-talk
Subject: Speech to text


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: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360077
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 init(utilClass utilClass){
super.init(argumentCollection=arguments);
  }
}


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360067
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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:

include template=“Utilities.cfm”;

2) use inheritance of the Utilities class on the base class (or the base 
class’ super class):  

component name=“BaseClass” extends=“UtilityClass”{}

If it’s not dependent on the base class, you can either:

1) Inject it using a dependency framework like Wirebox 
(http://wiki.coldbox.org/wiki/WireBox.cfm - which can run outside of a Coldbox 
app), Coldspring, etc. ( I see Nathan just replied to this effect) and just 
call the injection mapping in your constructor.  If there are constructor 
arguments the Util class needs, you can set those with your injection framework 
and be done with them.

2) If the methods are all static helpers, incorporate it as a mixin to your 
Application.cfc, so that the methods become available globally, without scope, 
on every request. 


Jon
 

On February 6, 2015 at 1:24:03 PM, Dean Lawrence (dean...@gmail.com) wrote:


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 pass the utility  
class in as a required argument during initialization.  

On Fri, Feb 6, 2015 at 12:11 PM, Byron Mann byronos...@gmail.com wrote:  

  
 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();  
  
 }  
  
  
  

--  

[image: profile picture] *Dean Lawrence*  
*President*  
Internet Data Technology  
*Phone:* 888-438-4381 x701  
*Web:* www.idatatech.com  
*Email:* d...@idatatech.com  
Programming | Database | Consulting | Training  




~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360066
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360069
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 issue.

I am actually already doing something identical to what Byron suggested,
but by calling the utility class through the beanfactory (which is stored
in the application scope) instead of creating a new instance of the utility
class using New. In either case, the utility class variable is being
explicitly called/created within the base class, not passed in as an
argument.

On Fri, Feb 6, 2015 at 2:14 PM, Nathan Strutz str...@gmail.com wrote:


 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
 some kind of bean factory. There are a number of them out there for
 ColdFusion. ColdSpring, WireBox, and DI/1 to name the big ones off the top
 of my head. An ioc container/factory will keep it all internally for you,
 wire your bean up, then hand you what you asked for, all ready to go.

 The only other solution is to send in your utility object each time you
 create something that needs it.



-- 

  [image: profile picture]  *Dean Lawrence*
*President*
Internet Data Technology
*Phone:* 888-438-4381 x701
*Web:* www.idatatech.com
*Email:* d...@idatatech.com
  Programming | Database | Consulting | Training


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360070
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360076
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 was I was testing it originally with more than 4 fields. It 
appears that although the information on improvements to Solr in CF10 say there 
is no limit on custom fields, that is not the case, I verified that you get an 
error with more than 4 on both Standard and Enterprise. 

Still checking on some of the other issues. I did also find that the errors I 
was getting with type on the cfsearch tag was due to the docs never having 
been updated from Verity, even though a bug was reported by someone else for 
this reason (using a value the docs say is the default!) and someone else 
commented on the page on the wiki that it doesn't seem to work in CF10. It 
would be nice if someone reviewed and fixed those docs once in awhile. 

Mary Jo


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360080
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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, 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 [mailto:johnfal...@gmail.com]
 Sent: Friday, February 06, 2015 4:14 PM
 To: cf-talk
 Subject: Speech to text


 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: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360078
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360079
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 
does, what is it and where is it?

Thanks!

George 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360064
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 link?

Save your breath in telling us to upgrade instead.  We are... just we have
to deal with this old server until it's done. :-)

Thanks,

Dan


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360074
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 class
and inject the utility class into the base class instead of relying on an
external reference. My question is, how do I do this? I know how to do it
with a regular class file, but not with a class that is being inherited.
Can anyone give me some direction?

Thanks,

-- 

  [image: profile picture]  *Dean Lawrence*
*President*
Internet Data Technology
*Phone:* 888-438-4381 x701
*Web:* www.idatatech.com
*Email:* d...@idatatech.com
  Programming | Database | Consulting | Training


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360060
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 at 11:14 AM, Dean Lawrence dean...@gmail.com wrote:


 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 class
 and inject the utility class into the base class instead of relying on an
 external reference. My question is, how do I do this? I know how to do it
 with a regular class file, but not with a class that is being inherited.
 Can anyone give me some direction?

 Thanks,

 --

   [image: profile picture]  *Dean Lawrence*
 *President*
 Internet Data Technology
 *Phone:* 888-438-4381 x701
 *Web:* www.idatatech.com
 *Email:* d...@idatatech.com
   Programming | Database | Consulting | Training


 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360062
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 have a completely different 
CF version just for Solr. 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). 

Anyone seen this? We have all the latest CF updates for 10 installed. Is there 
a difference in Solr support between Standard and Enterprise?


Mary Jo 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360061
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


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 pass the utility
class in as a required argument during initialization.

On Fri, Feb 6, 2015 at 12:11 PM, Byron Mann byronos...@gmail.com wrote:


 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();

 }




-- 

  [image: profile picture]  *Dean Lawrence*
*President*
Internet Data Technology
*Phone:* 888-438-4381 x701
*Web:* www.idatatech.com
*Email:* d...@idatatech.com
  Programming | Database | Consulting | Training


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360063
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm