06-29-2015 06:59 AM
onReady: function DLTB_onReady()
{
[…]
this.widgets.exportToCSV = Alfresco.util.createYUIButton(this, "exportToCSV-button", this.onExportToCSV,
{
disabled: true,
title: this.msg("button.exportToCSV")
});
this.dynamicControls.push(this.widgets.exportToCSV);
[…]
}
onExportToCSV: function DLTB_onExportToCSV(e, p_obj)
{
Alfresco.util.PopupManager.displayMessage(
{
text: this.msg("Export Button Clicked", "Export Button Clicked")
});
},
<div class="hideable toolbar-hidden DocListTree">
<div class="export-To-CSV">
<span id="${id}-exportToCSV-button" class="yui-button yui-push-button">
<span class="first-child">
<button name="exportToCSV">${msg("button.export_ToCSV")}</button>
</span>
</span>
</div>
</div>
09-29-2015 07:59 AM
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.