Not as far as I know. In 1.1 there is no Javascript Component only a
helper.

Tou could just set the script to be executed and then use
JavascriptHelper::codeBlock (see
http://api.cakephp.org/class_javascript_helper.html#a84387898a513956ce9e8f4c60765d96)

Not sure about 1.2 though.

On Jun 5, 12:06 pm, "Herman Vega" <[EMAIL PROTECTED]> wrote:
> Hi all, is possible call from PHP controller to execute any javascript code?
>
> something like:
>
> $obj->addScriptCall("myJSFunction", "arg 1", "arg 2", 12345);
>
> Best regards
>
> --
> Herman  Vega  Jara
> hvegax[a]gmail.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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