@Controller
public class LocalesAndThemesFormController
extends java.lang.Object
| Constructor and Description |
|---|
LocalesAndThemesFormController() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
saveDefaults(java.lang.String theme,
java.lang.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 java.lang.Exception
model - the key value pair that will be accessible from the jsp pagejava.lang.Exception - if there is trouble getting the database changes from liquibase@RequestMapping(method=POST,
value="/admin/maintenance/localesAndThemes")
public java.lang.String saveDefaults(@RequestParam(value="theme")
java.lang.String theme,
@RequestParam(value="locale")
java.lang.String locale)
throws java.lang.Exception
theme - the theme name to savelocale - the locale to save (en, en_GB, es, etc)java.lang.ExceptionCopyright © 2018 OpenMRS Inc.. All Rights Reserved.