Hi!

I don't know whether the following is a problem in Trinidad or in Facelets, so 
I start a new topic here, even though this is related to my other posting 
"Throw explanatory exception in PanelTabbedRenderer for wrong typed childs?".

When I try to use a binding="#{someBean.someSetter}" in a tr:panelTabbed tag 
there is not one child returned by component.getChildren() in 
PanelTabbedRenderer but seven. First child is a 
com.sun.facelets.compiler.UIInstructions so we get a ClassCastException. I 
don't know whether it is ok for Facelets to insert these UIInstructions and 
PanelTabbedRenderer should cope with them or perhaps Facelets is doing wrong 
here. Or maybe I do something real stupid?

Any pointers welcome...

Thanks,
Thorsten



7 child's:
-------------
        <tr:panelTabbed position="both" 
binding="#{sammelgruppenDetailView.panelTabbed}" >
                <tr:showDetailItem text="testTab">
                        <tr:outputText value="testText"></tr:outputText>
                </tr:showDetailItem>
        </tr:panelTabbed>
-------------


1 child:
-------------
        <tr:panelTabbed position="both" >
                <tr:showDetailItem text="testTab">
                        <tr:outputText value="testText"></tr:outputText>
                </tr:showDetailItem>
        </tr:panelTabbed>
-------------

Reply via email to