I understand why StringBuffer.append returns this, but I would expect
from MarkupContainer.add to return reference to added object. When
StringBuffer.append.append.append is used, the content is chained into
single object, while MarkupContainer.add.add.add would add a child to
container.
It would also allow to write something like this:
add(new MyPanel("panel02")).setVisible(false);
Am I wrong here? Most likely I am ;-)
Michael.
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user