Hi Marcelo de Moraes Serpa :
Thanks first.
I have resolved it.
I used cake (version 0.10...),when found there was a new cake
version,so I decided to update my cake,but I found such codes in
controller would not work in the new version 1.1:
$userdata=$this-users-read();
I have to use :
Hi leinchu,Why you can´t use? You are being too vague... please, tell us more about your problem, don´t just say I can´t get this working...Marcelo.On 5/27/06,
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I try to update my cake from 0.10.8.2047_rc5 to 1.1.3.2967,Then I found I can't use
Hey y'all,
Just wanted to make a follow-up comment about something that happened
this release. Actually, it's more of a confession: We did it again.
We started adding new features.
One thing people kept asking about was how to update multiple page
elements in a single Ajax request, and up till
One thing in this release is: all of Your helpers has to extend class
'Helper' (or some child of it), or You will fight error messages like:
Fatal error: Call to undefined method TestHelper::afterRender() in
//cake/libs/view/view.php on line 586
Nate, how do you set up the returned information from the ajax-link to fill the two divs?On 5/26/06, nate
[EMAIL PROTECTED] wrote:Hey y'all,Just wanted to make a follow-up comment about something that happened
this release.Actually, it's more of a confession: We did it again.We started adding new
100rk, that's impossible unless you upgraded wrong. The afterRender( )
method is defined in the Helper base class, so as long as your helper
extends it properly, you should have no errors.
--~--~-~--~~~---~--~~
You received this message because you are
@Sam:
Mostly just clever output buffering to capture the content between the
div tags. I implemented a new callback in Helper, which AjaxHelper
uses to write out the content, and then exit. It packages it as a JSON
object, with an extra little snippet of code that gets evaluated on the
client
Thanks nate, but this wasn't my problem - it was issue of 2 people on
IRC today - they has helpers which aren't extend Helper class and after
upgrade to latest release they ends with above errr message.
--~--~-~--~~~---~--~~
You received this message because you
Nate
have you the controller's method going with this ? I'm probably thinking
too quickly but I don't
get how this method will return 2 things at once.
nate wrote:
Hey y'all,
Just wanted to make a follow-up comment about something that happened
this release. Actually, it's more of a
Great work as always :)Keep up the awesome work!Marcelo.On 5/26/06, Olivier percebois-Garve [EMAIL PROTECTED]
wrote:Natehave you the controller's method going with this ? I'm probably thinking
too quickly but I don'tget how this method will return 2 things at once.nate wrote: Hey y'all, Just
@AD7six: Thanks for keeping that up-to-date. Hopefully that'll be less
of a problem when we have the Bakery set up, with a proper peer-review
system.
And thanks for all the time you've put in answering questions on the
list. That helps out a lot.
Olivier,A new release has been announced, download it and the problem should be gone.-- /*** @author Larry E. Masters* @var string $userName* @param string $realName* @returns string aka PhpNut
* @accesspublic*/On 5/26/06, Olivier percebois-Garve [EMAIL PROTECTED] wrote:
Natehave you the
@Olivier: The controller method is empty (so I didn't bother posting
it). I the view just outputs some dummy data as a proof of concept.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to
It's the least I can do; I would prefer to see new features earlier by
taking some of the load of you chaps ;). And I learn from reading the
q's that are out of my current scope ( I cached some of my views for
the first time today).
Cheers,
AD7six
Off topic, chipped in for comment:
There are
Thanks Nut but for once I did not had any problem. Just wondering how
Nate's snippet should be functioning.
Larry E. Masters aka PhpNut wrote:
Olivier,
A new release has been announced, download it and the problem should be
gone.
--
/**
* @author Larry E. Masters
* @var string
I try to update my cake from 0.10.8.2047_rc5 to 1.1.3.2967,
Then I found I can't use $controllername-modelname-findAll,
What can I do ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to
16 matches
Mail list logo