Rob van Maris wrote:> > Extending the query framework with new constraint-type is quite > straightforward: > > 1 - Define a new interface, subclassing an appropriate existing > Constraint interface (FieldConstraint in this case). > Do not add methods to the existing interfaces, since these represent > constrainttypes that are supported by all SQL databases. > StringSearchConstraint provides an example of a non-standard > constrainttype.
In that case my code is useless, because I simply added an extra operator to FieldCompareConstraint. I can be of no help to grant this wish then, since I too would have to start from scratch. Btw, how are we going to subtain non-standard constraint-types through the bridge/taglib? Support for current StringSearchConstraint is lacking now, especially because I have no database one which to try it. So, perhaps you or Kees can implement it then. Michiel -- Michiel Meeuwissen mihxil' Mediacentrum 140 H'sum [] () +31 (0)35 6772979 nl_NL eo_XX en_US
