argumentCollection in the cffunction tag? I don't see that in the docs. You
can use it when calling the function, but not while defining it. Maybe
that's what's throwing the weird error.

Francois Levesque
http://blog.critical-web.com/


On Fri, Mar 6, 2009 at 1:28 PM, Rick Faircloth <r...@whitestonemedia.com>wrote:

>
> Here's the error from CF:
>
>
>
> "This expression must have a constant value."
>
>
>
> The compiler was processing:
>
> -          A cffunction tag beginning on line 72, column 10.
>
> The error occurred in
> E:\Inetpub\webroot\wsm-dev\jQuery\ajax_file_upload_two\form_processing.cfc,
> line 79.
>
> (Line 79 is:  returnType = "struct")  If I take out that line, then the
> error just references the line before it:  access = "remote".
>
>
>
> Without going into a thousand lines of code upfront, I was wondering if
> anything was wrong with this code
>
> up to this point.  I've never gotten this error before (but, then again,
> I've never tried to do some of the things
>
> I'm doing with this, either.)
>
>
>
> Thanks,
>
>
>
> Rick
>
>
>
>
>
> <cffunction   name                                   =   "fnProcessForm"
>
>                          displayname                      =
> "fnProcessForm"
>
>                          argumentCollection       =  "#form#"
>
>                          dsn                                        =
> "#application.dsn#"
>
>                          hint                                       =
> "Processes Submitted Form"
>
>                          output                                 =  "false"
>
>                          access                                  =
> "remote"
>
>                          returnType                        =  "struct">
>
>
>
>
>                          <cfargument     name = "dsn"     type = "string"
> required = "yes">
>
>
>
>
>                          <cfset valueStruct  =  structNew()>
>
>
>
>                         <cfset arrFiles_200 =  [] />
>
>                         <cfset arrFiles_500 =  [] />
>
>
>
>
> ----------------------------------------------------------------------------
> ---------------------------------------------------------
>
> "A government big enough to give you everything you want is big enough to
> take away everything you have."
>
>  - Thomas Jefferson
>
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320170
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to