Hello All,
  I have a situation with requstAction() that I am not sure weather it is a
bug or if its behaviour is such.

  I have router rules set in my application

  http://host/search/?q=xyz
  This is routed tot ControllerA action searchDB. inside the method I am
able to access $this->params['url']['a'], which works fine

  In ControllerB action search, I am calling
$this->requestAction('/search/?q=xyz'), now in ControllerA's action searchDB
$this->params['url']['a'] is not set, rather I have to fetch it from
$this->params['url']['url'] which has the values '/search/?q=xyz'. So I
ended up checking for $this->params['requested'] and extracing the url
parameter myself.

  Is this a bug or default behaviour of requsetAction()? that the url is not
parsed and the url variables are not set when called by requestAction()
method?

Regards,
Shashidhar.G

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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