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>
<h:form id="fMarkupXhtml">
<p:panel styleClass="jeesl-panel jeesl-editor" header="#{componentOutputMarkupBean.mXhtml.type.name[localeCode].lang}">
<f:facet name="actions">
<j:svg type="jeeslSave" listener="#{componentOutputMarkupBean.saveXhtml()}" update="@form"/>
</f:facet>
<jtp:inputMarkup value="#{componentOutputMarkupBean.mXhtml}"/>
</p:panel>
<p:panel styleClass="jeesl-panel" header="Output">
<jtp:outputMarkup value="#{componentOutputMarkupBean.mXhtml}"/>
</p:panel>
</h:form>
</ui:composition>
Resource not found:
/jeesl/java/org/jeesl/showcase/web/mbean/component/input/ComponentOutputMarkupBean.java
must be available in the classpath