protected String getBreadCrumbDisplayName() {
   PolicyModel model = (PolicyModel) getModel();
   String origName = (String) getPageSessionAttribute(EDIT_REFERRAL_NAME);
   String[] arg = {origName};
   return MessageFormat.format(
       model.getLocalizedString("breadcrumbs.editReferral"), (Object[]) arg);
 }
  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));
  }