O'Reilly logo

Programming Social Applications by Jonathan LeBlanc

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Display a Person’s Badge: os:Badge

Using the os:Badge tag, a developer can display a standard badge for a user, styled by the container. The badge will usually contain information such as full name, profile link, and badge image. This tag should have syntax similar to the following:

<os:Badge person="${Owner}"/>

The person attribute may be a Person object or a DataContext key referring to the user whose name should be displayed (e.g., ${Viewer}, ${Owner}).

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required