Error in Adding webscript in Alfresco-4.2.f?

cancel
Showing results for 
Search instead for 
Did you mean: 
rajeevsoni
Active Member

Error in Adding webscript in Alfresco-4.2.f?

I am Adding webscript in my alfresco-4.2.f, but when I refresh websript then it gave  me error?

3 Replies
mehe
Senior Member II

Re: Error in Adding webscript in Alfresco-4.2.f?

Probably your web script description file has an error. But you provide too few informations about your script for successfully analysing it.. 

rajeevsoni
Active Member

Re: Error in Adding webscript in Alfresco-4.2.f?

Martin see the script ----

<script type="text/javascript">
new Alfresco.widget.DashletResiz("${args.htmlid}","${instance.object.id}");

var helloWorldDashlet = new Alfresco.dashlet.HelloWorldDashlet("${el}").setOptions(
{
componentId: "${instance.object.id}",
greeting: "${greeting}",
user: "${user}"

});

var helloWorldDashletEvent = new YAHOO.util.CustomEvent("onConfigClick");
helloWorldDashletEvent.subscribe(helloWorldDashlet.onConfigClick, helloWorldDashlet, true);

new Alfresco.widget.DashletTitleBarActions("${args.htmlid}").setOptions(
{

actions:
{
{
cssClass: "edit",
eventOnClick: helloWorldDashletEvent,
tooltip: "${msg("dashlet.edit.tooltip")?js_string}"
},
{
cssClass: "help",
bubbleOnClick:
{
message: "${msg("dashlet.help")?js_string}"
},
tooltip: "${msg("dashlet.help.tooltip")?js_string}
}
}

});
</script>

Error is that -- el expression is not defined.Can you suggest me ---

How to implement it?

rajeevsoni
Active Member

Re: Error in Adding webscript in Alfresco-4.2.f?

I resolved issue.