Kad Kerforn
2006-Sep-11 12:40 UTC
Print action to send body content to pdf-writer , which stra
I would like to give the user to execute an :action => ''print'' to get a pdf version of the current content in the displayed page (rendered by an :action =>''list'' I installed pdf-writer and played with it, but I don''t know how to give him the @content he needs... shoudl I re-execute all the list action before rendering ? or use Ajax to get back the content I need in the displayed page before rendering the pdf ? I don''t know which strategy to follows ? help & links appreciated kad -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---