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

How to fix column header in displaytag table

I have created a table using displaytag. I want to make the table header or column headers fixed and only the body of the table should be scrolled.I am able to make the div containing the table as scrollable. But when scrolling the header of the…
kishore
  • 1,587
  • 4
  • 15
  • 17
2
votes
1 answer

Column of buttons in a table in JSP using displaytag and Struts 1.3

I need to display the table containing a list of users (id, name, etc.) and place the buttons to delete specified user in the last column. Something like this: ############################ | ID | name | ... | button | | ID | name | ... | button…
rand0m86
  • 3,172
  • 4
  • 26
  • 29
2
votes
2 answers

How to save data from editable fields (input,textarea) in display:table (display tag library)

I need to save data from input tag inside display:table. I am expecting some listener or some mechanism to process my current shown table. Please guide me. Thanks Technology in use: Struts 1.2, Display tag library, jsp. Code:
Navdeep Singh
  • 699
  • 1
  • 10
  • 25
2
votes
1 answer

struts 1.3 tiles with Display Tag

Let me explain the problem in very simple manner, In my app, I've a JSP which contains 2 tiles. Tile 1 is a jsp containing Search Form. Suppose it has only one search parameter that is set into ActionForm on submit action. Tile 2 is containing…
Ravi A
  • 505
  • 1
  • 5
  • 16
2
votes
2 answers

Category block has DISPLAY:none - Prestashop

I have a problem, I don't know why, but my prestashoop categories stoped working. They just dissapeared. I've checked the code and in some magical way the display:none is applied to the element. How can I track what applied it? How can I fix it…
Artur Rain
  • 339
  • 1
  • 5
  • 20
2
votes
3 answers

Submit form in a displaytag pagination

I'm using spring portlet mvc and JQuery. The thing is that I need to submit my form when I click the pagination links from the displayTag (when I try to go to the second page for instance)
elcadro
  • 1,482
  • 3
  • 21
  • 45
2
votes
2 answers

How to specify position for sorting icons in displaytag

I have sorted columns in displaytag using "sortable=true"....But I want to display the sorting icons at the extreme right of the column...How can I do this? Here I have mentioned only one column for your reference...
mukund
  • 317
  • 5
  • 10
  • 22
2
votes
2 answers

How to break and display one ArrayList into multiple table columns

I have a servlet which loads a properties file and contains a list of 100 test case names into an ArrayList object. After loading the servlet forwards to a JSP which displays the list in a table. The list is long so I would like some elegant way to…
Bizmarck
  • 2,663
  • 2
  • 33
  • 48
2
votes
3 answers

Converting 24 hour clock to 12 hour java

Okay so I have a clock class which is initially set as a 24 hour clock but I have to have the clock display as a 12 hour clock using only this method! I have tried for hours but have fallen short! Please help. Make the clock display the time as a…
DrJonesYu
  • 49
  • 2
  • 11
2
votes
1 answer

Display Tag Sorting Issue

I am using displaytag for displaying a list and sorting.But having problem with sorting. I have a property orderdate format of the date is Thursday 31 Jan 2012 13:10. So if I sort this column then it groups the date by days. So I created another…
GD_Java
  • 1,359
  • 6
  • 24
  • 42
2
votes
1 answer

With displaytag library getting error "You must specify one of the following: size"

When using display tag in external sorting/paging mode you have to specify the size parameter. I've done that, but I'm getting the above error. The instructions for doing this are here: http://www.displaytag.org/1.2/tut_externalSortAndPage.html A…
Sarel Botha
  • 12,419
  • 7
  • 54
  • 59
2
votes
1 answer

How to paginate a list of objects which contains a list of object

I have an Object called Person which has the following attributes: private String firstname; private String lastname; private List userList; Now I have to display a list of persons and it requires to have pagination. I am thinking to…
user1901079
  • 427
  • 2
  • 7
  • 19
2
votes
1 answer

Export an images to pdf using display tag in jsp

On my jsp there is data which contains questions and some images as graph analysis on feedback of questions. When I try to export it using display tag to pdf I can successfully create a pdf mentioning the questions but in case of images I get a url…
MAK
  • 86
  • 5
2
votes
1 answer

Display tag library with spring mvc

i am developing a portlet with spring mvc. I am using display tag library to export data excel,csv,xml etc. i am listining true values like above, ad Soyad (column names) Erdi Kaya 3.serkan gurbuz my jsp file this, <%@ page buffer = "16kb"…