myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Kienenberger" <mkien...@gmail.com>
Subject Re: <t:dataTable> not coming up
Date Tue, 23 Oct 2007 20:23:26 GMT
Are you sure that #{selectMappingBean.mappings} is non-empty at this point?

Try

<t:outputText value="Tomahawk table"/>
<t:outputText value="#{selectMappingBean.mappings}"/>
 <t:dataTable var="mapper" value="#{selectMappingBean.mappings}">
[...]


On 10/23/07, Palat, Anil <apalat@corbincapital.com> wrote:
>
>
> Hi,
>
> Iam working with tomcat 5.0.28, Myfaces 1.1.5 & JDK1.4.2_14
>
> When I run the following JSP Iam not getting the datatable displayed though
> the text "Tomahawk table" is displayed. Please let me know whether Iam
> missing anything.
> Is it due to any version incompatibilities?
>
> <%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
> <%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
> <%@ taglib uri="http://myfaces.apache.org/tomahawk"
> prefix="t"%>
>
>    <f:view>
>        <t:outputText value="Tomahawk table"/>
>        <t:dataTable var="mapper" value="#{selectMappingBean.mappings}">
>            <h:column>
>                <f:facet name="one">
>                    <t:outputText value="Manager Name"/>
>                </f:facet>
>                <t:outputText value="#{mapper.managerName}"/>
>            </h:column>
>        </t:dataTable>
>    </f:view>
>
>  thanks

Mime
View raw message