Glenn Cadman
2006-Jun-19  02:00 UTC
[Rails] Bug? With image_select_tag processing in controller?
As I wrote in http://www.ruby-forum.com/topic/69600
A) I created a .rhtml
<%= image_submit_tag("excel.gif", :alt => "Download List to
Excel",
:border => 0, :name => ''render_action'', :value =>
''excel'' ) %>
B) This rendered the valid html
<input alt="Download List to Excel" border="0"
name="render_action"
src="/images/sapexcel.gif?1149227900" type="image"
value="excel" />
Thus I would expect the value of params[:render_action] to be set to the 
value of "excel" in the controller defined by the form tag. But the 
parameter render_action is nil.  Thus I think that this is a bug in 
rails processing of forms. What should I do to progress this.?
-- 
Posted via http://www.ruby-forum.com/.
