2014-02-18 52 views
0

我正在使用jsf 1.2和richFaces 3.3,我需要保存一個帶有用戶編輯的特定格式的文本,包括空格,返回等......如何保存字符串格式?

有一個特殊的標籤嗎?

+1

'的'。 – mabi

回答

1

RichFaces的有<rich:editor>標籤:http://showcase.richfaces.org/richfaces/component-sample.jsf?demo=editor&sample=advancedConfiguration&skin=blueSky

我不知道是不是在RichFaces的3.3。如果不是,可以使用CKEditor使用<h:inputTextarea>

CKEditor的演示:http://ckeditor.com/demo CKEditor的下載:http://ckeditor.com/download

的可以使用<h:inputTextarea><rich:edit>內容如下:<h:outputText value="#{someBean.field}" escape="false" />

+0

實際上,''*是帶有CKEditor的textArea;) – mabi

相關問題