07-19-04 10:58 PM
anybody?
Damian Harvey wrote:
> Hi,
>
> Does anybody know how to set the user-attributes defined in a JSR168
> Portlet? For example my Portlet.xml contains :
>
> <portlet>
> ....
> </portlet>
> <user-attribute>
> <description xml:lang="EN">Some description</description>
> <name>user.loginid</name>
> </user-attribute>
>
> My Portlet (a JDE Portlet) tries to access this attribute with :
>
> Map map = (Map)renderrequest.getAttribute("javax.portlet.userinfo");
>
> and then :
>
> String s2 = (String)map.get("user.loginid");
>
> How do these variables get set? It doesn't seem to be from the Portlet.xml
>
> Help!
>
> Damian.
[ Post a follow-up to this message ]
|