BOGAERT Mathias wrote:
This works fine as long as you do not have any child objects that need to be
created.


Yeah, I agree this is a problem for now. Hopefully, this will be fixed in the near future. The workaround I usually use is:

public Foo getFoo() {
  if( this.foo == null ) {
    this.foo = new Foo();
  }
  return foo;
}

with copious notes to remove this once we have null support implemented :)

M





-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to