I am using the java displaytag library. I need to show the headers in the html page even if no-data is present. How can I enable it?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to change the value of the property
basic.empty.showtabletotrue. You may do it on a specific table instance, by using the<display:setProperty>tag inside the<display:table>tag, or you may set it globally for the whole web application by setting it in your displaytag.properties file.Read http://displaytag.sourceforge.net/1.2/configuration.html to understand how it works, discover the other useful properties.