I can live with the current situation. I'll start screaming (or write my components from scratch) when I really need to override something.
Regards,
Eelco
Martijn Dashorst wrote:
I haven't looked into detail to the Wicket core. However I do think that Jonathan had specific extension points in his mind and a specific way to build components. The use of final is imo the best way to look at that. Every time that final is *NOT* used, is an extension point. I think we should keep this alive to the best of our abilities, until such time we can't find a better way other than removing the final to extend/improve the core framework.
It is not just inconvenience, it is a new way of programming most of us are not used to: defensive programming.
Martijn
-----Oorspronkelijk bericht----- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Eelco Hillenius Verzonden: maandag 22 november 2004 15:50 Aan: [EMAIL PROTECTED] Onderwerp: Re: AW: [Wicket-develop] remove final from Cell
To be honest, I could agree with removing final from all components, even though for some of them subclassing would not be the best use. Just in case people do not agree with the framework builders (that's us here).
Regards,
Eelco
Donnerstag, Juergen wrote:
Wicket is a lot about subclassing Components and thus adding functionality.not do it.
The whole component tree is set-up like that. In order to extend Cell's functionality, it is obvious to extend Cell. In my case I want alternating row colors of html table. I used HtmlTagModifier and AttributeModifier, but the most intuitiv and Wicket-like implementation is to subclass Cell.handleComponentTag(). But because Cell is final, I can
Regards Juergen
-----Urspr�ngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Johan Compagner
Gesendet: Montag, 22. November 2004 12:25
An: [EMAIL PROTECTED]
Betreff: Re: [Wicket-develop] remove final from Cell
To use 'Jonathan's way' Why do you want to override that tag?
Juergen Donnerstag wrote:
I'd like to override Cell.handleComponentTag() in my application. Any objections against removing final from Cell?
regards Juergen
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________
Wicket-develop mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/wicket-develop
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
Wicket-develop mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/wicket-develop
