request.setAttribute("result", publication); request.setAttribute("resultPublicationType", ResultPublicationType .getTypeFromPublication(publication));
request.setAttribute("result", publication); if (publication instanceof Unstructured) request.setAttribute("resultPublicationType", "Unstructured"); else request.setAttribute("resultPublicationType", ResultPublicationType .getTypeFromPublication(publication));
    private void setRequestAttributes(HttpServletRequest request, ResultPublication publication) {	request.setAttribute("result", publication);	request.setAttribute("resultPublicationType", ResultPublicationType		.getTypeFromPublication(publication));	if (publication.getIsPossibleSelectPersonRole()) {	    request.setAttribute("participationsSchema", "resultParticipation.full");	}    }