-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Howard Lewis Ship wrote:
| The method initialize() is invoked from AbstractPage's default (no
| arguments) constructor.
|
| This is truly problematic.  It dates back to an earlier time in
| Tapestry's life, before runtime code generation took care of
| initializing and re-initializing properties.
|
| It causes a major headache for me ... it means that you can't easily
| mock a page the way you can mock an component (using EasyMock and the
| EasyMock class extension).  EasyMock trips over the initialize() call
| from the default constructor.  This actually happened to me when I was
| trying to demonstrate EasyMock and testing for Tapestry at a client.
|
| I would like to eliminate this method now, rather than wait for 4.1 (I
| marked it as deprecated sometime during 4.0). Doing so will allow us
| to document the proper Tapestry testing story for pages, not just
| components.
|
A definite +1 (non-binding) to this one as it's been the source of
problems on the user's list as well.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)

iD8DBQFC6BXeaCoPKRow/gARAikKAKCZno7fciQ1XLRE6N8oZ+pVJUMOZwCeJ4DW
6sZkvWw5pGJIAaCkunwAqKc=
=5Fm1
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to