protected void popUpErrorMessage(String summaryMsg, String detailMsg, int step) { MessageBean mb = new MessageBean(); Resources r = new Resources(); mb.setSummary(r.getString(this, summaryMsg)); mb.setDetail(r.getString(this, detailMsg)); mb.setSeverity(FacesMessage.SEVERITY_ERROR); Effect e = new InputFieldErrorEffect(); getSamlV2HostedIdpCreateWizardBean().setSamlV2HostedCreateEntityInputEffect(e); getMessagesBean().addMessageBean(mb); }
public String getTitle() { Resources r = new Resources(); String title = r.getString(this, "title"); if (title == null) { title = r.getString(this, "title." + getName()); } if (title == null) { title = getName(); } return title; }
@Override public String getTitle() { Resources r = new Resources(); String title; title = r.getString(this, getName() + ".title"); if (title == null) { title = getName(); } return title; }
public String getLabel() { Resources r = new Resources(); String label = r.getString(this, "label"); return label; }