@Controller public class CustomValueController extends Object
Constructor and Description |
---|
CustomValueController() |
Modifier and Type | Method and Description |
---|---|
void |
downloadCustomValue(javax.servlet.http.HttpServletResponse response,
String handlerClassname,
String datatypeClassname,
String valueReference)
Downloads a custom value
|
String |
viewCustomValue(String handlerClassname,
String datatypeClassname,
String valueReference)
Displays a custom value, as HTML, in its own page.
|
@RequestMapping(method=GET, value="**/viewCustomValue.form") @ResponseBody public String viewCustomValue(@RequestParam(value="handler") String handlerClassname, @RequestParam(value="datatype",required=true) String datatypeClassname, @RequestParam(value="value",required=true) String valueReference) throws IOException
handlerClassname
- datatypeClassname
- valueReference
- IOException
@RequestMapping(method=GET, value="**/downloadCustomValue.form") public void downloadCustomValue(javax.servlet.http.HttpServletResponse response, @RequestParam(value="handler") String handlerClassname, @RequestParam(value="datatype",required=true) String datatypeClassname, @RequestParam(value="value",required=true) String valueReference) throws IOException
response
- handlerClassname
- datatypeClassname
- valueReference
- IOException
Copyright © 2015 OpenMRS Inc.. All rights reserved.