Portals (MOSC)

MOSC Banner

How to get user info like id on the jsr286 portlet?

edited Jun 4, 2014 4:39AM in Portals (MOSC) 3 commentsAnswered

Hello All,

According to 59.3.3 How to Access User Information in JSR 286 Portlets in Developer guide for developing Portals with Oracle WebCenter Portal and Oracle JDeveloper,

I added user.login.id<span style="font-family: Tahoma, sans-serif; font-size: 10pt;"> in the portlet.xml like following</span>

     <user-attribute>

        <description>User Login Id</description>

        <name>user.login.id</name>

    </user-attribute>


Then I add view.jsp like following.


       <p class="portlet-font">Hi ${user.login.id}(20140529...003)</p>


But, I cannot see the user  id in the portlet.

What's wrong or missed?


Thanks in advance,

bmw

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center