コード例 #1
0
  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));
  }
コード例 #2
0
 protected void registerChildren() {
   super.registerChildren();
   registerChild(PGTITLE_TWO_BTNS, CCPageTitle.class);
 }