@Bean @Named("DemoMobilePreferencesRSView") @View(locations= {"/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/preferences/DemoMobilePreferencesRSView.xml"}, outputFilePath="/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/preferences") @I18n(locations= {"/com/nexitia/emaginplatform/jfx/core/demoapp/desktop/preferences/message.properties"}, dest="/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/preferences") public RootStructureController DemoPreferencesRSView() { RootStructureController p = new RootStructureController(); p.setMessageSource((MessageSource) Services.getBean("PreferencesMessageSource")); p.setModelProvider((IModelProvider) Services.getBean("RootStructureModelLoader")); p.getViewDefinitions().add("/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/preferences/DemoMobilePreferencesRSView.json"); return p; }
@Bean @Named("SearchFiltersInSecondaryRSView") @View(locations= {"/com/nexitia/emaginplatform/jfx/core/demoapp/desktop/search/SearchFiltersInSecondaryRSView.xml"},outputFilePath="/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/search") public RootStructureController searchFiltersInSecondaryRSView() { RootStructureController p = new RootStructureController(); p.setMessageSource((MessageSource) Services.getBean("SearchMessageSource")); p.setModelProvider((IModelProvider) BeanFactory.instance().getBean("RootStructureModelLoader")); p.addViewDefinition("/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/search/SearchFiltersInSecondaryRSView.json"); return p; } }
@Bean @Named("ShowDetailsInSecondaryRSView") @View(locations= {"/com/nexitia/emaginplatform/jfx/core/demoapp/desktop/details/ShowDetailsInSecondaryRSView.xml"}, outputFilePath = "/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/details") @I18n(locations= {"/com/nexitia/emaginplatform/jfx/core/demoapp/desktop/details/message.properties"}, dest="/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/details") public RootStructureController showDetailsInSecondaryRSView() { RootStructureController pmc = new RootStructureController(); pmc.setMessageSource((MessageSource) Services.getBean("DetailsViewMessageSource")); pmc.setModelProvider((IModelProvider) Services.getBean("RootStructureModelLoader")); pmc.addViewDefinition("/com/nexitia/emaginplatform/jfx/core/demoapp/mobile/details/ShowDetailsInSecondaryRSView.json"); return pmc; }