Hubert Rabago <[EMAIL PROTECTED]> wrote on 08/06/2005 02:15:20 PM:

> I would think so.  I'm not as familiar with the internals of BeanUtils
> as I'd like to be, but since your form is in request scope, that means
> it'll create a new instance upon submission.  From that, it'll call
> getDependent().  If that returns null, I'm not sure what BeanUtils
> would do.  I'd bet it'd just throw an error, and if I had time I'd
> like to see if I can win that bet.

This is exactly what I have coded...
public DependentVO getDependent() {
   if (dependent == null) {
      dependent = new DependentVO();
   }
   return dependent;
}

It works like a charm... gotta run a demo in 8 minutes...
Damn I hate those close deadlines !

- Glenn

Reply via email to