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

Displaying a Person’s Name: os:Name

The os:Name tag allows the container to render the user’s name. This name may be linked to his profile or additional container capabilities such as hover state. You add this tag using the following format:

<os:Name person="${Viewer}" />

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