I am Adding webscript in my alfresco-4.2.f, but when I refresh websript then it gave me error?
Probably your web script description file has an error. But you provide too few informations about your script for successfully analysing it..
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.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.