Are you doing something like this:

<cfobject
  component = "admin.progex.manageSeries"
  name = "#variables.someName#">

I don't think you can use variable in name -- or least the exception you 
are getting is saying that.

Also, maybe share your CFC?  You could have a syntax error in that as 
well that is causing this problem and the line number is being misreported.

.pjf


Magnus said the following on 08/28/2009 11:21 PM:
> I must be missing something obvious. I am getting this error when
> trying to instantiate a CFC.
>
>
> Type  Application
> Detail        Invalid Expression: The NAME attribute must contain a constant
> value
> Tag Context   CFOBJECT (C:/openbd/webapps/openbd/dspSeriesDetail.cfm,
> Line=17, Column=27)
> Source
>
> 14: --->
> 15: <cfobject
> 16:   component = "admin.progex.manageSeries"
> 17:   name = "SeriesFunctions">
> 18:
>
> ^ Snippet from underlying CFML source
>
> I was getting the same error when trying to use CFINVOKE. And the same
> error mesage came up running under Railo. As far as I can tell the
> syntax is the same as other places I have used CFCs and matches the
> docs.
>
> Thanks.
> Magnus
> >
>   


--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
 http://groups.google.com/group/openbd?hl=en
 official site @ http://www.openbluedragon.org/

!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---

Reply via email to