Vadim Gritsenko wrote:

Joerg Heinicke wrote:

On 10.05.2004 21:44, Marc Portier wrote:

- re-introduce the getwidget, but make it deprecated
in which case we should decide if the implementation should

[ ] just work
[ ] log a warning and keep on working
[X] fail with some RTE



If we do nothing, I will mostly fail with "undefined value" error, won't I? Deprecation is clear. "just work" gives no hint on deprecation, you never know that it is deprecated. Logging is also no solution IMO as I would need to search the logs for usages. So I prefer the RTE on usages. I can click through my application without any need to look anywhere for messages where I might have forgotten one getWidget().



+1



yep, had the same feeling and did this earlier today. (and thx for fixing my english)

regards,
-marc=
--
Marc Portier                            http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
Read my weblog at                http://blogs.cocoondev.org/mpo/
[EMAIL PROTECTED]                              [EMAIL PROTECTED]

Reply via email to