Or (element)

From JRapid

(Redirected from Or)
Jump to: navigation, search

The "or" tag <or> is used to group condition and restriction of a subset in order to add extra criteria to the selection of instances. It should be coded directly in the application xml.

Usage:

<or 
    (condition*, and*, or*, restriction*)
/>

Example

  • Grouping conditions and restrictions using the <and> and <or> tags:
<and>
        <condition field="" value="" gt=""/>
	<or>
		<condition field="" value="" isnull="isnull"/>
		<restriction expr="" usedistinct="">
			<param name="" entity="" type="" collection="" value=""/>
		</restriction>
	</or>
	<restriction expr="" usedistinct=""/>
</and>

See also

and

Personal tools