Hi all!
I'm newby in displaytag and I'm trying to fill in a table using items from an arrylist of arrylists in which each arrylist has the contents of a row.
When I tried it with a couple of arrayLists, the displaytag displayed the object memory content:
[Ljava.lang.Object;@5842e3 [Ljava.lang.Object;@8f474f
I need to do it this way because I don't have a way to know the number of columns till execution time, and my program obtains data in an arrayList.
Also, how can column headers be displayed??
Does anyone know how to do this??
Can you post the code snippet for how to do this. -Thanks
I havent looked into dynamic column creation in display tag. AFAIK, u need to know the number of columns coming in the beans.
define the parameter title for column header.
Log in to post a comment.
Hi all!
I'm newby in displaytag and I'm trying to fill in a table using items from an arrylist of arrylists in which each arrylist has the contents of a row.
When I tried it with a couple of arrayLists, the displaytag displayed the
object memory content:
[Ljava.lang.Object;@5842e3
[Ljava.lang.Object;@8f474f
I need to do it this way because I don't have a way to know the number of columns till execution time, and my program obtains data in an arrayList.
Also, how can column headers be displayed??
Does anyone know how to do this??
Can you post the code snippet for how to do this. -Thanks
I havent looked into dynamic column creation in display tag.
AFAIK, u need to know the number of columns coming in the beans.
define the parameter title for column header.