Simon Kitching wrote:
Hi Steve,
I had a thought yesterday: if you want to trap cases where match returns no elements, then you can write a custom Rules class which delegates to RulesBase (or whichever), but has a custom match() rule which checks for empty lists being returned from the "real" Rules object. Hope this helps...
Yes, of course, problem solved, I should think :)
i think that WithDefaultsRuleWrapper already does exactly this. you might need to build from CVS HEAD or grab a recently nightly since i suspect that it was created after the last release.
- robert
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
