display tag query
Posted
by sarah
on Stack Overflow
See other posts from Stack Overflow
or by sarah
Published on 2010-04-21T10:09:01Z
Indexed on
2010/04/21
10:43 UTC
Read the original article
Hit count: 307
I have code:
<display:table name="sessionScope.allUserslist" id="userList" export="false" pagesize="1">
<display:column title="Select" style="width: 90px;">
<input type="checkbox" name="optionSelected" value="<c:out value='${userList.loginName}'/>"/>
</display:column>
<display:column property="loginName" sortable="false" title="UserName" paramId="loginName"
style="width: 150px; text-align:center" href="./editUser.do?method=editUser"/>
<display:column property="role" sortable="false" title="UserRole" paramId="role"
style="width: 150px; text-align:center"/>
</display:table>
On click of login name, I am moving to a new page where I need to get all the of user, I am just getting the name not the role, on click of link I am calling an action where in the method I am trying to read the data from the form using
User u=(User)form;
u.getRole();
but it's null. Where am I going wrong ?
© Stack Overflow or respective owner