ther approach would be to encapsulate the interrelated controls in a
> component to be validated as a group. I think there's an example of
> this in Kent Tong's book.
>
> -Steve
>
> Drew McAuliffe wrote:
> > I'm running into a problem with validators in T4.
I'm running into a problem with validators in T4. I have a situation where I
sometimes need to validate a field on a form, but only if another field on
the same form has a certain set of values. For example, a "ship quantity"
field on an order form is only required if the order delivery method is
"
You can also do what I did and just contribute a brand new expression
evaluator:
public class NullSafeExpressionEvaluator extends ExpressionEvaluatorImpl
{
private static Logger log = Logger.getLogger(
NullSafeExpressionEvaluator.class);
private static final String START_BRACKET = "{";
pr