Re: [shale] Commons Validation support

2006-02-23 Thread Craig McClanahan
On 2/23/06, Hubert Rabago <[EMAIL PROTECTED]> wrote: > > A teammate of mine was looking at Shale's support for Commons > Validator, and I noticed that the validation parameters are specified > as tag attributes: > > type="floatRange" > min="10" > max="1000" > arg="#{messages['promp

Re: [shale] Commons Validation support

2006-02-23 Thread Hubert Rabago
I suppose I should clarify that I tried this out last night and it worked for me. To make it work, I had to cheat with the ValidatorTag subclass and move the call to createValidator() from the doStartTag() to the doEndTag(), by overriding doStartTag() to do nothing, and calling super.doStartTag()