|
jbpm-form-modeler-api 6.2.0.Beta3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CustomFieldType
Definition interface for custom fields
Method Summary | |
---|---|
String |
getDescription(Locale locale)
This method returns a text definition for the custom type. |
String |
getInputHTML(Object value,
String fieldName,
String namespace,
boolean required,
boolean readonly,
String... params)
This method returns a String that contains the HTML code that will show the input view of the field. |
String |
getShowHTML(Object value,
String fieldName,
String namespace,
boolean required,
boolean readonly,
String... params)
This method returns a string that contains the HTML code that will be used to show the field value. |
Object |
getValue(Map requestParameters,
Map requestFiles,
String fieldName,
String namespace,
Object previousValue,
boolean required,
boolean readonly,
String... params)
This method is used to obtain the field value from the submitted form values. |
Method Detail |
---|
String getDescription(Locale locale)
locale
- The current user locale
String getShowHTML(Object value, String fieldName, String namespace, boolean required, boolean readonly, String... params)
value
- The current field valuefieldName
- The field namenamespace
- The unique id for the rendered form, it should be used to generate identifiers inside the html code.required
- Determines if the field is required or notreadonly
- Determines if the field must be shown on read only modeparams
- A list of configuration params that can be set on the field configuration screen
String getInputHTML(Object value, String fieldName, String namespace, boolean required, boolean readonly, String... params)
value
- The current field valuefieldName
- The field namenamespace
- The unique id for the rendered form, it should be used to generate identifiers inside the html code.required
- Determines if the field is required or notreadonly
- Determines if the field must be shown on read only modeparams
- A list of configuration params that can be set on the field configuration screen
Object getValue(Map requestParameters, Map requestFiles, String fieldName, String namespace, Object previousValue, boolean required, boolean readonly, String... params)
requestParameters
- A Map containing the request parameters for the submitted formrequestFiles
- A Map containing the java.io.Files uploaded on the requestfieldName
- The field namenamespace
- The unique id for the rendered form, it should be used to generate identifiers inside the html code.previousValue
- The previous value of the current fieldrequired
- Determines if the field is required or notreadonly
- Determines if the field must be shown on read only modeparams
- A list of configuration params that can be set on the field configuration screen
|
jbpm-form-modeler-api 6.2.0.Beta3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |