Hi

Yes, the demo fails. It seems that something changes on
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.LabelAndMessageRenderer
class, and "table" tags are added to surrounding labeled components (this
should not happen) , so the final result is that invalid html is generated.

regards

Leonardo Uribe

On Wed, Apr 15, 2009 at 7:17 PM, Glauco P. Gomes
<glaucopgo...@yahoo.com.br>wrote:

>  Hi Leonardo,
>
> I replaced the render-kit in the faces-config as you suggested, but the
> problem remains, so, I downloaded the trinidad-sandbox-demo (1.2.10-snapshot
> and 1.2.11-snapshot) and installed in Tomcat 6.0.14 and the tableFormLayout
> really not functioning as expected, could you test the demo and confirm?
>
> I attached a screenshot of the demo page.
>
> Glauco P. Gomes
>
> Leonardo Uribe escreveu:
>
> Hi
>
> Trinidad sandbox has its own renderkit, because there is no way to add
> custom renderers for components not registered before to trinidad base
> renderkits, so you need to point it properly on your faces-config.xml:
>
>   <application>
>     <!-- Use the Trinidad RenderKit -->
>
> <default-render-kit-id>org.apache.myfaces.trinidadinternal.sandbox.core</default-render-kit-id>
>   </application>
>
> regards
>
> Leonardo Uribe
>
> On Mon, Apr 13, 2009 at 8:07 PM, Glauco P. Gomes <
> glaucopgo...@yahoo.com.br> wrote:
>
>> When I put a trs:tableFormLayout in my page, its content is rendered with
>> only one column with the labels above the inputs, and the log shows:
>>
>> 2009-04-13 21:43:06,351 WARN
>> [org.apache.myfaces.renderkit.html.HtmlRenderKitImpl] - Unsupported
>> component-family/renderer-type:
>> org.apache.myfaces.trinidad.Panel/org.apache.myfaces.trinidad.TableLayout
>> 2009-04-13 21:43:06,351 WARN
>> [org.apache.myfaces.renderkit.html.HtmlRenderKitImpl] - Unsupported
>> component-family/renderer-type:
>> org.apache.myfaces.trinidad.Panel/org.apache.myfaces.trinidad.TableLayout
>> 13/04/2009 21:43:06
>> org.apache.myfaces.trinidadinternal.renderkit.RenderKitBase getRenderer
>> WARNING: Não encontrado o renderer
>> 'org.apache.myfaces.trinidad.TableLayout' para a família de componentes
>> 'org.apache.myfaces.trinidad.Panel'
>> 13/04/2009 21:43:06 org.apache.myfaces.trinidad.component.UIXComponentBase
>> _getRendererImpl
>> WARNING: Não encontrado renderer para
>> CoreTableFormLayout[UIXFacesBeanImpl, id=j_id21] rendererType =
>> org.apache.myfaces.trinidad.TableLayout
>>
>> What could be happening? Did I forgot something?
>>
>> My environment is:
>> - Trinidad 1.2.10;
>> - Myfaces 1.2.6;
>> - Facelets 1.1.14;
>> - Trinidad-sandbox 1.2.10-SNAPSHOT;
>> - Tomcat 5.5;
>> - and others not relevant.
>>
>> Glauco P. Gomes
>>
>
>
>

Reply via email to