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
2
votes
1 answer

java.lang.SecurityException in Struts2 with display tag

HelloWorld is my ActionSupport class and the pop method is loading the values to countryList object of Country class type. package example; import com.opensymphony.xwork2.ActionSupport; import java.util.ArrayList; public class HelloWorld…
Master Mind
  • 2,386
  • 3
  • 31
  • 48
2
votes
2 answers

How can i get checkbox values from struts2 checkbox in displaytag to action class

I am working on struts2 application in which i am using displaytag for pagination support. Now i want a check box for each row in the table for that i am doing this.
harshalb
  • 6,012
  • 13
  • 56
  • 92
2
votes
2 answers

Fix width for table with Display Tag

I want to fix the table width using Display Tag. .displayTable table { border: 1px solid #666; width: 100%; margin: 20px 0 20px 0 !important; } .displayTable th, .displayTable td { padding: 2px 4px 2px 4px !important; …
kitokid
  • 3,009
  • 17
  • 65
  • 101
2
votes
1 answer

display tag always using the last action

I am using displaytable tag to display a table. Below is the code snippet of the same.
user935061
  • 21
  • 5
2
votes
2 answers

How to jump to specific page number using display tag in Spring framework

I want to jump to a specific page number using display tag with a textbox and a "go" button. On the click of GO button calls a javascript in which it should go to that specific page through that .htm which is not happening. please suggest an…
Geetha
  • 21
  • 2
2
votes
1 answer

Javascript - localStorage issues

In the script below, I want to be able to display on the main html page lists of paragraphs saved in the localstorage. In the html I defined an are with the id "content". I want to display the texte stored in the localstorage in this area. In the…
dam's
  • 33
  • 1
  • 6
2
votes
1 answer

DisplayTag Export and Links

I'm using the DisplayTag library 1.2 and on the export all links are exported as text. How to remove the links from export.
Victor
  • 8,309
  • 14
  • 80
  • 129
2
votes
1 answer

DisplayTag: Show header even when there's no data to diaply

I am using the java displaytag library. I need to show the headers in the html page even if no-data is present. How can I enable it?
budsiya
  • 540
  • 3
  • 14
  • 22
2
votes
6 answers

Displaytag alternatives

I'm building an application using Struts 2 + Spring 3 + Hibernate 3. I was wondering if any of you knows of any alternative to the "displaytag" library to draw and manage tables. Not that I dislike it so much, but I read this comment and made me…
Pere Villega
  • 16,429
  • 5
  • 63
  • 100
2
votes
1 answer

how can I cache an arraylist

I'm having one application which fires the same query again and again on every page request coming from the browser. so I want to cache that query result from first time request triggered ,which results in an arraylist, so that on every request…
Deepak Jain
  • 305
  • 1
  • 3
  • 19
2
votes
1 answer

Displaytag sort my table but only on first page

I use a display table on a formBean : When I…
jayjaypg22
  • 1,641
  • 5
  • 22
  • 41
2
votes
1 answer

Get displaytag to use an action URL for page switching

I'm trying to use external paging in a JSR-286 portlet with DisplayTag 1.2. I would like DisplayTag to generate the paging links from a parameterized Action URL that i have defined, but i can't seem to make that work. Here is the code in my…
saurabh
  • 271
  • 1
  • 6
  • 18
2
votes
1 answer

Exporting data with Display Tag and external pagination

We use the Display Tag Library to display grid data in our JSP's. We use external sorting and pagingation. And we also use the library's export feature to allow exporting to Excel or PDF. Issue is the export is only exporting the data on the…
Marcus Leon
  • 55,199
  • 118
  • 297
  • 429
2
votes
0 answers

Reload DisplayTag Table without refreshing the whole page

I am developing an application using Spring MVC. I am using DisplayTag Table for pagination. I have quartz job running every 30 seconds which changes some of the fields in my database. So I want the display Tag table to refresh the data by reloading…
Govind Soraganvi
  • 81
  • 1
  • 1
  • 9
2
votes
2 answers

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.
enkor
  • 7,527
  • 3
  • 31
  • 55