return "view";
else{ state="view"; } String resourceUrl = iwc.getParameter(ContentViewer.PARAMETER_CONTENT_RESOURCE); if(resourceUrl!=null){ state+="_"+resourceUrl; } return state;
	public String getViewState(FacesContext context) {		IWContext iwc = IWContext.getIWContext(context);		if(ContentUtil.hasContentEditorRoles(iwc)){			return "edit";		}		return "view";	}