Thank you for your help.

The facelet screen that fails with <t:dataList> is the following (note that 
with only dataTable runs fine but with dataList fails):

-----------------------------------------------------------
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>

<ui:composition xmlns="http://www.w3.org/1999/xhtml";
                        xmlns:ui="http://java.sun.com/jsf/facelets";
                                xmlns:h="http://java.sun.com/jsf/html";
                                xmlns:f="http://java.sun.com/jsf/core";
                                xmlns:t="http://myfaces.apache.org/tomahawk";
                                template="../common/template.jsp">
                                
<!-- content -->
<ui:define name="content">

        <h1>View Hotel</h1>


        
                Name:
                #{hotel.name}
        
        
                
                Atractions:
                
          <h:form>
                <t:outputText value="No atractions Found" 
rendered="#{atractions.rowCount==0}"/>
                
                <t:dataTable value="#{atractions}" var="atract" 
rendered="#{atractions.rowCount>0}">
                      <h:column>
                            <f:facet name="header">Name of atraction</f:facet>
                            #{atract.description}
                      </h:column>
                </t:dataTable>

                       <t:dataList
                    var="hot"
                    value="#{hotels}"
                    layout="unorderedList" forceId="true" >
                    <h:outputText value="#{hot.name}" />
                  </t:dataList>

          </h:form>
                
        

.....

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944775#3944775

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3944775


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to