Forums / Extensions / ezjscore how to call the run function from javascript

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

ezjscore how to call the run function from javascript

Author Message

Torstein Viddal

Friday 08 October 2010 1:15:46 am

Hi. I have sucessfully created my own ezjscore ajax functions using call /<my-class>::<myfunciton>.

My problem is that i would like to be able to use the run/content/view/full/nodeid part from javascript, but i am not sure how i would do this. i use jquery $.ez('mycalling'),'',function(data){ /*handleincoming data*/ }

Could someone help me out with the syntax so i can use the run function from ezjscore, or if that is not possible, allow me to return the content/view/full template.

If possible i would prefer not creating my own function to do this as it works when running ezjscore/run/content/view/full

André R.

Friday 08 October 2010 7:53:51 am

Something like

jQuery.get(jQuery.ez.url + 'run/content/view/full/'+ nodeId, function(data){} );

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom