I am a little behind on this discussion. I have tried the same thing but it is the same as when trying extend a CFC. No variables allowed.
The problem is to do with the the templated being compiled into Java and not runtime interprested. They must know the name of any objects that are extended and passed as arguments so the templates are compiled into java classes. I don't beleive there is anything that can be done about it Cheers, Simon On 25/05/07, Rony <[EMAIL PROTECTED]> wrote: > > > Hi all, > > I am trying to pass a user defined object into another function: > > I have the following: > > <cfargument name="test" > type="#APPLICATION.APPNAME#core.packages.types.test" required="true"> > > But doing this I get the following error : > > " This expression must have a constant value. " > > Is there a way around this? > > Thanks, > > > > > -- Cheers Simon Haddon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---