Got the HTML to look correct:
${!defaultpramsObj.dashboardflag?'ncrsubarealist':'ncrdashboardsubarealist'}
But the class value is the entire
string(Attributes value in development tool):
${!defaultpramsObj.dashboardflag?'ncrsubarealist':'ncrdashboardsubarealist'}
Why isn't it deducing the condition?