Unfortunately, placing the bean in session didn't solve the problem.
I've also checked the rendered attribute values and they're ok.
I should say that I'm iterating over a tr:table and on a specific column I'd
like to render this t:dataTable (to use with t:columns).
I really need to get this going and don't know what I might be doing wrong.
Is there anything else I might provide that could shed light on this
problem?
On 5/25/07, Mike Kienenberger <[EMAIL PROTECTED] > wrote:
No, facelets doesn't change anything provided you've defined the tags
in your taglib.xml file correctly. Is #{attribute.tableAttributeData}
request-scoped? As a test, try making this bean session-scoped
temporarily and see if everything suddenly works as expected.
If so, then you need to preserve the state of that list. You might
also want to test it without the rendered attributes to be sure that
the problem doesn't lie there.
On 5/25/07, Francisco Passos <[EMAIL PROTECTED] > wrote:
> 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
> >
>
>