new HashMap<String, CdfRunJsDashboardWriteResult>();
Dashboard dashboard = this._context.getDashboard();
if(dashboard.getRegularCount() > 0)
{
DashboardManager dashMgr = DashboardManager.getInstance();
CdfRunJsDashboardWriteOptions options = this._context.getOptions();
Iterable<Component> components = dashboard.getRegulars();
for(Component comp : components)
{
if(StringUtils.isNotEmpty(comp.getName()) && comp instanceof WidgetComponent)
{
WidgetComponent widgetComp = (WidgetComponent)comp;
CdfRunJsDashboardWriteOptions childOptions = options
.addAliasPrefix(comp.getName()); // <-- NOTE:!
CdfRunJsDashboardWriteResult dashResult = null;
try
{
dashResult = dashMgr.getDashboardCdfRunJs(
widgetComp.getWcdfPath(),
childOptions,
this._context.isBypassCacheRead());
}
catch (ThingWriteException ex)