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}
).
Get Programming Social Applications now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.