Package org.dmrad.view.entity.display

Examples of org.dmrad.view.entity.display.CountryLanguageChoicePanel


      ViewContext countryLanguageViewContext = new ViewContext();
      countryLanguageViewContext.setApp(app);
      countryLanguageViewContext.setPage(page);
      countryLanguageViewContext
          .setWicketId("countryLanguageChoicePanel");
      CountryLanguageChoicePanel countryLanguageChoicePanel = new CountryLanguageChoicePanel(
          countryLanguageModelContext, countryLanguageViewContext);
      add(countryLanguageChoicePanel);
      if (!app.getModelConfig().isI18n()) {
        countryLanguageChoicePanel.setVisible(false);
      }
    } catch (Exception e) {
      log.error("Error in HomePageMenuPanel: " + e.getMessage());
    }
  }
View Full Code Here


        countryLanguageViewContext.setApp(app);
        countryLanguageViewContext.setPage(app.getViewMeta()
            .getHomePage());
        countryLanguageViewContext
            .setWicketId("countryLanguageChoicePanel");
        CountryLanguageChoicePanel countryLanguageChoicePanel = new CountryLanguageChoicePanel(
            countryLanguageModelContext, countryLanguageViewContext);
        add(countryLanguageChoicePanel);
      } else {
        Panel panel = new Panel("countryLanguageChoicePanel");
        add(panel);
View Full Code Here

TOP

Related Classes of org.dmrad.view.entity.display.CountryLanguageChoicePanel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.