On 6/14/07, francky06l <[EMAIL PROTECTED]> wrote:
>
>
> What you would have to do using this way it to reformat the data into
> the URL of your html->link, but that can be a very long URL.
> You could also show (after displaying the result) a second submit for
> the same form that will call your pdf generation action. Your form
> will be submiitted again and you would have to make the query again.
> The problem with this is if the user type other data into your form,
> the pdf generated can be different than the result displayed.
>
> You could also, use some javascript to change your first submit for
> "pdf download" ...


I'm not sure if I'm missing something here, but what's wrong with setting a
bunch of input hidden fields and a submit button to some controller/action
that generates the PDF?

Regards,
Gonzalo

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to