@Controller public class LocalesAndThemesFormController extends Object
| Constructor and Description |
|---|
LocalesAndThemesFormController() |
| Modifier and Type | Method and Description |
|---|---|
String |
saveDefaults(String theme,
String locale)
Called upon save of the page
|
void |
showPage(org.springframework.ui.ModelMap model)
Called for GET requests only on the databaseChangesInfo page.
|
@RequestMapping(method=GET,
value="/admin/maintenance/localesAndThemes")
public void showPage(org.springframework.ui.ModelMap model)
throws Exception
model - the key value pair that will be accessible from the jsp pageException - if there is trouble getting the database changes from liquibase@RequestMapping(method=POST,
value="/admin/maintenance/localesAndThemes")
public String saveDefaults(@RequestParam(value="theme")
String theme,
@RequestParam(value="locale")
String locale)
throws Exception
theme - the theme name to savelocale - the locale to save (en, en_GB, es, etc)ExceptionCopyright © 2018 OpenMRS LLC.. All Rights Reserved.