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 <[email protected]> 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

Reply via email to