Hi,

I think it would be a good idea to add meaningful toString() methods
in some places.
Some ideas:
  CompoundPropertyModel
  ...
  and possibly all other models.

The current output does not say much, example:
      [EMAIL PROTECTED]
as it is just derived from Object.

What I would love would be sth like [CompoundPropertyModel]

public String toString() {
  StringBuffer sb = new StringBuffer();
  sb.append("CompoundPropertyMode");
  sb.append(":nestedModel=").append(getNestedModel());
  //sb.append(":otherProperty=").append(getOtherProperty());
  return sb.toString();
}

If all/most objects carrying user data define it - life will be much
easier for learners/debuggers.
Can it be added soon?

Darek


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to