Not that I know of, Why you would have an application name in your package i'm not sure.
You would normally organize your classes as com.company.module.submodule.Class You can probably do a switch, <cfswitch expression="# APPLICATION.APPNAME#"> <cfcase value="fred"> <cfargument name="test" type="fredcore.packages.types.test" required="true"> </cfcase> <cfcase value="barney"> <cfargument name="test" type="barneycore.packages.types.test" required="true"> </cfcase> </cfswitch> But this is going to get ugly quickly. Perhaps if you explain why the application name is part of the package structure I can offer more assistance. Regards Dale Fraser http://dalefraser.blogspot.com -----Original Message----- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rony Sent: Friday, 25 May 2007 3:49 PM To: cfaussie Subject: [cfaussie] CF Argument issues 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, --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---