function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
dipu2dipu2 

Spring 12 JavaScript Remoting still requires the controller function to be global

JavaScript Remoting still requires the controller function to be global in a managed package.

I thoiught in Spring 12 this restriction would be removed. 

cwall_sfdccwall_sfdc

Global is not required, but public remoted methods are conditionally allowed.  See "Declaring a Remote Method" section in the docs:

 

http://www.salesforce.com/us/developer/docs/pages/Content/pages_js_remoting.htm