Пример #1
0
 private void createPageTitleModel() {
   ptModel =
       new CCPageTitleModel(
           getClass()
               .getClassLoader()
               .getResourceAsStream("com/sun/identity/console/twoBtnsPageTitle.xml"));
   ptModel.setValue("button1", "button.add");
   ptModel.setValue("button2", "button.cancel");
 }
 private void createPageTitleModel() {
   ptModel =
       new CCPageTitleModel(
           getClass()
               .getClassLoader()
               .getResourceAsStream("com/sun/identity/console/threeBtnsPageTitle.xml"));
   ptModel.setValue("button1", "button.save");
   ptModel.setValue("button2", "button.reset");
   ptModel.setValue("button3", getBackButtonLabel());
 }
 protected void createPageTitleModel() {
   ptModel =
       new CCPageTitleModel(
           getClass()
               .getClassLoader()
               .getResourceAsStream("com/sun/identity/console/threeBtnsPageTitle.xml"));
   ptModel.setPageTitleText("saml.profile.trustedPartners.selectType.page.title");
   ptModel.setValue("button1", "button.previous");
   ptModel.setValue("button2", "button.next");
   ptModel.setValue("button3", "button.cancel");
 }