@Controller public class SettingsController extends Object
Modifier and Type | Field and Description |
---|---|
protected org.directwebremoting.util.Logger |
log |
static String |
SECTIONS |
static String |
SETTINGS_FORM |
static String |
SETTINGS_PATH |
static String |
SHOW |
Constructor and Description |
---|
SettingsController() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getSections() |
List<SettingsProperty> |
getSettings(String section) |
SettingsForm |
getSettingsForm(String show) |
void |
showSettings() |
void |
updateSettings(SettingsForm settingsForm,
org.springframework.validation.Errors errors,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpSession session) |
protected final org.directwebremoting.util.Logger log
public static final String SETTINGS_PATH
public static final String SETTINGS_FORM
public static final String SHOW
public static final String SECTIONS
@RequestMapping(value="/admin/maintenance/settings", method=GET) public void showSettings()
@RequestMapping(value="/admin/maintenance/settings", method=POST) public void updateSettings(@ModelAttribute(value="settingsForm") SettingsForm settingsForm, org.springframework.validation.Errors errors, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpSession session)
@ModelAttribute(value="settingsForm") public SettingsForm getSettingsForm(@RequestParam(value="show",required=false) String show)
public List<SettingsProperty> getSettings(String section)
Copyright © 2015 OpenMRS Inc.. All rights reserved.