But when I'm trying to programming the javascript, "alert is not defined, window is not defined" and I see in the tutorials that I have to made models and widgets. I can't programming the javascript like a normal javascript ? Where I access more information about this javascript ? I can't programming this.
Alfresco support two kinds of Javascript. * Client Side javascript = which runs in the browser. * Server side javascript = Which runs in the Server - tomcat
All the webscript Javascripts like .get.js, *.post.js runs in the Serverside and some of functionalities are limited here. For Ex: You can't alert, window kinds of statements. Mostly all the webs
If the javascript ends with .js or -min.js and will run within the browser and these javascript files will be reside in webapps\share\components directory and few presents in the webapps\share\modules directory also.