Rashmi Rubdi wrote:
I'm sorry for mentioning a conflicting configuration of JSP, JSTL in
my post above.
The latest nightly release of DataGrid was on 20060829, which is much
more recent than the thread I referred to above which was dated on
2004. So, please ignore my replies above.
With very limited information of the problem it is difficult to offer
a solution, as Martin has mentioned please provide relevant details.
Post the versions JSP, Servlet, Web Server you are using.
Also post full relevant code that will help us in recreating the problem.
-Rashmi
On 4/28/07, Martin Cooper <[EMAIL PROTECTED]> wrote:
*item* or *items*? What is the *exact* error message, and what is the
*exact* syntax you are using?
The "Runtime Expression Evaluation" column in the documentation
refers to
JSP scripting expressions, not the expression language you are using.
If you're not already using JSP 2.x, I would recommending doing so and
ensuring that your web.xml file is referencing Servlets 2.4 and not an
earlier version.
--
Martin Cooper
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Am using JDK 5.0 and JEE 1.4 with
Servlet Spec:2.5
JSP spec :2.1
Server : Apache Tomcat 5.5.17
JSTL :1.1
I tried to use one of your datagrid examples. But all the examples
showed the same problem. The code is shown below. The code fragment
marked in bold red gave problem for me.
<html>
<head>
<title>Jakarta Data Grid Taglib Example 4</title>
<style>
th a:link { text-decoration: none; color: #3C4D81 }
th a:visited { text-decoration: none; color: #3C4D81 }
.item { background-color: #303D66; color: white;
font-weight: bold }
.hiliterows { background-color: #CDBD4F }
.alternaterows { background-color: #D3C971; border: 1px solid #000000 }
.header { background-color: #F4F7FC; border-top: 2px solid
#D7E1F2; border-bottom: 2px solid #D7E1F2 }
.footer { background-color: #F4F7FC; border-top: 2px solid
#D7E1F2; border-bottom: 2px solid #D7E1F2 }
.datagrid { border: 1px solid #AEBBD4; color: #3C4D81;
font-family: arial; font-size: 10pt; font-weight: bold }
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<h3>Example 4</h3>
<ui:dataGrid* items="${employees}"* var="employee" name="datagrid1"
cellPadding="0" cellSpacing="0" scroll="true" width="600" height="100"
styleClass="datagrid">
<columns> <column width="100">
<header value="Select" hAlign="center" styleClass="header"/>
<item hAlign="center" styleClass="item">
<![CDATA[ <input type="radio" name="employee"
value="${employee.firstName} ${employee.lastName}"/> ]]>
</item>
<footer styleClass="footer"/>
</column>
<column width="100" order="true">
<header value="Name" hAlign="center" styleClass="header"/>
<item value="${employee.firstName} ${employee.lastName}"
hAlign="left" styleClass="item"/>
<aggregate function="count" var="total"/>
<footer value="Total ${total}" hAlign="left" styleClass="footer"/>
</column>
<column width="200" order="true">
<header value="Salary" hAlign="center" styleClass="header"/>
<item value="${employee.salary}" hAlign="right"
pattern="$#,##0.00" styleClass="item"/>
<aggregate function="avg" pattern="$#,##0.00" var="total"/>
<footer value="Average ${total}" hAlign="right" styleClass="footer"/>
</column>
<column width="200" order="true">
<header value="Bonus" hAlign="center" styleClass="header"/>
<item value="${employee.bonus}" hAlign="right"
pattern="$#,##0.00" styleClass="item"/>
<aggregate function="avg" pattern="$#,##0.00" var="total"/>
<footer value="Average ${total}" hAlign="right" styleClass="footer"/>
</column>
</columns> <footer show="true"/>
<rows hiliteStyleClass="hiliterows"/>
<order imgAsc="up.gif" imgDesc="down.gif"/>
</ui:dataGrid>
<p><a href="index.jsp">Back to index</a></p>
</body>
</html>
--
Regards,
Venu madhav.Yelamanchili
Software Trainee
Miracle Software Systems
Email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]