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