TECTED]
> http://www.bluetube.com/bti
-Original Message-
From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of AD7six
Sent: Tuesday, December 05, 2006 3:18 AM
To: Cake PHP
Subject: Re: Rendering a view for ajax and non ajax
Hi Grant,
You should not be calling render in
Hi Grant,
You should not be calling render in your view. To make reusable bits of
code, you /should/ make use of elements. I don´t quite follow what you
mean about multiple calls to renderElement, surely the element in this
context would contain either the form or the table, so at most there
woul
ps.com [mailto:[EMAIL PROTECTED] On Behalf Of AD7six
Sent: Monday, December 04, 2006 3:17 AM
To: Cake PHP
Subject: Re: Rendering a view for ajax and non ajax
Hi Grant,
It's probably wise to take a step back and look at your code with an eye on
what methods you should be using. You shoul
Hi Grant,
It's probably wise to take a step back and look at your code with an
eye on what methods you should be using. You should not be calling
render in your view, or was that typo? Your message implies that you
have table_contents.thtml and table_content.thtml, but I can´t really
make out wh
Hi guys,
I have a view where I need to render the same content when its an ajax
call another time when its first page render. I don't want a duplicate
of the table_contents.thtml file even if its uses elements to create
itself. So in the table_content.html view file has :
$this->render("table