charts.swf is not a controller ... its your web server trying to serve
the html file ... which is looking for charts.swf ...
make sure that id and name are set to charts in the script and
noscript sections ... that worked for me ....
- Nick
On May 10, 9:55 pm, chirag
<patel...-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>
wrote:> I''m deploying a Flash chart using XML/SWF charting package
fromhttp://blogs.tech-recipes.com/johnny/2006/08/29/ruby-on-rails-beautif...
>
> I get the following error
>
> ActionController::RoutingError(no route found to match "/sandbox/
> charts.swf" with {:method=>:get})
>
> when I embed this HTML code
>
> <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
> codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/
> swflash.cab#version=6,0,0,0" WIDTH="400"
HEIGHT="250" id="charts"
> ALIGN="">
> <PARAM NAME=movie VALUE="/charts.swf?library_path=/
> charts_library&xml_source=<
> %=url_for
:action=>"summaryreport",:only_path=>true%>">
> <PARAM NAME=quality VALUE=high>
> <PARAM NAME=bgcolor VALUE=#666666>
> <EMBED
src="/charts.swf?library_path=/charts_library&xml_source=<
> %=url_for
:action=>"summaryreport",:only_path=>true%>"
> quality=high
> bgcolor=#666666
> WIDTH="400"
> HEIGHT="250"
> NAME="charts"
> ALIGN=""
> swLiveConnect="true"
> TYPE="application/x-shockwave-flash"
> PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
> </EMBED>
> </OBJECT>
>
> Any ideas why it thinks charts.swf is a controller?
>
> Thanks!
> Chirag
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---