|
Home > Archive > WebSphere Commerce suite > November 2005 > Role description
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
| Does anyone knows how to retrieve the description of a role from a RoleDataBean? How to use it in a jsp with the iDataBeanKeyRoleId?
| |
|
| RoleDataBean is primarily for Internal use only. However, if you need to obtain the role description you could do it the following way.
<jsp:useBean id="roleDataBean" class="com.ibm.commerce.user.beans.RoleDataBean" scope="page">
</jsp:useBean>
<%
roleDataBean. setDataBeanKeyRoleId(iDataBeanKeyRoleId)
;
DataBeanManager. activate(roleDataBean,request,response);
out.println(roleDataBean.getDescription());
%>
Hopefully that should work. Let me know if you have any problems.
-Balaji Raghavan
| |
|
|
|
|
|