I've tried using just h:outputText and just t:outputText.
Plus I tried this:
<t:dataTable value="#{attribute.tableAttributeData}" var="lineAttributeData"
rendered="#{attribute.xtipdado eq 'T'}" >
<t:columns value="#{lineAttributeData}" var="attributeData"
style="padding: 0px;" headerstyle="padding: 0px; background-color:
#dddddd;">
<t:column>
<f:facet name="header">
<t:outputText value="#{attributeData.inomcol}"
style="font-size : 10px;"/>
</f:facet>
<t:outputText value="#{lineAttributeData}" style="font-size:
10px;" />
</t:column>
</t:columns>
</t:dataTable>
I also tried it with the facet in t:columns but outside t:column.
Still, the dataTable doesn't show.
I've had t:dataTable components rendering (even within a tr:table
component), so I can't understand what is wrong.
I'm using facelets, does change anything?
On 5/24/07, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
You need to have
<t:dataTable>
<t:columns>
<t:column/>
<t:column/>
<t:columns>
<t:column/>
<t:column/>
<t:column/>
<t:dataTable>
On 5/24/07, Francisco Passos <[EMAIL PROTECTED]> wrote:
> Good day to all.
>
> I have a List<List<MyType>> (attribute.tableAttributeData) and am trying
to
> present it in a table like this:
>
> <t: dataTable value="#{attribute.tableAttributeData}"
> var="lineAttributeData" >
> <t:columns value="#{lineAttributeData}" var="attributeData">
> <f:facet name="header">
> <t:outputText value="#{attributeData.inomcol}" />
> </f:facet>
> <h:outputText value="#{ attributeData.xvalor}" />
> </t:columns>
> </t:dataTable>
>
> However the table does not appear at all. Did I miss something?
>
> Francisco Passos