jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Christian_Hae...@mra.man.de>
Subject Using Datagrid together with Servlet Version 2.4
Date Tue, 10 May 2005 13:24:49 GMT
Hi all,

I have got a big problem using the datagrid taglib and I hope someone
can help me. 

When I am trying to use the datagrid taglib together with the following
header of my web.xml file, an error occurs.

<?xml version="1.0" encoding="ISO-8859-1"?>
<web-app 	xmlns="http://java.sun.com/xml/ns/j2ee" 

The error is: "According to TLD or attribute directive in tag file,
attribute items does not accept any expressions"

The Code of my jsp-file is (taken from the datagrid-examples):

<ui:dataGrid items="${employees}" var="employee" name="datagrid1"
cellPadding="1" cellSpacing="0">
    <column width="100" order="true">
      <header value="Name" hAlign="center" styleClass="header1"/>
      <item   value="${employee.firstName} ${employee.lastName}"
hAlign="left" styleClass="item1"/>
      <aggregate function="count" var="total"/>
      <footer value="Total ${total}" hAlign="left"

If the header of my web.xml file is replaced with the following lines,
everything works fine (taken from the datagrid-examples).

<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"

Because I am using Struts and some other things in my web-project, I
need version 2.4.
And because I am a newbie in this area, I don't know, how to solve this
problem. Thank you in advance for your help.

Best Regards


To unsubscribe, e-mail: taglibs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-dev-help@jakarta.apache.org

View raw message