06-10-2009 02:54 AM
10-29-2009 11:27 AM
var bindArgs = {
url: "www.myRedmine.com/myAction/attribut1=va … t2=valueee…",
method: "post",
mimetype: "text/html",
load: function(type,data,evt) {
//Callback script executed after the AJAX call
}
};
dojo.io.bind(bindArgs);
10-30-2009 06:51 AM
A system error happened during the operation: 09300013 Failed to execute script 'workspace://SpacesStore/5f401a17-af9d-448a-a13a-ef31ce3b426c': 09300012 ReferenceError: "dojo" is not defined. (workspace://SpacesStore/5f401a17-af9d-448a-a13a-ef31ce3b426c#9)
10-30-2009 07:06 AM
Utils.writeDojoScripts(FacesContext context, ResponseWriter out);And I got this error:
A system error happened during the operation: 09300020 Failed to execute script 'workspace://SpacesStore/5f401a17-af9d-448a-a13a-ef31ce3b426c': missing ) after argument list (workspace://SpacesStore/5f401a17-af9d-448a-a13a-ef31ce3b426c#9)
10-30-2009 07:21 AM
<script type="text/javascript" src="/alfresco/scripts/ajax/dojo/dojo.js"
djConfig="parseOnLoad: true"></script>
<script type="text/javascript">
dojo.require("dojo.io.*");
</script>
10-30-2009 09:15 AM
11-02-2009 02:21 AM
11-02-2009 11:55 AM
11-03-2009 02:23 AM
11-03-2009 02:54 AM
If you are makin the AJAX request from a script executed with a rule I think you will need to find from which JSP is being your rule / script executed and add the dojo load code in the <head> element.But I don't know or I can not find where are those JSP files. For instance I created a script call Transform&delete.js in alfresco but I don't find any file called like that. do you have an idea?
11-03-2009 03:44 AM
//load Dojo (after the page's onload event has already occurred)
djConfig = {afterOnLoad : true, require:['dojo.date','dojo.cookie']};
var e = document.createElement("script");
e.type = "text/javascript";
e.src= "/alfresco/scripts/ajax/dojo/dojo.js";
document.getElementsByTagName("head")[0].appendChild(e);
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.