Skip to end of banner
Go to start of banner

Report Criterion

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

Report Criterion

This tag is used to define a report criterion.

Attributes

NameDescriptionValues
criteriatype (deprecated from R16.2)The criterion type.0.1.2
labelThe criterion label.Any
extralabelThe criterion extra label.Any
tooltip (deprecated from R16.2)The criterion tool tip.Any
hibernatefield (deprecated)The criterion hibernate field.Any
entitytablenameThe criterion entity table name.Any
entityfieldnameThe criterion entity field name.Any
displaytable (deprecated)The criterion display table.Any
displaylabel (deprecated)The criterion display label.Any
displayfield (deprecated)The criterion display field.Any
fieldtypeThe criterion field type. Specified only if componentType is inputTextFTXSTRING. FTXINTEGER, FTXFLOAT
fieldsize (deprecated)The criterion field size.Any
sourcealias (deprecated)The criterion source alias.Any
displayalias (deprecated)The criterion display alias.Any
datasetname (deprecated)The criterion dataset name.Any
lookupname (deprecated)The criterion lookup name.Any
treename (deprecated)The criterion tree name.Any
multiselect (deprecated)Defines if the criterion can be multi selected.0 = No, 1 = Yes
isMandatoryDefines if the criterion can is mandatory.0 = No, 1 = Yes
componentTypeDefines the ui component typeinputText, calendar, selectcheckboxmenu , autocomplete
classNameDefines the class of the filter objectAny
managedbeannameDefines the bean that handles the execution of "method" or "onChangeMethod"Any
methodDefines the method that executed when searching for a specific valueAny
displayvalueDefines the filter object value that will show in uiAny
disableSelectOneMenuEmptyOptionDefines if you want to disable empty option for a select box0 = No, 1 = Yes
onChangeMethodNameDefines the method that will execute on change of the criterion in uiAny


Examples 

 Criterion with componentType inputText
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> 
 Criterion with componentType calendar
Criterion
<criterion>
	<label>key_termination_date</label>
	<extralabel>key_termination_date</extralabel>
	<entitytablename>REWARDPARTICIPANTS</entitytablename>
	<entityfieldname>REWPARTTERMINATIONDATE</entityfieldname>
	<componentType>calendar</componentType>
	<isMandatory>0</isMandatory>
</criterion>
 Criterion with componentType inputText
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> 
 Criterion with componentType inputText
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> 
  • No labels