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

sample example to export data to Excel, PDF, CSV and XML using Display tag in spring mvc

I need to export table data to excel using display tag . I am using spring mvc. Can anyone please explain me how to do this with sample example?
ashu
  • 11
  • 1
  • 2
1
vote
0 answers

Error exporting excel from a displaytag table

I have an aplication java with Struts 2 that was working properly but recently I decided to update the libraries. From this: displaytag-1.2.jar displaytag-export-poi-1.2.jar jstl.jar struts2-core-2.3.1.2.jar To this (First two doesn't…
Subotai
  • 11
  • 4
1
vote
1 answer

DisplayTag Server-Side Paging

¿ How to paginate server side using DisplayTag (and Spring MVC)? My controller code is like this: @RequestMapping("/cuenta/refreshCombos.do") public ModelAndView refreshCombos(HttpServletRequest request, HttpSession session, …
CactusPolock
  • 11
  • 1
  • 5
1
vote
0 answers

Loop through an HashMap with DisplayTag

I want to loop through an HashMap with DisplayTag. I have the following code in JSP:
frankdart
  • 59
  • 2
  • 10
1
vote
1 answer

Is there a way to hack display:table to make the table element values submit as input elements?

Is there a way to make to make the table element values submit as input elements in my Struts 2 application using JSP's and the Display Tag library? So, given ...
Nick
  • 190
  • 1
  • 2
  • 15
1
vote
1 answer

Is it possible to create nested headers using the display:table tag?

Is it possible to nest headers using the tag library? ... by which I mean something like the following: Note: Please let me know if this is not possible within HTML at all? -- I assume I can at least hack something resembling this…
Nick
  • 190
  • 1
  • 2
  • 15
1
vote
1 answer

How to get http request object in displaytag decorator?

I using display tag for my application. to render the table in some format i am using decorator. But in decorator method i need Http request object. How do i get it?
Jothi
  • 14,720
  • 22
  • 68
  • 93
1
vote
1 answer

Display tag URL breaks while trying to pass it as property in object

I am working with a simple JSP Servlet application that uses Display tag for rendering information about some objects. One of the attributes of these objects is an HTTP URL which needs to be rendered as a link on the front end. These attributes come…
Yash
  • 11,486
  • 4
  • 19
  • 35
1
vote
1 answer

How to show the last page # in the pagination bar using Display Tag Library?

Is there a way to show the last page in the pagination bar using using Display Tag library? I got 3 pages but on the first page it shows 1 of 2 and I want to show 1 of 3 then 2 of 3 and finally 3 of 3. Below is the current format I am using.…
Mike
  • 777
  • 3
  • 16
  • 41
1
vote
1 answer

Radio Button issue while Iterating over a collection in Struts 2

I have a list name companyList iterating to show list of user in table.Every row has company name and a radio button to select company id . Here Problem is how I can bind a radio button for a row with respective company id show that user can choose…
Vivek Panday
  • 1,426
  • 2
  • 16
  • 34
1
vote
1 answer

Struts2 displayTag

unfortunately, i'm trying to use Struts2 displayTag i want to pass a list of clients to my table using displayTag but i'm getting an error the following code is my action: package presentation; public class AdminAction extends…
1
vote
0 answers

Display tag external sort overriden?

I am using display tag and spring mvc. Basically, i have a simple table like this. Note the use of external.
Zhar
  • 3,330
  • 2
  • 24
  • 25
1
vote
1 answer

Hide display:column from display:table struts and export in Excel

I am working on a Struts application and creating a table with display tag library by using display:table and display:column tags. I have added html in some columns so when I export the table html code also exported in Excel sheet. So I got a work…
Gourav
  • 115
  • 10
1
vote
0 answers

Problem exporting large amounts of data in IE8 with display tag

I have an issue where I cannot export a large amount of data (approx 200 rows - not that large really) using displaytag in IE8. Has anyone encountered this issue? The same code works perfectly in Firefox Thanks Damien
Damien
  • 4,081
  • 12
  • 75
  • 126
1
vote
2 answers

Dependencies for displaytag library

I am integrating the displaytag library into my web application. I have used the library at my work, but what I am currently building does not have it currently. When I went to review the dependencies for installation of the library, I noticed that…
TheJediCowboy
  • 8,924
  • 28
  • 136
  • 208