Hi Rick, I actually think I found a bug in mongrel, see a couple of emails back. I would be really interested in your feedback?
Thanks, Carl. On 10/20/06, Rick Olson <[EMAIL PROTECTED]> wrote: > On 10/19/06, Zed A. Shaw <[EMAIL PROTECTED]> wrote: > > On Fri, 20 Oct 2006 08:24:13 +1000 > > "Carl Woodward" <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > > > I'm trying to write a file upload monitor for mongrel that uses > > > juggernaut to alert the browser of a change. I'm writing a plugin that > > > uses Mongrel::HttpHandlerPlugin but it looks like the only method that > > > gets called is process and that is only when the upload has finished. > > > I'm setting the following: > > > > > > @request_notify = true > > > > > > But I am still only getting process to come through. > > > > > > Any ideas? > > > > Did you check out the existing mongrel_upload_progress code works? I'd > > base your work on that before striking out on your own. > > It should work just fine. You just need to write a custom action to > return the status for juggernaut though. I'm not sure how you prefer > to do that. The MUP example in the docs show a rails action to return > custom javascript code for an iframe... > > -- > Rick Olson > http://weblog.techno-weenie.net > http://mephistoblog.com > _______________________________________________ > Mongrel-users mailing list > [email protected] > http://rubyforge.org/mailman/listinfo/mongrel-users > -- Carl Woodward 0412218979 [EMAIL PROTECTED] _______________________________________________ Mongrel-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/mongrel-users
