select+="when '"+contextId+"' then (select "+selectMap[contextId].titleExpression+" from "+selectMap[contextId].getFullFromClause()+(pRowIdDbField?" where "+selectMap[contextId].idField+" = "+pRowIdDbField:"")+") ";
select+="when '"+contextId+"' then (select "+selectMap[contextId].titleExpression+" from "+selectMap[contextId].getFullFromClause()+(pRowIdDbField?" where "+selectMap[pContextId].getFullIdField()+" = "+pRowIdDbField:"")+") ";
}
select+="else 'Not defined in ContextUtils.getNameSql()!'";