The getter method is definitely getting called. I tried what Mike had
suggested 

> <t:outputText value="Tomahawk table"/> <t:outputText 
> value="#{selectMappingBean.mappings}"/>

& Iam getting

Tomahawk table [EMAIL PROTECTED] 



-----Original Message-----
From: Andrew Robinson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 23, 2007 5:16 PM
To: MyFaces Discussion
Subject: Re: <t:dataTable> not coming up

is the getter method being called for the data table model?

if so, which phases is it being called for?

anything interesting in the log file?

have you completely removed all RI jar files from both your web
application WAR and from the container (if applicable)?

are there any other JSF jars in the class path? (like an old
myfaces-all.jar for example)

On 10/23/07, Palat, Anil <[EMAIL PROTECTED]> wrote:
> Thanks Sushama & Mike
> I think it's a different issue & nothing to do with managed bean or 
> incoming data list .
> The reason being the same code works fine with JSF RI in the same 
> environment. Also its just a part of an existing application, hence 
> the managed beans are well established.
>
> To give you some more info, Iam using Tomahawk 1.1.6
>
> Any thoughts?
>
> -----Original Message-----
> From: Mike Kienenberger [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 23, 2007 4:23 PM
> To: MyFaces Discussion
> Subject: Re: <t:dataTable> not coming up
>
> 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 <[EMAIL PROTECTED]> 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?
> >
> > <[EMAIL PROTECTED] uri="http://java.sun.com/jsf/core"; prefix="f"%> <[EMAIL 
> > PROTECTED] 
> > 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
>

Reply via email to