ive just realised my mistake.

I should have been running the form as an element rather than
requestAction as i dont want to return the form data to the calling
action

my bad


On Mar 23, 6:26 pm, Max Granados <[email protected]> wrote:
> Well, I think I don't undestand very well what are you trying to do,
> I use requestAction in an proyect Im working.
>
> $results = $this->requestAction('/diferentController/function/'.
> $parameter);
>
> and in that function I validate and work with the info, as a tip
> requestAction doesn't accept or return arrays without numeric indexes,
> so keep in mind that.
>
> hope this come handly for you.
>
> On Mar 23, 11:55 am, Hoddy <[email protected]> wrote:
>
> > Hi
>
> > version 1.22
>
> > I am trying the run a form using requestAction, however the user input
> > ($this->data) is being returned to the calling action when i submit
> > the form, which is preventing the form validation from running in the
> > requested action.
>
> > I call requestAction like this ..
>
> > $this->requestAction( array('controller'   => $controller,  'action'
> > => $action),
> >                                    array('return')
> >                                 );
>
> > I want the user input to be validated in the requested Action instaed
> > of being returned to the calling action
>
> > Incase you are wondering, I am trying to build a wordpress like
> > application with a central catch all controller for
> > easier routing of non admin pages.
>
> > Many thanks in advance
>
> > chris
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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