public void beginDisplay(DisplayEvent event) throws ModelControlException { super.beginDisplay(event); PolicyModel model = (PolicyModel) getModel(); String i18nName = (String) propertySheetModel.getValue(REFERRAL_TYPE_NAME); String title = model.getLocalizedString("page.title.policy.referral.edit"); String[] param = {i18nName}; ptModel.setPageTitleText(MessageFormat.format(title, (Object[]) param)); }
protected void registerChildren() { super.registerChildren(); registerChild(PGTITLE_TWO_BTNS, CCPageTitle.class); }