I am sorry if this is a dumb question but I am just getting started
with writing my own decorators. I have a Product decorator that
extends my base decorator like so.
<cfcomponent displayname="Product Transfer Decorator" output="false"
extends="AbstractTransferDecorator">
<cffunction name="configure" access="public" output="false"
returntype="any">
<cfargument name="validator" type="any" required="true">
<cfset setValidator(arguments.validator)>
<cfreturn this>
</cffunction>
</cfcomponent>
>From what I have read configure is called when the decorator is
instantiated. Normally when I set up my objects in coldspring I can
inject other dependencies but here I am a little lost. How do I pass a
validator bean that I setup in cs into this decorator.
Thanks for the help!
--~--~---------~--~----~------------~-------~--~----~
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer
You received this message because you are subscribed to the Google Groups
"transfer-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/transfer-dev?hl=en
-~----------~----~----~----~------~----~------~--~---