users@woodstock.java.net

Re: What about html renderer in woodstock 4.1?

From: matroska <matroska_at_libero.it>
Date: Tue, 4 Dec 2007 00:21:53 -0800 (PST)

I extracted webui-jsf.jar then change faces-config.xml in META-INF to force
html renderer. In fact if you see into faces-config.xml you will find three
renderer for each component:
-html renderer
-widget renderer
-ajax renderer
All you have to do is to substitute html renderer to widget renderer in this
way:

         <renderer>
            <component-family>com.sun.webui.jsf.TextField</component-family>
           
<renderer-type>com.sun.webui.jsf.widget.TextField</renderer-type>
           
<renderer-class>com.sun.webui.jsf.renderkit.html.TextFieldRenderer</renderer-class>
        </renderer>

than recreate the jar and works..but with problems..in fact it seems that
html renderers aren't updated so you will find error in themes for example.


jsr wrote:
>
> What did you change in the faces-config.xml to allow html rendering?
>
> I'm holding off on upgrading my 5.5.1 project to 6.0 because of the
> performance issues with the client side rendering. If there is some hack
> to enable the old html renderers then I might be able to upgrade and at
> least use the new editor features in 6.0.
>
> Thanks
> Jeff
>
>
> matroska wrote:
>>
>> Hi,
>>
>> I have seen html renderers in woodstock 4.1 source so i have made a
>> little hack in faces-config.xml file to enable it. Is there a better way
>> to use them? Are that renderers deprecated? I also have noticed that the
>> theme is not correctly applied so I ask you if html renderers are
>> mantained or not.
>>
>> Thanks in advance
>> Tobia Loschiavo
>>
>
>

-- 
View this message in context: http://www.nabble.com/What-about-html-renderer-in-woodstock-4.1--tf4935484.html#a14146387
Sent from the Project Woodstock - Users mailing list archive at Nabble.com.