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

Display Tag with search feature (like Jquery)

I want to know how to implement Display tag with Search feature, like on giving a letter , based on that , the data in the tables should sort or display, if there is no data, an error message should display.
madhu
  • 11
  • 2
1
vote
2 answers

how to open popup window in Display tag column link

How to open popupwindow while clicking on Display tag column. I have popupSmallWindow(this, 'update') javascript to open the popup. i need to call this from display tag.while clicking this below column. paramName = "propertyTypeId" Value =…
Jothi
  • 14,720
  • 22
  • 68
  • 93
1
vote
0 answers

How to set defaultsort in display table dynamically

How to set the defaultsort attribute in display table through any variable of jsp or JQuery ? Adding details, I am using display table as below:
shiv
  • 1,940
  • 1
  • 15
  • 22
1
vote
2 answers

Retrieving Value from Row in Struts2 Table While using Displaytag

I am aware that this is somewhat a re-post, but I feel like re-posting my question will make things more clear. Here is the code for my table in my JSP page:
Raymond
  • 737
  • 2
  • 12
  • 23
1
vote
1 answer

Not able to write If condition in DisplayTag

I want to apply if condition on data retrieved through list onto JSP page using DisplayTag Suppose We have a list object 'Alist'. This object is a part of DisplayTag table. Table has pagination enabled.
Cast_A_Way
  • 472
  • 5
  • 19
1
vote
1 answer

How to send displaytag's TableTagParameters from controller?

We're using displaytag's display:table to show some results in our Spring MVC application. This table is paginated and sorted by our own, sending POSTs to our controller, in which we're retrieving TableTagParameters to make the database query. After…
Goyo
  • 455
  • 1
  • 9
  • 23
1
vote
0 answers

Display tag customize pagination href

I have to customize my display tag pagination from display table. Now I have: 2 and I want: 2 How can I do this? In my page i have links like "&d-49489-p=2" to change pages . And i want…
carlj
  • 896
  • 1
  • 6
  • 14
1
vote
0 answers

DisplayTag format number in Excel export

I have a little problem with DisplayTag and its Excel export. I have a table with columns containing strings starting with 0, like phone numbers or pin codes for example... When I try to export them to an Excel file, Excel treats them as a number…
Guillaume
  • 466
  • 5
  • 19
1
vote
1 answer

How to make ajax request on pagination in display tag?

I'm using display tag pagination 1.2 in my jsp page to show logs of the application and filtering the data on the basis of its users, category and date. When data is filtered, an ajax call goes to controller and it replaces the current display table…
Mishika
  • 61
  • 5
1
vote
0 answers

Exporting data from a editable

I am using a combination of Spring, struts framework for a web based application. There is a need to display a editable display column. I have managed to achieve the same using the following code snippet.
sandy
  • 243
  • 2
  • 7
  • 19
1
vote
2 answers

I want to have two textareas on top of one another in HTML, and switch the order they are stacked, with click of a button

I have two textareas, one on top of another, and I want to have a click of a button swap which one is viewed. Here is the code I have so far:
1
vote
2 answers

How to add a condition to displaytag table with jstl

I want to generate a table with display tag. One of the column is a status type. And, this status type can be 1 or 0. (active or passive). Table is:
mcnull
  • 39
  • 9
1
vote
1 answer

Need to disable table rows if table header is display:none using Knockout JS

I am using Knockout JS. I have list of table columns in a dropdown list, on selecting a column from the list, changing the table column header style = Display:none. I need to make the rows also to be display none on paging/sorting. Once the column…
cmayil
  • 21
  • 3
1
vote
0 answers

How to restrict input boxes for only one record

i have following data to show in table form. When I click on update button, all the name fields turn into input form whereas I wanted only that particular record to get input where the update button is shown. What should be done in this…
Imam Bux
  • 1,006
  • 11
  • 27
1
vote
1 answer

Update a particular record in a table using struts2 and javascript

How can I make the particular record editable and after changing the fields update to that particular record. I have never used JavaScript so I am facing a lot of perplexion between the javascript, Struts 2 and hibernate. Following are the required…
Imam Bux
  • 1,006
  • 11
  • 27