<xp:inputRichText value="#{document1.Body}"> <xp:this.dojoAttributes> <xp:dojoAttribute name="toolbar"> <xp:this.value> <![CDATA[#{javascript: var customToolbar = "[['Source', 'Font','FontSize'], \n" + "['Bold','Italic','Underline','Strike'], \n" + "['TextColor', 'BGColor'], \n" + "['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock', '-', 'NumberedList','BulletedList'], \n" + "['Outdent','Indent'], \n" + "['MenuPaste'], \n" + "['Find'], \n" + "['Image', 'Table', 'MenuLink', '-', 'Smiley']]"; return customToolbar; }]]> </xp:this.value> </xp:dojoAttribute> </xp:this.dojoAttributes> </xp:inputRichText>