Taglib documentation for tag mak:criterion#
Description#
Adds a search criterion to the form. This does not create any inputs, but should be used in combination with <mak:searchField>
.
Attributes#
Name | Required | Runtime expression | Description | Comments |
---|---|---|---|---|
fields | true | false | The MDD fields to apply this criterion upon
.![]() |
Mandatory; for multiple fields, provide a comma-separated list.
.![]() |
isRange | false | false | Toggles range searching on the field(s)
.![]() |
Values are true or false; defaults to false.
.![]() |
matchMode | false | false | Defines how the search terms shall be matched. Allowed values depend on the data types:
.
![]() |
Defaults to 'equals' for string, number and date comparisons, and 'betweenInclusive' for range comparisons.
.![]() |
id (from mak:list) |
false | false | Tag's identifier
.![]() |
Can be used to distinguish otherwise identical tags on a page (to avoid confusion by Makumba's JSP analyser)
.![]() |
See also#
mak:searchForm, mak:resultList, mak:matchMode, mak:searchField
Examples#
<mak:searchForm in="company.Employee" name="searchEmployee"> <mak:criterion fields="name"> ... </mak:criterion> </mak:searchForm>
