...
Name | Description | Values |
---|
criteriatype (deprecated from R16.2) | The type of the criterion type. | 0.,1.,2,single |
label | The criterion labellabel that will be displayed on the specific criteria input. | Any | extralabel | The criterion extra label. | Any |
tooltip (deprecated from R16.2) | The criterion tool tip. | Any |
hibernatefield (deprecated from R16.2) | The criterion hibernate field. | Any |
entitytablename | The criterion entity table name of the entity. | Any |
entityfieldname | The criterion entity field name of the entity. | Any |
displaytable (deprecated from R16.2) | The criterion display table. | Any |
displaylabel (deprecated from R16.2) | The criterion display label. | Any |
displayfield (deprecated from R16.2) | The criterion display field. | Any |
fieldtype | The criterion field type. Specified only if componentType is inputText | FTXSTRING. FTXINTEGER, FTXFLOAT |
fieldsize (deprecated from R16.2) | The criterion field size. | Any |
sourcealias (deprecated from R16.2) | The criterion source alias. | Any |
displayalias (deprecated from R16.2) | The criterion display alias. | Any |
datasetname (deprecated from R16.2) | The criterion dataset name. | Any |
lookupname (deprecated from R16.2) | The criterion lookup name | treename (deprecated from R16.2) | The criterion tree name. | Any |
multiselect (deprecated from R16.2) | Defines if the criterion can be multi selected. | 0 = No, 1 = Yes |
isMandatory | Defines if the criterion can is mandatory. | 0 = No, 1 = Yes |
componentType | Defines the ui the UI component type | inputText, calendar, selectcheckboxmenu , autocomplete, select |
className | Defines the Java class of the filter objectenity | Any |
managedbeanname | Defines the managed bean that handles the execution of the "method" or "onChangeMethod" | Any |
method | Defines the method that is executed when searching for a specific value | Any |
displayvalue | Defines the filter object value that will show in uibe displayed on the select box | Any |
disableSelectOneMenuEmptyOption | Defines if you want to disable Disables the empty option for a the select box | 0 = No, 1 = Yes |
onChangeMethodName | Defines the Java method that will execute be executed on change of the criterion in uivalue | Any |
Examples
Expand |
---|
title | Criterion with componentType inputText |
---|
|
Code Block |
---|
language | xml |
---|
theme | Eclipse |
---|
title | Criterion |
---|
| <criterion>
<label>key_rewards_participant_age_range</label>
<extralabel>key_rewards_participant_age_range</extralabel>
<entitytablename>EXTRACT(YEAR FROM CURRENT_DATE) - COALESCE(CONTACTINFORMATION</entitytablename>
<entityfieldname>CIYEAROFBIRTH,EXTRACT(YEAR FROM CURRENT_DATE))</entityfieldname>
<fieldtype>ftXInteger</fieldtype>
<componentType>inputText</componentType>
<multiselect>0</multiselect>
<isMandatory>0</isMandatory>
</criterion> |
|
...
For creating your own methods you can make a class that will extends globalReportView extends GenericReportView.java and make your own implementation