makumba hackers: this page is generated, don't edit it! Instead edit the text in the included pages.

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:
  • "select" (drop-down)
  • "radio" (radio buttons)
.
Defaults to 'select'.
.
matchModes false false
Defines how the search terms shall be matched. Allowed values depend on the data types:
  • for string matches, i.e. char and text: 'contains', 'equals', 'begins', 'ends'
  • for range matches, i.e. int, real and date: 'between', 'betweenInclusive'
  • for number comparisons, i.e. int and real: 'equals', 'lessThan', 'greaterThan'
  • for date comparisons: 'equals', 'before', 'after'
.
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>
.

Category Documentation


Add Comment
« This page was last updated on August 1 2010