Class idx.widget.PersonCard


Extends dijit._TemplatedMixin, dijit._Widget.
Person card rendering properties fetched from profile service or given as value attribute.
Defined in: <idx\widget\PersonCard.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Field Summary

Field Attributes Field Name and Description
 
jsonp 
JSONP callback name for profile service.
 
method 
HTTP Method for profile service.
 
Text to be rendered for "sametime.awareness" when sametime client is not available.
 
query 
Qeury parameters for profile service.
 
spec 
Specifies the list of properties to render.
 
url 
URL for profile service.
 
value 
Properties to render.

Method Summary

Method Attributes Method Name and Description
 
render(prop, value)
Renders a property.

Constructor Detail

idx.widget.PersonCard()

Field Detail

{String} jsonp

JSONP callback name for profile service.
Default Value:
""

{String} method

HTTP Method for profile service. Effective only when "jsonp" is omitted.
Default Value:
"POST"

{String} placeHolder

Text to be rendered for "sametime.awareness" when sametime client is not available.
Default Value:
" "

{Object} query

Qeury parameters for profile service.
Default Value:
null

{Array} spec

Specifies the list of properties to render. Dotted notation specifies sub-property for a nested object property.
Default Value:
["photo", "fn", "title", "adr.work", "tel.work", "email.internet"]

{String} url

URL for profile service.
Default Value:
""

{Object} value

Properties to render.
Default Value:
null

Method Detail

render(prop, value)

Renders a property. This method can be overridden to implement custom rendering for specific properties.
Parameters:
{String} prop
Property name.
{Object} value
Object containing properties.