Questions tagged [displaytag]

The display tag library is an open source suite of custom Java Server Pages (JSP) tags that provide high-level web presentation patterns which will work in an MVC model.

Display tag is a tag library for Java Server Pages (JSP) handling the pagination and sorting of result sets, with optional PDF, XML and Excel export.

607 questions
1
vote
1 answer

about errors while starting or stopping tomcat

I am getting these warning and errors while I restart my tomcat or I stop my tomcat server. it is not interfering in my project but I guess this is serious problem while no. of user increase. P.S. I have used hibernate for database connection,…
1
vote
2 answers

How to restrict displaytag to make database call on sorting?

I have a list of 1000 records, and I shown there 1000 records on page load using display tag. I enabled sorting on some columns, and when I click on the table header to sort, display tag is making a database call and loading all 1000 records…
Satya P
  • 747
  • 6
  • 8
1
vote
1 answer

How to add sorting to display tag

I am trying to use sorting option in display tag. Saw a couple of examples online and understand that sortable="true" will make the column sortable. Adding sortable="true" to the column makes the column hyperlink but onclick nothing happens. I mean…
Geek
  • 3,187
  • 15
  • 70
  • 115
1
vote
3 answers

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. …
Dean J
  • 39,360
  • 16
  • 67
  • 93
1
vote
2 answers

How to pass hyper link value via tag

Via Iterator I was able to pass hyper link value in my action class where it was used to update and delete, but href is not working inside display:table display:column tag. How to pass value via hyperlink in display table, and also how to put…
Akash kumar
  • 981
  • 3
  • 14
  • 27
1
vote
1 answer

Partial List Pagination with DisplayTag

I'm having a small problem with the pagination message that displaytag is outputting for me. I'm performing pagination via the partialList method but the "displaying items X to Y" does not display correctly. The flow is as follows: user performs a…
Gerard
  • 4,818
  • 5
  • 51
  • 80
1
vote
1 answer

How to select a cell content in a table when there is no id or class using jquery

I have a table generated by displaytags and it looks like below. 02063873320 ORD81268679 80% 6 84070063962913
DJR
  • 454
  • 2
  • 8
  • 29
1
vote
1 answer

How to retain the user ticked checkbox value during pagination

I am creating an online test application using struts framework. In the jsp page i am using display tag to navigate through the questions. i can able to display one question with 4 options per page. here is my code.
1
vote
0 answers

Download file from tag library in jsp file

I created a tag library to display a table same as 'display tag' with some other features. Now I would like to add download option to the tag library. I tried it with just changing the content type and resetting the response but that was not…
1
vote
2 answers

X Display on Windows machine

I'm trying to run some code on the server through PuTTY on a windows machine, and it doesn't work. (It works on Linus and Mac) And I'm pretty sure it is the problem of X display. Can anyone tell me how to setup the X environment on Windows?
TYZ
  • 8,466
  • 5
  • 29
  • 60
1
vote
1 answer

How to pass Id value to perform Edit operation in Struts2 with Displaytags?

I applied pagination with Dispalytags in struts2. Now I want to add Two more columns to my table like "EDIT" and "DELETE". Here how can I pass the my ID value. I did something but it throws NumberFormatException. Below is my…
user3117840
1
vote
2 answers

set Display tags pagination to fetch results from session

This is a theoretical question so im not posting any code here. The question is.. I'm using display tags to fetch results for a report from multiple tables having 20 million rows at least. The query takes its own sweet time to execute and display…
DJR
  • 454
  • 2
  • 8
  • 29
1
vote
1 answer

CSS: How to get thumbnails into a horizontal line?

I'm using Wordpress Popular Posts plugin in the footer of my blog and I'm having trouble styling it. I would like to have the 5 thumbnails in a horizontal line (not vertical as they are now) with the post titles under them rather than next to them.…
Julie
  • 107
  • 1
  • 3
  • 13
1
vote
2 answers

specifying custom properties to a displaytag table decorator

I have a decorator specified on a displaytag table that I need to pass parameters to. The decorator adds an id attribute to the row. Currently the values I require are hardcoded. The parameters I need are: The name of the property to use as id…
Chris Gow
  • 7,514
  • 4
  • 23
  • 18
1
vote
1 answer

How to make colspan with display:column

I want to make a colspan in a display:column so I tried to do it as follows: but it doesn't work it seems that this property is not allowed in a display:column…
Eslam Hamdy
  • 7,126
  • 27
  • 105
  • 165