Displaying 1 result from an estimated 1 matches for "list_excel".
2006 Jun 16
2
image_select_tag with name and value
...quot;
src="/images/sapexcel.gif?1149227900" type="image" value="excel" />
BUT my controller doesnt pick up the value of params[:render_action] ?
if params[:render_action].nil?
render
else
mytext = render_to_string(:action => ''list_excel'', :layout =>
false)
send_data mytext, :type => ''application/vnd.ms-excel'',
:disposition => ''inline''
end
It works if I create a standard check box tag
Download Results to Excel:<%= check_box_tag ("render_action",
value...