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

How can i export the values into the Export to Excel using the 'source' attribute?

We're using the servlet for the export to excel that servlet name is 'MultiTableExportServlet'. We need to pass three parameters for the servlet that is 'multitablesId','name','type'. The 'multitablesId' name is used to identify the particlur export…
Adalarasan_New
  • 313
  • 3
  • 5
  • 16
0
votes
3 answers

How to only display thumbnail for first post of Category

I have this code to show all post of category and thumbnail of them. query('cat=1&showposts=5'); ?> have_posts()) : $recent->the_post(); ?>
0
votes
2 answers

DisplayTag doesn't work inside a forEach tag

I'm trying to render a DisplayTag table inside a forEach loop. The expression ${paquete.listaProductoPaquete} is a one item list; but when I try this I get an empty table:
Carlos Gavidia-Calderon
  • 7,145
  • 9
  • 34
  • 59
0
votes
3 answers

How to pass more than one parameter using display tag?

I'm using display tag. but i want to pass more than one parameter in the runtime. How can i pass the more than one parameter in the display:column using the 'paramProperty' and 'paramid' My code is ,
0
votes
2 answers

How can i pass the parameter using the display tag?

I am using the display tag.In my display:column i need the href link on my record and if click the link of the count it go to my action page of struts at the same time i need 'which instance type' and 'rating element id'.So please give me the…
0
votes
2 answers

External Paging example in display tag

I am a newbie in display tag. I am using display tag 1.2,struts2 and hibernate. Display tags works great, except its fetching entire db row whenever i clicked on next page. I find out that I have to use external pagination of display tag. As I am a…
arvin_codeHunk
  • 2,328
  • 8
  • 32
  • 47
0
votes
1 answer

How to set sheet name while exporting excel using display tag?

I am using display tag to export excel sheets. I can set the name of the excel file to whatever I want. But I also want to set the name of the excel sheet inside the file. Right now by default it is set to ' - ' which does not make any sense.…
ajm
  • 12,863
  • 58
  • 163
  • 234
0
votes
1 answer

Configuring DisplayTag for individual pages

I have too many modules (around 90) in my project. But I want to keep individual displaytag.properties file for each module rather than having single file for whole project. How to achieve this. I am using struts2
RaceBase
  • 18,428
  • 47
  • 141
  • 202
0
votes
1 answer

JSP display tag without column/property name specified

Let's say you don't know the column names in this one table but want to display all the columns & values in there. Is there a way to use display tag without specifing property names?
user1678271
  • 15
  • 2
  • 6
0
votes
2 answers

How to change the path of displaytag.properties?

Currently i have placed the Displaytag.properties in 'src' directory, and it is working fine. Is it posssible to have this file on some different location like src/comp/bre/sub/config ?
Rakesh Juyal
  • 35,919
  • 68
  • 173
  • 214
0
votes
1 answer

Format DisplayTag column

I want if the value is 1.50 ,it should display 1.50 but it displays 1.5. It truncates 0 I tried below code but no luck
happy
  • 2,550
  • 17
  • 64
  • 109
0
votes
1 answer

How to make SubTotals bold of DisplayTag table?

I am creating display tag using below code
happy
  • 2,550
  • 17
  • 64
  • 109
0
votes
1 answer

Customizing Struts Displaytag table properties

I have knowledge on how to customize the display data using Struts2 displaytag:table and decorator. But I need to customize the table columns (tr style) public String getWorkFlow() { WorkOrderDO currentWorkOrder = (WorkOrderDO)…
RaceBase
  • 18,428
  • 47
  • 141
  • 202
0
votes
1 answer

populating display tag in a popup using javascript

In my application,i am using jQuery-Ajax to get the list to be populated in a popup. I am getting a list in the javascript code, like [["1","abc"],["2","bcd"]].. I am using a display tag in the popup section to display the popup. My javascript…
Dil Se...
  • 877
  • 4
  • 16
  • 43
0
votes
1 answer

display:footer is shown on the top of the table

I paste my table code, using displaytag. My problem is that the footer is shown on the top of the table, and even using css I can not put it at the botton. I am using a form around the table, and Spring web flow. Could it couse some conflicts?? If…
Blanca Hdez
  • 3,513
  • 19
  • 71
  • 93