-1

When I am printing value via iterator value gets printed, when I am using <display:table> tag for same purpose I am getting no value to display message.

Working Iterator tag code:

<s:iterator value=" #request.hrlist" var="employee" >

<s:property value="Employee_Name" />
<s:property value="password" />

</s:iterator>

Display table code:

<display:table id="#request.hrlist" name="#request.hrlist"  requestURI="/HrAction.do" pagesize="10" >

<display:column property="Employee_Name" title="TV Show" sortable="true"/>
<display:column property="password" title="User Name" sortable="true"/>


</display:table>

How to print value via display table as it provide sortable pagination feature?

Roman C
  • 49,761
  • 33
  • 66
  • 176
Akash kumar
  • 981
  • 3
  • 14
  • 27
  • Why I am getting nothing found to display message via display table tag. please help me – Akash kumar Apr 30 '14 at 06:03
  • I found that this was due to naming convention in BEAN CLASS, actually variable should be in small to capital (employee_Name) , while my variabl was Capital to Capital (Employee_Name) – Akash kumar Apr 30 '14 at 06:52

1 Answers1

0

I found that this was due to naming convention in BEAN CLASS, actually variable should be in small to capital (employee_Name) , while my variabl was Capital to Capital (Employee_Name) –

Akash kumar
  • 981
  • 3
  • 14
  • 27