Yes, another view because I need a class called PDF as in "class PDF
extends PDF_MySQL_Table" where MySQL_Table is in /app/venders/fpdf.
Tried moving class PDF to pdf.php in /app/venders/fpdf/ but that
generated a 'not found' error. I think the problem starts because I
put class PDF in one of my views - a view that doesn't need any user
input and it works fine.

Am looking at trying to restructure my existing reports to avoid
having the class PDF in the views but am open to other suggestions.

Thanks Jeremy

Ian

On Feb 16, 10:00 am, Jeremy Burns | Class Outfit
<[email protected]> wrote:
> Do you need to go to another page (by which I presume you mean view)? Could 
> it not be another controller (or model) function? If so, just pass your data 
> as variables in the function. You can then redirect to a 'completed' or 'post 
> action' page afterwards.
>
> Jeremy Burns
> Class Outfit
>
> [email protected]http://www.classoutfit.com
>
> On 16 Feb 2011, at 09:41, Antar wrote:
>
>
>
>
>
>
>
> > Thanks for your suggestion Sanjib. I am looking at it now and I may
> > end up using it but it would mean rewriting some existing reports and
> > I would prefer to avoid that.
>
> > On Feb 15, 5:05 pm, Antar <[email protected]> wrote:
> >> I am using $this->redirect() which explains why I lose the values. Is there
> >> an alternative to $this->redirect()?
>
> > --
> > Our newest site for the community: CakePHP Video 
> > Tutorialshttp://tv.cakephp.org
> > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help 
> > others with their CakePHP related questions.
>
> > To unsubscribe from this group, send email to
> > [email protected] For more options, visit this group 
> > athttp://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to