Hi all,

Extending complex trinidad components like table, treeTable is complex job
due to final, private and default access modifier methods in components
renderer and components class.

In UIXTable,

         createCollectionModel is  final method, due to this we can not
associate our own model with table except from backing bean.

Is there any specific reson in making this method final. If u look into
treetable, createCollectionModel  method is protected, we can overide this
method in custom component.


Thanks
Ravindra

On Thu, Apr 10, 2008 at 5:53 AM, Cristi Toth <[EMAIL PROTECTED]> wrote:

> Hi guys,
>
> A lot of Trinidad renderers have some "override useful" methods as private
> or protected final.
> This makes customizing renderers a nasty job.
>
> - first these methods obviously can't be overriden
> - then when trying to override some public/protected methods,
>   it's hard because they use other private methods that you can't use in
> your overriden method
>
> I assume this come from the fact that Trinidad wasn't open-source in its
> origins... or?
> Do we still have reasons to keep it this way?
>
> IMO we could make those protected final "override useful" methods to
> protected
> and the private methods used in those methods, make them protected final.
>
> What's you opinion on this?
>
> Regards,
> --
> Cristi Toth
>
> -------------
> Codebeat
> www.codebeat.ro




-- 
Thanks and Regards
Ravindra Adireddy

Reply via email to