• 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

display :table ${myTableID.userid} is giving me same value

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
while iterating ${myTableID.userid} is giving me same value while
<input type="checkbox" name="selectedCurrentAlumni" value="${myTableID.userid}"/> giving me different values


<c:set var="currentAlumniList"
scope="page" value="${currentalumni}" />

<display:table
name="pageScope.currentAlumniList" id="myTableID" cellspacing="1"
cellpadding="1" pagesize="10" class="displayTable" sort="list"
requestURI="">

<display:setProperty name="paging.banner.placement" value="bottom" />
<display:setProperty name="css.tr.even" value="titletab formLable_1B" />

<display:setProperty name="css.th.descending" value="borderBGcolor" />
<display:setProperty name="sort.amount" value="list" />
<display:column sortable="true">
<input type="checkbox" name="selectedCurrentAlumni" value="${myTableID.userid}"/>
</display:column>
<display:column property="fname" title="First Name"
class="displayTableTD" />


<display:column property="lname" title="Last Name"
class="displayTableTD" />
<display:column property="empid" title="Emp ID" class="displayTableTD" />
<display:column property="userid" title="User-ID" class="displayTableTD" />
<display:column property="regdate" title="Date-Regd"
class="displayTableTD" />
<display:column property="regdetails" title="Regn-Details"
class="displayTableTD" />
<display:column property="profiledetails" title="Profile-Details" href="./ControllerServlet?req_id=2008&userid=${myTableID.userid}"
class="displayTableTD"/>
</display:table></div>
 
Think of how stupid the average person is. And how half of them are stupider than that. But who reads this tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic