Role description
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Commerce suite > Role description




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Role description  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-02-05 10:57 PM

Does anyone knows how to retrieve the description of a role from a RoleDataB
ean? How to use it in a jsp with the iDataBeanKeyRoleId?





[ Post a follow-up to this message ]



    Re: Role description  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-03-05 12:51 PM

RoleDataBean is primarily for Internal use only. However, if you need to obt
ain the role description you could do it the following way.

<jsp:useBean id="roleDataBean" class="com.ibm.commerce.user.beans.RoleDat
aBean" 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





[ Post a follow-up to this message ]



    Re: Role description  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-03-05 12:51 PM

Thanks, works fine!





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 02:55 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register