Taglib documentation for tag mak:matchMode#
Description#
Creates a match-mode input
.
Attributes#
Name | Required | Runtime expression | Description | Comments |
---|---|---|---|---|
type | false | false | HTML input type to be used:
.
![]() |
Defaults to 'select'.
.![]() |
matchModes | 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.
.![]() |
default | false | false | The default match-mode to be selected when the form is first loaded.
.![]() |
See 'matchModes' for allowed values
.![]() |
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)
.![]() |
labelSeparator (from mak:input) |
false | true | The string that separates the tickbox (radio/check) from the label. Default is " " (space). The output will be < tick >< labelSeparator >< label >
.![]() |
Only for type="tickbox"
.![]() |
elementSeparator (from mak:input) |
false | true | The string that separates the different options. Default is " " (space). The output will be < [x] label >< elementSeparator >< [x] label >
.![]() |
Only for type="tickbox"
.![]() |
See also#
mak:searchForm, mak:resultList, mak:criterion, mak:searchField
Examples#
<mak:searchForm in="company.Employee" name="searchEmployee"> <mak:criterion fields="name"> <mak:matchMode matchModes="contains, equals, begins, ends"/> <mak:searchField /> </mak:criterion> </mak:searchForm>
