take a look here:

http://matthiaswessendorf.wordpress.com/2008/02/20/extending-trinidads-default-renderers/

On Mon, Mar 16, 2009 at 10:46 PM, Bruno Marti <bruno.ma...@evard.ch> wrote:
>
> I'm trying to define a custom renderer for SelectOneListBox component, but my
> custom class is not called.
> (trinidad-1.0.10). Any ideas?
>
> Here's my faces-config:
>  <render-kit>
>    <render-kit-id>
>      <!-- both are not working
>      org.apache.myfaces.trinidadinternal.core
>      org.apache.myfaces.trinidad.core.desktop
>      -->
>      org.apache.myfaces.trinidad.core.desktop
>    </render-kit-id>
>    <renderer>
>      <component-family>
>        org.apache.myfaces.trinidad.SelectOne
>      </component-family>
>      <renderer-type>
>        org.apache.myfaces.trinidad.Choice
>      </renderer-type>
>      <renderer-class>
>        my.jsf.renderer.MySelectOneListboxRenderer
>      </renderer-class>
>    </renderer>
>  </render-kit>
>
> MySelectOneListboxRenderer.java
> public class MySelectOneListboxRenderer extends SelectOneListboxRenderer
> {
> ...
>
>
> --
> View this message in context: 
> http://www.nabble.com/-Trinidad--How-to-configure-custom-renderer-for-SelectOneListBox-tp22548146p22548146.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

Reply via email to