displaytag

Displaytag is exporting CSV into a .xls file

I export an Excel document with DisplayTag. It saves as a .xls file to my Desktop. When I open it with Excel, this error displays: "The file you are trying to open, 'filename.xls', is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file....

Next /Last option is not working in displaytag pagination

Hi, we are using displaytag for the pagination. The issue we are facing is when the result found it shows the no of records found as 26, and we have given limitation to display only 15 per page. When i try to click on next/last option available it shows the nothing found to display. Please suggest me what Iam missing in this. Code used...

Using DisplayTag library, I want to have the currently selected row have a unique custom class using the TableDecorator.

I have been trying to figure out how to highlight the selected row in a table. In my jsp I have jsp scriplet that can get access to the id of the row the displaytag library is creating. I want to compare it to the the id of the current row selected by the user ${currentNoteId}. Right now if the row id = 849 (hardcoded) the class "curre...

slow Rendering data into table using display tag liabrery

I am using displaytag 1.0 in my Struts base application. I have 5 million rows to showing reports of all rows data by paging with 50 records. It takes 5 minutes to rendering the data. Can we reduce this one? Please suggest how make it with in one minutes. ...

onclick of a link get the list and display using display tag in struts

Hi All, I have link on click of which i want to get the entire list from database and display using display tag.I don't have any problem in using display tag (displaytag).,But i am not getting how would get the complete list on click of a hyperlink in struts. As on clicking the link i am moving to a jsp and having a display tag where i...

display tag scope issue with pagination

Hi All, I am using display tag for pagination ,i am reading the list from request scope and displaying it,i have kept the page size as 1 and the list hast 4 values,if i press next i get nothing to display this is the case with request scope but not with session scope how can i tackle this problem? ...

Displaytag caption not working

I am using displaytag to render data, I have it working without any issues. As soon as I use display:caption I get JSP compilation error with the below message. Am I missing anything? I thougt including caption would be simple. If I remove display:caption everything works fine. aaaaa.jsp:527:14: This tag is not recognized. T...

Individual Table DisplayTag Settings

Hi, I'm using displaytag to list information on my website and its working well. The problem I'm having is to do with the messages as defined in displaytag.properties. My website displays different types of information so for one displaytag table I may want the results banner to read: "15 people found. Dislaying people 1 - 10." Which ...

display:inline-table

hi, IE 7 not supporting display:inline-table ? Other browsers supports. What should i do for the alternate solution. ...

Creating a drop-down row in displaytag

I am currently using displaytag for tabular data, but would like to create a "kayak.com-like" interface where when a user clicks a row, the user is shown more details about the particular row without a page refresh. For example, before clicking Details link on Row 1: row1|col1|col2|col3|col4|Detail row2|col1|col2|col3|col4|Detail row...

Does Displaytag stash the "media type" in a page or request attribute?

When you enable "export" from Displaytag, the tag code gives you links with special magic parameters that the tag recognizes as indicators that the table contents should be exported (as CSV, Excel, whatever). Well I'm interested in detecting the media type so that (for example) I can exclude columns that make no sense in an export (embe...

Displaytag table exported header column contains span tags

Hi, When I export the content of the display tag table I use the data shows up fine, but the header cells are surrounded by html span tags, which is slightly annoying. I can imagine why Displaytag uses spans around the column header's text, but it shouldn't transpose in the exported data I think. Here is my displaytag.properties con...

Why is display:inline killing IE 8.0 performance?

I have an image gallery based on this jQuery plugin: http://jqueryfordesigners.com/demo/slider-gallery.html This works really well in Firefox, Chrome and even IE 7.0, but when I try it with more than 50 images in IE 8.0 the performance is incredible slow. Just hovering over the thumbnail brings the CPU load to 100%. At first I though...

displaytag for rendering html lists instead of tables

Is it possible to generate lists with display tag? I would like to use it to produce something like: <ul> <li>Coffee</li> <li>Milk</li> </ul> with one <li> entry per each item on my list. Is that possible? ...

Display Tag Export option

Hi all, We have Used display tag in our application for Showing Search result. We have also incorporated the Export option to various format as provided by display tag. A small change needs to incorporated to the exported format. We need to display the Search parameter for which the result is shown. i.e We are showing the result grid b...

problem in export data to excel using displaytag in Struts

I load data to jsp page in Struts framework. And then export that data to excel using displaytag .It 's ok without using tiles. But I 'm using tiles in my project. So when I export data to excel , blank page is shown and nothing happen.Please help me. Thanks in advance. ...

Add a custom row with displaytag

Is there a way of adding a custom row(s) to the top of a displaytag table? There is a way of adding a footer via display:footer. but why no header? ...

DisplayTag Sort and Pagination links(url) generated is too long.

When using displaytag the URL it's generating for paging and sorting is too long for IE. Is there a way around this without resorting to external paging and sorting? Cheers. ...

DisplayTag pagination vs Hibernate Pagination

Hi all, Display Tag provides pagination feature from the given object. Hibernates provides option to fetch only required record per page.In My project we are using both the concept. Display Tag: I need to fetch all the record based on the filter criteria and store it in the Session. Then this displaytag will take care about all paginat...

prototype js library with displaytag

Hi all, I am trying to use prototype javascript library and displaytag together in one of my screens. On screen load, I should not have the displaytag table where as on submit via a button click I should show the displaytag table. Could some one point me to or let me know how to do this? TIA, J ...