cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Adding webscript in Alfresco-4.2.f?

rajeevsoni
Champ on-the-rise
Champ on-the-rise

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

3 REPLIES 3

mehe
Elite Collaborator
Elite Collaborator

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

rajeevsoni
Champ on-the-rise
Champ on-the-rise

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?

I resolved issue.