I gave you an answer as comment.

Am Montag, 27. Januar 2014 16:04:40 UTC+1 schrieb Nilson Pena:
>
> Hi folks,
> I use mPDF and the solution proposed in this excellent post [1]. 
> Everything works well if the action uses GET. Example: 
> /controller/action/2.pdf wil use the view.ctp inside the pdf folder and 
> render the 2.pdf file.
>
> But there are cases that I have to use a form to POST some parameters to 
> do a especific search and return this data to the view. In this case, the 
> /controller/action/2.pdf won't work, once the action only allows POST.
>
> How can I workaround this "issue" and keep using this approach on serving 
> PDF?
>
> Thank You!
>
> Nilson
>
> [1] http://www.dereuromark.de/2011/11/21/serving-views-as-files-in-cake2/
>  

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to