• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

struts display properties

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
<display:table id="student" name="studentList" pagesize="5" export="true" requestURI="/queryStudent" >
<display:column property="father_name" title="father_name" />
<display:column property="qualification_code"></display:column>
<display:column property="contact_no" sortable="true" />
<display:column property="address" sortable="true" />
<display:setProperty name="paging.banner.placement" value="bottom" />
</display:table>

i need to display column qualification if it return value in the list, if the qualificaton is null, then in the table it should n't display the qualification column for the particular record.
fathername qualification contactno address
------------------------
ss B.E 98 ss
dd 98 dd
------------------------
is this is possible
 
Ranch Hand
Posts: 479
1
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

According to the documentation:
Tag Column

Check out Attributes - nulls.
 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No I do not think so that is possible as display tag library generates table so in a table you always have a heading . if anyone of the "List Of records " contain a value for your "qualification coloumn" it will display that and even you will get a "Table heading" on the top for that column.

 
reply
    Bookmark Topic Watch Topic
  • New Topic