dojoAttributes - Dojo Attributes
Specifies a list of Dojo attributes.
Category
dojoSyntax
<xp:this.dojoAttributes>
attribute ...
</xp:this.dojoAttributes>
Where attribute
is:<xp:dojoAttribute name="name"
value="value">
</xp:dojoAttribute>
Usage
In Design mode, click the Dojo tab under Properties and look for Dojo attributes, or click All Properties and look for dojoAttributes under dojo.You
can adjust the toolbar that a rich text control renders by specifying
an attribute named toolbarType
with a value of lite
, medium
(default),
or full
.
You can specify a list of CSS classes
to be applied when an icon is rendered by specifying an attribute
named iconClass
whose value specifies class names
separated with spaces.
Examples
This Rich Text control renders a full toolbar.<xp:inputRichText id="inputRichText1" value="#{document1.body}">
<xp:this.dojoAttributes>
<xp:dojoAttribute name="toolbarType" value="full"></xp:dojoAttribute>
</xp:this.dojoAttributes>
</xp:inputRichText>