Re: Conditional validation in T4?

2007-12-21 Thread Drew McAuliffe
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.

Conditional validation in T4?

2007-12-20 Thread Drew McAuliffe
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 "

Re: Tapestry prop: suggestion (or question)

2007-04-06 Thread Drew McAuliffe
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