Hi,
I am using Tomcat 4.1.24. I am trying to display some data using request attribute, I don't get any error but i can't display anything.
I can view the examples in displaytag.war, so i think i installed displaytag correctly.
here is my code:
<html> <head> <title>All records</title> </head> <body>
<% out.println("Hello World"); %><br>
<display:table name="recordList" pagesize="20" requestURI = "" > <display:column property="name" title="Name" /> <display:column property="surname" title="Surname" /> </display:table>
</body> </html>
Is "recordList" a collection of objects in some scope with getters and setters for name and surname?
Hi In my action class i have these:
Personal[] records = null;
records = PersonalDaoFactory.create(conn).findAll(); request.setAttribute("recordList", records);
records is basically a DTO array
Now i am getting nothing found to display..
Log in to post a comment.
Hi,
I am using Tomcat 4.1.24. I am trying to display some data using request attribute, I don't get any error but i can't display anything.
I can view the examples in displaytag.war, so i think i installed displaytag correctly.
here is my code:
<html>
<head>
<title>All records</title>
</head>
<body>
<% out.println("Hello World"); %><br>
<display:table name="recordList" pagesize="20" requestURI = "" >
<display:column property="name" title="Name" />
<display:column property="surname" title="Surname" />
</display:table>
</body>
</html>
Is "recordList" a collection of objects in some scope with getters and setters for name and surname?
Hi
In my action class i have these:
Personal[] records = null;
records = PersonalDaoFactory.create(conn).findAll();
request.setAttribute("recordList", records);
records is basically a DTO array
Now i am getting nothing found to display..