myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mamallan Uthaman <mamallan.utha...@oracle.com>
Subject Re: [TRINIDAD] Family and component type for SelectRangeChoiceRenderer
Date Tue, 24 Nov 2009 18:46:43 GMT
Hi Carsten,

Please try below for selectRangeChoicebar:
component-family = org.apache.myfaces.trinidad.SelectRange
renderer-type = org.apache.myfaces.trinidad.ChoiceBar

Thanks
Mamallan

Carsten Pieper wrote:
> Hello,
>
> we want to overwrite Trinidad's default SelectRangeChoiceRenderer. We
> already  do this with other renderer. We have a class ExtendedCoreRenderKit
> extends CoreRenderKit. In the constructor we are 
> calling the RenderKitBase's addRenderer(String family, String rendererType,
> Renderer renderer)
>
> Example:
>     addRenderer("org.apache.myfaces.trinidad.Tree",
>         "org.apache.myfaces.trinidad.Tree", new TreeRenderer());
>
> Everything's working fine so far, but I can't seem to find the right family
> and rendererType for the 
> SelectRangeChoice (the "pager" to navigate through huge tables...).
>
> This is what I considered my best guess:
>
>     addRenderer("org.apache.myfaces.trinidad.SelectRange",
>         "org.apache.myfaces.trinidad.CoreSelectRangeChoiceBar", 
>         new MySelectRangeChoiceBarRenderer());
>
> Only it doesn't seem to be good enough. I always get Trinidad's default
> renderer.
> No exception thrown or anything which leaves me quite clueless.
>
> If anyone knows the right parameters, please let me know.
> Thanks a lot, Carsten
>   

Mime
View raw message