Hi,
I am trying to use the display tag but encountering
some problems.
I am using 1.0.b2 version of displaytag.jar and
displaytag.tld.
here is my code:
----------------
<%@ page import="Person"%>
<%@ taglib uri="/WEB-INF/displaytag.tld"
prefix="display"%>
<% ArrayList test = new ArrayList(); %>
<%
test.add( new Person("1", "aaa", "[EMAIL PROTECTED]", "S"));
test.add( new Person("2", "aaa", "[EMAIL PROTECTED]", "S"));
test.add( new Person("3", "aaa", "[EMAIL PROTECTED]", "S"));
test.add( new Person("4", "aaa", "[EMAIL PROTECTED]", "S"));
%>
<% request.setAttribute( "test", test ); %>
<display:table name="test" sort="list" pagesize="8">
<display:column property="id" title="ID" />
<display:column property="name" />
<display:column property="email" />
<display:column property="status" />
</display:table>
here are the errors:
--------------------
Parsing of JSP File '/test2.jsp' failed:
--------------------------------------------------------------------------------
/test2.jsp(2): Error in using tag library
uri='/WEB-INF/displaytag.tld' prefix='display': type
mismatch for property 'export', for Tag class
'org.displaytag.tags.TableTag': tld says boolean,
actual java.lang.String
probably occurred due to an error in /test2.jsp line
2:
<%@ taglib uri="/WEB-INF/displaytag.tld"
prefix="display"%>
--------------------------------------------------------------------------------
I dont know whether this is happening due to the beta
versions of the jar and tld.
In this regard can you please send me the working
versions of displaytag.jar and displaytag.tld.
Thanks and Regards,
Krishna
__________________________________
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
http://mail.yahoo.com
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user