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

Adding hidden input element in display tag

How can I have additional html elements in display tag? I want the column name with a hidden input. Thanks
JR Galia
  • 17,229
  • 19
  • 92
  • 144
0
votes
1 answer

Display tag using java

How to sort the column using displaytag in java my code is as follows:
user2083356
  • 125
  • 1
  • 9
0
votes
4 answers

How to pass the values in the row that i want to delete/edit to the action class from jsp in struts2 using display tag?

I want to create edit , delete link in display tag with struts2. This is my jsp code <%@ page contentType="text/html; charset=UTF-8"%> <%@ taglib prefix="s" uri="/struts-tags"%> <%@taglib uri="http://displaytag.sf.net" prefix="display"…
user2077648
  • 951
  • 7
  • 27
  • 42
0
votes
1 answer

Export Excel using Displaytag

I am using Display tag for displaying the results in table. I am using Decorator class to customize the look on some columns I have a column where I am displaying the result which is customized by decorator public String getMyLink(){ return "
RaceBase
  • 18,428
  • 47
  • 141
  • 202
0
votes
2 answers

Displaytag in included page

I would like to use displaytag in an included page but I have difficulties. I have got a main page which includes a header jspf, a menu jspf and an other jspf depending on the selected menu (on menu.jspf) main.jspf …
Viktor
  • 1,325
  • 2
  • 19
  • 41
0
votes
1 answer

Export a nested displaytag table in excel

I have displayed a nested table using display tag . The code of my nested table is:
user1901079
  • 427
  • 2
  • 7
  • 19
0
votes
2 answers

How to sort dates with null values using display table tag

I have a list of dates, some of which might contain null values.Now I want to display it using display table tag and make it sortable and where the date appears as null I wnat to change it to the string "NA".How can I do it? Here is my column(I am…
Ayan Biswas
  • 1,641
  • 9
  • 39
  • 66
0
votes
1 answer

Sorting not working in display tag

In the below code i have to sort balance column in display tag using sortable=true, but it is not working, when i define this value in bean for formatting and place the currency symbol(getting the currency symbol from session object). <% String…
Naveen Kumar Alone
  • 7,536
  • 5
  • 36
  • 57
0
votes
1 answer

How to customize the paging.banner.some_items_found when using DisplayTag

I'm trying to customize the line paging.banner.some_items_found in the displaytag.properties, I'd like to change o remove some words like 'item' from the message, in my code I have: paging.banner.some_items_found={0} {1} found, displaying {2} to…
igarcia
  • 691
  • 1
  • 9
  • 26
0
votes
1 answer

Display Tag use in Liferay 5.2.3

I am using display tag for pagination in my table in Liferay 5.2.3. My code snippet is:
Sayan
  • 145
  • 2
  • 15
0
votes
1 answer

How to fixed table header row in struts2 display table

How to fixed table header row in struts2 display table.. Below code is in struts2 display table
0
votes
1 answer

bean write to number type id

I have to display a column Netsales using display tag, when i was define this netsales in bean tag and getting value through scriptlet i got net sales of string type, thus i am not getting sorting for this column appropriate in my display table. how…
Naveen Kumar Alone
  • 7,536
  • 5
  • 36
  • 57
0
votes
1 answer

How to customize the columns according to user in runtime

I am using dispaly-tag for showing data from the database in jsp. I am using Spring mvc, I want to customize the column in runtime as per the user. Is there any tag libraries that gives this facility of customizing column based on user
0
votes
2 answers

How to avoid from going to mail box when the data contains '@' sign in href link of display tag

How to stop the browser from going to mail box when the link contains '@' sign.
0
votes
2 answers

Spring MVC Portlets: external pagination with displaytag needs to go to the action phase

I'm using Spring MVC portlets I need to implement one display tag with external pagination. In order to do this, I've defined my table in the JSP like this:
elcadro
  • 1,482
  • 3
  • 21
  • 45