Re: Problem with zend anx ajax [message #171408 is a reply to message #171405] |
Sun, 02 January 2011 02:35 |
Thomas 'PointedEars'
Messages: 701 Registered: October 2010
Karma:
|
Senior Member |
|
|
Sarah wrote:
> […]
> in my controller
>
> public function recallwsAction()
> {
> if ($this->getRequest()->isPost())
> {
>
> $data = $this->getRequest()->getPost();
> $this->callws($data['year']);
> exit;
> }
> }
>
> But I think that app never goes in this action ....
You *think* you know, or do you *actually* know? How about debugging your
code before posting?
> where is it my error?
You have not debugged, and you are not posting the URL that should cause it
to be called or tell anything of the surrounding circumstances that are
necessary to help you.
And I am sorry to say that based on your postings, here and in
comp.lang.javascript, and your ongoing blindly throwing in frameworks
without getting the basics right first, you are not quite ready for Zend
Framework and its rather complex, MVC-based approach.
Try building simpler things first, *a lot* simpler ones to be sure (and
don't start with frameworks, they keep you from learning how things work).
Rome wasn't built in a day.
Your code style, at least that on Usenet, is a god-awful mess, too. Please
get some tutorial on code style, or a better newsreader that does no include
all those extra spaces and newlines for a start. TIA from my eyes.
PointedEars
--
Danny Goodman's books are out of date and teach practices that are
positively harmful for cross-browser scripting.
-- Richard Cornford, cljs, <cife6q$253$1$8300dec7(at)news(dot)demon(dot)co(dot)uk> (2004)
|
|
|