Hmpth, I thought for sure you were wrong, but I was able to recreate
it. I tried changing the & to & to see if that helped, and it did
not.

If the issue is that you can't have 2 or more args, then you could
take a list of values and convert it to JSON and urlEncodedIt.

Have you filed a bug report for this?

Also, I'd recommend giving Uploadify (uploadify.com) a try.

On Thu, Mar 25, 2010 at 7:18 AM, Chris Blackwell <[email protected]> wrote:
> Ok, this isn't anything to do with MG, but appears to be a bug in
> <cffileupload>
> Here's a simple test case, if anyone has a minute to double check it.
> <cfparam name="url.upload" default="false" />
> <cfif NOT url.upload>
> <cffileupload url="#CGI.SCRIPT_NAME#?upload=true&foo=bar" >
> <cfelse>
> <!--- not actually uploading anything here, just logging the querystring
> --->
> <cflog file="upload" text="query_string: #CGI.QUERY_STRING#" />
> </cfif>
> If you run this template, select a file and upload it you would expect to
> see a message in upload.log with the text "query_string:
> upload=true&foo=bar" but what you actually get is "query_string:
> upload=true"
> Why do these things always crop up right before a deadline!
>
> On 25 March 2010 12:44, Chris Blackwell <[email protected]> wrote:
>>
>> I'm trying to use CF9's <cffileupload> tag in a MG app, but it doesn't
>> want to play.  Has anyone tried it and got it to work?
>> Here's a few snippets
>> <cffileupload url="#event.linkto(xe.upload)#"
>> title=""
>> extensionfilter=".jpg,.jpeg,.png"
>> width="500"
>> height="300" />
>> If i viewsource i can see upload control gets the correct
>> "index.cfm?event=image.upload", i queue up a file, hit upload i get a green
>> progess bar but the <cflog> tag in my controller function doesn't get fired.
>>  If i manually hit the url in the browser the controller does fire.
>> I'm at a slight loss to know how to debug this as the control is a swf,
>> and doesn't send any output to CF's ajax debugger.  Firebug and LiveHTTP
>> Header plugins for FF don't show me anything either.
>> Any thoughts?
>> Chris
>
> --
> Model-Glue Sites:
> Home Page: http://www.model-glue.com
> Documentation: http://docs.model-glue.com
> Bug Tracker: http://bugs.model-glue.com
> Blog: http://www.model-glue.com/blog
>
> You received this message because you are subscribed to the Google
> Groups "model-glue" 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/model-glue?hl=en
>
> To unsubscribe from this group, send email to
> model-glue+unsubscribegooglegroups.com or reply to this email with the words
> "REMOVE ME" as the subject.
>



-- 
===========================================================================
Raymond Camden, ColdFusion Jedi Master

Email    : [email protected]
Blog      : www.coldfusionjedi.com
AOL IM : cfjedimaster

Keep up to date with the community: http://www.coldfusionbloggers.org

-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" 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/model-glue?hl=en

Reply via email to