Prince XML
Product  Download  Purchase  Samples  Documentation  Forum  Company
It is currently Thu Sep 09, 2010 12:40 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: How do I pass http get parameters to prince
PostPosted: Tue May 06, 2008 1:43 pm 
Offline

Joined: Tue May 06, 2008 1:32 pm
Posts: 3
hi, i found prince is very useful to me. my project is using ruby on rails, i need to generate some PDF documents based on some rails pages. thanks to http://www.nullislove.com/2007/05/30/ea ... rom-rails/ and http://sublog.subimage.com/articles/200 ... y-on-rails i am able to get PDF now.

my problem is, i need to generate pdf based on some dynamic contents. for ex. i can pass '/report/test' to helper, but i cant pass '/report/test?ok=12345', rails complains template missing, but 12345 is what i want to display in PDF for dynamic contents.

thanks in adv for any hints


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 07, 2008 12:11 am 
Offline

Joined: Tue Jun 07, 2005 11:03 pm
Posts: 2631
Location: Melbourne
It might be worth asking this question on a Rails forum as well, where there are likely to be more people with experience in Rails to answer your question.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group