-
List<Map> model = new ArrayList<Map>();
for (int i = 0; i < MAX_QTY; i++) {
model.add(new HashMap());
}
Date a = new Date(2009,01,01);
for (int i = 0; i < MAX_QTY; i++) {
model.get(i).put(a, 50);
}
Date a = new Date(2009,01,02);
for (int i = 0; i < MAX_QTY; i++) {
model.get(i).put(a, 40);
}
etc...
Which will create a List of Maps (each Map is...
2009-06-25 15:34:54 UTC in Display Tag Library
-
I'm sure you cannot get DisplayTag to use your data the way you have it structured. You have placed the data into columns and DisplayTag expects the data to be in rows. You would need to format your data differently to allow DisplayTag to display it by grouping the dates by Qty rather than the Qty by date.
Ed!
2009-06-25 09:21:49 UTC in Display Tag Library
-
If your list contains MissingRecord objects then you will have to tell DisplayTag which properties of the object you want displayed otherwise it just outputs the toString() of each object.
For Example:
<display:table name="somelist">
<display:column property="recordid"/>
<display:column property="recordDetail"/>
</display:table>...
2009-04-22 10:32:43 UTC in Display Tag Library
-
What has this got to do with Exporting from WebSphere?
The elements of web-app must be in the correct order; filter-mapping elements must come after filter elements and before listener elements.
Ed!
2009-03-03 16:24:56 UTC in Display Tag Library
-
How much data are you putting into your object that displayTag uses to display the table? If each time the table is shown you are loading 2500 rows from the database that is probably why it is slow. You need to look at External Paging and Sorting:
http://displaytag.sourceforge.net/1.2/tut_externalSortAndPage.html
If that's not the problem then you'll have to try and find out exactly what...
2009-01-14 17:06:07 UTC in Display Tag Library
-
ed_j_webb committed patchset 26 of module filedoc to the File Documentor CVS repository, changing 7 files.
2005-11-16 13:56:22 UTC in File Documentor
-
ed_j_webb committed patchset 25 of module filedoc to the File Documentor CVS repository, changing 1 files.
2005-10-28 14:03:26 UTC in File Documentor
-
ed_j_webb committed patchset 24 of module filedoc to the File Documentor CVS repository, changing 3 files.
2004-05-28 14:04:46 UTC in File Documentor
-
ed_j_webb committed patchset 23 of module filedoc to the File Documentor CVS repository, changing 10 files.
2004-05-28 08:34:59 UTC in File Documentor
-
ed_j_webb committed patchset 22 of module filedoc to the File Documentor CVS repository, changing 22 files.
2004-05-19 20:53:20 UTC in File Documentor