[Catalyst] Empty pdf file/ using Catalyst::View::PDF::Reuse

2010-03-06 Thread Lupin Deterd
Hi, I'm using View::PDF::Reuse to create/generate pdf, and though it successfully create one but it's empty, following is code/template. -- code -- { $c-stash-{list} = ['one', 'two', 'three', 'four']; $c-stash-{pdf_disposition} = 'attachment'; $c-stash-{pdf_filename}=

Re: [Catalyst] Best practices: XML output from static XML

2010-03-06 Thread David
Exactly, as there is a little bit of application logic, so I need this process. Thanks for the solution Jay. I'll go for it. Just one last question. When you talk about using 'lib/MyApp/View/MyView.pm', you mean that is also correct to create a simple perl Module for your view. Then implement

Re: [Catalyst] Best practices: XML output from static XML

2010-03-06 Thread J. Shirley
On Sat, Mar 6, 2010 at 6:17 AM, David oldskif...@yahoo.es wrote: Exactly, as there is a little bit of application logic, so I need this process. Thanks for the solution Jay. I'll go for it. Just one last question. When you talk about using 'lib/MyApp/View/MyView.pm', you mean that is also

Re: [Catalyst] Which C::View::PDF should I use?

2010-03-06 Thread Bill Moseley
On Friday, March 5, 2010, Charlie Garrison garri...@zeta.org.au wrote: Good afternoon, Thanks, that was a good intro. It looks like I could almost get away with a simple LaTeX table for the form. But I can see myself getting bogged down by the details; I think latex is going to be too hard

Re: [Catalyst] Best practices: XML output from static XML

2010-03-06 Thread Bill Moseley
On Sat, Mar 6, 2010 at 6:34 AM, J. Shirley jshir...@gmail.com wrote: Just one last question. When you talk about using 'lib/MyApp/View/MyView.pm', you mean that is also correct to create a simple perl Module for your view. Then implement process method in the View.pm and forward the

Re: [Catalyst] Best practices: XML output from static XML

2010-03-06 Thread J. Shirley
On Sat, Mar 6, 2010 at 8:25 AM, Bill Moseley mose...@hank.org wrote: On Sat, Mar 6, 2010 at 6:34 AM, J. Shirley jshir...@gmail.com wrote: Just one last question. When you talk about using 'lib/MyApp/View/MyView.pm', you mean that is also correct to create a simple perl Module for your

Re: [Catalyst] Best practices: XML output from static XML

2010-03-06 Thread Bill Moseley
On Sat, Mar 6, 2010 at 12:59 PM, J. Shirley jshir...@gmail.com wrote: I don't think the path taken with Catalyst::Action::REST is the best, but it does work very very well in my opinion and I certainly can't think of anything better. Being able to send to a serialization method based on the

Re: [Catalyst] Best practices: XML output from static XML

2010-03-06 Thread J. Shirley
On Sat, Mar 6, 2010 at 2:20 PM, Bill Moseley mose...@hank.org wrote: On Sat, Mar 6, 2010 at 12:59 PM, J. Shirley jshir...@gmail.com wrote: I don't think the path taken with Catalyst::Action::REST is the best, but it does work very very well in my opinion and I certainly can't think of

Re: [Catalyst] Which C::View::PDF should I use?

2010-03-06 Thread Charlie Garrison
Good morning, On 6/03/10 at 6:58 AM -0800, Bill Moseley mose...@hank.org wrote: Thanks, that was a good intro. It looks like I could almost get away with a simple LaTeX table for the form. But I can see myself getting bogged down by the details; I think latex is going to be too hard for this