Hi,

I was wondering whether it's possible to set or define a default value
for an object that is @Persist'd?

e.g something equivalent to:

public Object getPersistedObject() {

  if (object == null) {
      object = new Object();
      object.setSomeValues(...);
  }
  return object;
}

Obviously I can provide my own wrapper method(s) akin to the above for
accessing anything that's @Persist'd, just wondering whether there was
anything built into T5?

Thanks Richard.




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to