10-24-2011 02:48 PM
if(config.global.server!=null){
model.x = config.script.global.server.children.size;
}
else{
model.x = 1;
}
model.toWho = (args.to != null) ? args.to : person.properties.userName;
var s = new XML(config.script["testando"]);
model.fromWho = person.properties[s.fromproperty];
with this config file(testando.get.config.xml):if(config.global.server!=null){
model.x = config.script.global.server.children.size;
}
else{
model.x = 1;
}
model.toWho = (args.to != null) ? args.to : person.properties.userName;
var s = new XML(config.script["testando"]);
model.fromWho = person.properties[s.fromproperty];
and i'm getting this error:500 Description: An error inside the HTTP server which prevented it from fulfilling the request.
Message: 09240029 Wrapped Exception (with status template): 09240254 Failed to execute script 'classpath*:alfresco/templates/webscripts/teste/testando.get.js': 09240253 str parameter is mandatory
Exception: java.lang.IllegalArgumentException - str parameter is mandatory
10-25-2011 04:12 AM
10-25-2011 09:26 AM
10-28-2011 10:19 AM
<url>/testando?str={something}</url>
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.