« J2ME Toolkit 2.2 released | Main | Sony Ericsson releases J2ME SDK 2.1.5 »

Displaying User information in ADF UIX

Thanks to Frank Nimphius' recent entry on getting the current logged in user one easily can use the UIX EL to include this information in an UIX page.

Normally everybody puts this information where one wants. But there is a specified position by the UIX StyleGuide. Simply use the <userInfo> to put it at a specific position without worrying about the positioning code.

Example:
<userInfo>
<flowLayout>
<styledText test="${uix.bajaContext.servletRequest.remoteUser}" />
</flowLayout>
</userInfo>

Using the styleClass attribute also allows you to specify a predefined or sub-classed style.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About This Entry

This page contains a single entry from the blog posted on November 22, 2004 4:53 PM.

The previous post in this blog was J2ME Toolkit 2.2 released.

The next post in this blog is Sony Ericsson releases J2ME SDK 2.1.5.

Many more can be found on the main index page or by looking through the archives.

Top Tags

Powered by
Movable Type and Oracle