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
3
votes
3 answers

displaytag: suppress zeros in HTML table

I have a HTML table that's generated in a JSP by the displaytag tag library. I would like to suppress any zeros that appear in the table, i.e. they should be replaced by a blank cell. Is there any straightforward way to achieve this?
Dónal
  • 185,044
  • 174
  • 569
  • 824
3
votes
2 answers

Why does `vertical-align` property NOT work for with `display:table-cell`?

JSFiddle SSCCE here From this website: Unlike images, table cells default to middle vertical alignment: From the text of this question, Theoretically, vertical-align supposed to work inside an element with display:table-cell. It always works if…
Solace
  • 8,612
  • 22
  • 95
  • 183
3
votes
1 answer

How to export excel file with xlsx extension in displaytag

We used displaytag for exporting the files in xls format but I want it in xlsx format. Is there any way to convert the excel file to new format? I change the extension in display tag from xls to xlsx
amit bhardwaj
  • 883
  • 2
  • 8
  • 18
3
votes
1 answer

Pagination not working using display tag

I'm using display tag to display my result set. Here's how I implement it. Here I've set pagesize =10 and when I run the app , the records are paged to size 10 but when I click on the next…
user3333294
  • 35
  • 1
  • 2
  • 8
3
votes
1 answer

Display Tag : Showing records with Partial List

I have one admin interface in JAVA, where admin can view and manage the multiple users(500-2000). I am using the display tag to display the users details. For that i am sending the full list(all users details) and the page takes very much time to…
Arun Kumar
  • 6,534
  • 13
  • 40
  • 67
3
votes
2 answers

How to Pass hidden variable using displaytag

I am developing application using spring web mvc.. For displaying purpose i am using displaytag library.. Here is the code for that :
Nirmal
  • 4,789
  • 13
  • 72
  • 114
3
votes
2 answers

Displaytag Export Excel not exporting all rows

I want to export the table data into Excel using Displaytag. Initially it's exporting all the data to Excel, however by default displaytag is using CSV format to export into Excel. This solution fixed that problem Displaytag is exporting CSV into a…
RaceBase
  • 18,428
  • 47
  • 141
  • 202
3
votes
2 answers

Format Date in Display Tag

Im using Struts2 and Display tag library. How to format the date column above? e.g. m/d/yyyy
JR Galia
  • 17,229
  • 19
  • 92
  • 144
3
votes
2 answers

How to set the row id [ TR ] and column id [ TD] in displaytag?

I am using Displaytag to display the DataGrid. Now, I have to change the color of rows based on some calculation. Like if the value of column3 + column4 > coulmn5 then the row color should be yellow value of column3 + column4 < coulmn5 then the row…
Rakesh Juyal
  • 35,919
  • 68
  • 173
  • 214
3
votes
2 answers

How to adjust the position of [last/prev] [next/last] links of Display Tag in Struts 2

Here is my Struts code. I would like to know that how can I adjust the position of [last/prev] [next/last] links in display tag <%@taglib…
user2001197
  • 25
  • 1
  • 2
3
votes
0 answers

How to input into

I have a message like this appSearch.urlApplicationInfo=http://localhost:8080/cgi-bin/snquery.pl?APPL_ID={0} Then I want to read and put it in the Application Number column. So, when user clicks on a record, he/she will be navigated to other…
3
votes
4 answers

how to make scrollable?

I am using tag to display table in jsp page. now i can navigate records using page numbers. Now i want display all records in single page but with scrolling.(no pagination) this table is set as a part of page so like only one div can…
Ruchi
  • 5,032
  • 13
  • 59
  • 84
3
votes
2 answers

displaytag customise pagination

I'm trying to style the to obtain something that look great. The official demo look like : http://demo.displaytag.org/displaytag-examples-1.2/example-paging.jsp But I obtain only this : How can I change the rendering of the…
fluminis
  • 3,575
  • 4
  • 34
  • 47
2
votes
4 answers

How to get enum when i have just a short display name?

I get a Short Diplay name and i need to get enum value using it? [Display(Name = "Alabama", ShortName = "AL")] Alabama = 1, i just get AL from outside database. I need to read somehow my enum and get a proper value. Thanks for any help…
Mindaugas
  • 163
  • 1
  • 7
  • 16
2
votes
0 answers

How to Filter paginated table with "Picnet Table filter"?

I am using "Picnet Table filter" for filtering my tables. I am using display tag for displaying my table data. I have hnadreds of records to show in the table and hence I have used pagination where page size is 50. I am showing 50 records per page.…
ajm
  • 12,863
  • 58
  • 163
  • 234
1 2
3
40 41