Text
Output
HTML
Output

Markup

One option to show entered data is to transform the entered markup into openFuXML XML and then use one of the available output components there. While this is a good approach in the context of cross-media-publishing, it's too time consuming to do this for short information snippets.

For this purpose, jtp:outputMarkup can be used.

<h:form id="fMarkupText">
	<p:panel styleClass="jeesl-panel" header="#{componentOutputMarkupBean.mText.type.name[localeCode].lang}">
		<f:facet name="actions">
			<j:svg type="jeeslSave" listener="#{componentOutputMarkupBean.saveText()}" update="@form"/>
		</f:facet>
		<jtp:inputMarkup value="#{componentOutputMarkupBean.mText}"/>
	</p:panel>
	<p:panel styleClass="jeesl-panel" header="Output">
		<jtp:outputMarkup value="#{componentOutputMarkupBean.mText}"/>
	</p:panel>
</h:form>
</ui:composition>