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
2 answers

Use Struts2's tag in tags

I am trying to add a list into a table using DisplayTag. Everything works normally when I add list property to a column in the usual manner:
Rohini
  • 117
  • 1
  • 5
  • 14
2
votes
1 answer

Displaytag global order is Ok but order on the same page is reversed

I am using dsiplaytag with external sorting and partial lists. When I sort the table using a certain column containing a numerical value (duration) the whole list globally is in order (descending for example) but on each page it is ascending. Here…
restricteur
  • 302
  • 5
  • 17
2
votes
2 answers

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…
Pointy
  • 405,095
  • 59
  • 585
  • 614
2
votes
1 answer

Displaying HashMap key & value in JSP display table

I would like to display the key and value of my Hashmap in the display column of the display table. Below is the code i have right now. Currently its throwing a JSP error saying that the property attribute of the column does not exist…
user3752790
  • 61
  • 2
  • 6
2
votes
1 answer

Displaytag table paging with tiles

Im using displaytable with tiles. Problem is in my crud application, when I search something its loading data into display table, and when I click on 2nd page its load data to 2nd page as I give requestURI="searchorgs". All works fine upto…
Dilis
  • 277
  • 2
  • 6
  • 19
2
votes
0 answers

Display tag external sort with 'sortName' property returns null in controller

I have been trying to implement displaytag external sort with 'sortName' property but for some reason in controller the sorted column name is turning up 'null'. I tired various things but none works. I need help on this. Here's the jsp code …
2
votes
3 answers

App not appearing in Google play store unless i remove the space between the name

I made an android app and published it about two days ago. When I search for the game in Google play store, the game doesn't appear unless I remove the space between the name of the app. for example.. if I write 'racing horse' the app doesn't appear…
user3500239
  • 31
  • 1
  • 1
  • 6
2
votes
0 answers

How to disable pagination using display tag

In my jsp page i use displaytag for search results. Pagination works fine but i want to disable the pagination (i mean to display all the records in the same page itself). I found nothing under displayTag.properties file commneted the whole file…
Pawan
  • 31,545
  • 102
  • 256
  • 434
2
votes
8 answers

DisplayTag error

I am using the DisplayTag with pagination to display a List objects. The Transactions has a property called 'company' / getCompany() which is the Company object. The Company object contains a String called 'name' / getName(). My code looks like…
Sam K
  • 41
  • 1
  • 3
2
votes
1 answer

Display Tag- Editable Row

I use display tag for displaying data in table form. We want to add new editable row for adding new records in the table. If the table is having one or more records, I am able to add an editable row at the end of the table and save. How to add a new…
2
votes
2 answers

How to edit records shown by ?

I have the following code to show my results in a table, I am wondering, how I can change it to be able to edit the records? I want to edit records and sort based on specific column, currently I can sort them but I do not know how to edit…
AlexCartio1
  • 238
  • 3
  • 9
  • 29
2
votes
2 answers

DisplayTag library question - Is it possible to add more info to the standard Excel export?

I'm using the DisplayTag library (http://displaytag.sourceforge.net/) for tables in my JSP and I'm taking advantage of the export functionality that comes with it. I want to export the table contents to an Excel file but I want to modify what is…
JMM
  • 3,922
  • 6
  • 39
  • 46
2
votes
1 answer

Pagination in Struts2 not capturing css for the title row

I have a Struts2 application in which I am using Pagination with 'display' tag. Here is the display code
Ankur Chachra
  • 131
  • 5
  • 17
2
votes
1 answer

can we use rowspan and colspan in displaytag?

I have to create a table, whose structure is like this |--------------------------------| |col1|col2| col3 |col4| | | | col3.1 | col3.2 | | |----|----|--------|--------|----| |----|----|--------|--------|----| Is it…
Rakesh Juyal
  • 35,919
  • 68
  • 173
  • 214