<rich:editor> Completão!

1 resposta
mfbottoni

Boa tarde!

Estou utilizando o rich:editor do RichFaces em um site meu e queria fazer ele os botões mostrados nessa imagem:

Utilizei o rich:editor seguindo o seguinte site http://docs.jboss.org/richfaces/latest_3_3_X/en/devguide/html/rich_editor.html

Mas lá não fala nada de como colocar esses botões. E não estou conseguindo nem a metade deles.

Alguém já usou isso e sabe como fazer??

Muito obrigado.
Abraço, Bottoni

1 Resposta

M
Most configuration options that TinyMCE provides can be applied using JSF tag. The syntax is quite simple: the "name" attribute should contain the option, the "value" attribute assigns some value to the option.

For example, this code adds some buttons to the editor and positions the toolbar.

Example:
<rich:editor value="#{bean.editorValue}" theme="advanced" plugins="save,paste" >

          <f:param name="theme_advanced_buttons1" value="bold,italic,underline, cut,copy,paste,pasteword"/>

          <f:param name="theme_advanced_toolbar_location" value="top"/>                               

          <f:param name="theme_advanced_toolbar_align" value="left"/>

</rich:editor>
Criado 8 de julho de 2010
Ultima resposta 9 de jul. de 2010
Respostas 1
Participantes 2