String source = (String) subject.get("source");
Source so = (Source)subject.get("source"); String source = so.getId();
	public String getI2miSubjectTemplateName(Object object, String view,			ResourceBundle mediaResources, HttpServletRequest request) {		SubjectAsMap subject = (SubjectAsMap) object;		String tName = null;		String source = (String) subject.get("source");		String subjectType = (String) subject.get("subjectType");		tName = getResource(mediaResources, source + ".subjectType."				+ subjectType + ".view." + view);		if (tName == null) {			tName = getResource(mediaResources, source + ".subjectType."					+ subjectType + ".view.default");		}		if (tName == null) {			tName = getResource(mediaResources, source + ".view." + view);		}		if (tName == null) {			tName = getResource(mediaResources, source + ".view.default");		}		if (tName == null || tName.equals("*")) {//ignore Source			tName = getResource(mediaResources, "subjectType." + subjectType					+ ".view." + view);		}		if (tName == null || tName.equals("*")) {//use default for type			tName = getResource(mediaResources, "subjectType." + subjectType					+ ".view.default");		}		if (tName == null || tName.equals("*")) {//Ignore type			tName = getResource(mediaResources, "subject.view." + view);		}		if (tName == null) {			tName = getResource(mediaResources, "subject.view.default");		}		return tName;	}