15 lines
No EOL
776 B
HTML
15 lines
No EOL
776 B
HTML
<ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
|
|
xmlns:f="http://xmlns.jcp.org/jsf/core" xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
|
|
xmlns:pt="http://xmlns.jcp.org/jsf/passthrough" xmlns:h="http://xmlns.jcp.org/jsf/html">
|
|
|
|
<ui:fragment rendered="#{!readonly}">
|
|
<h:inputTextarea value="#{workitem.item[item.name]}" style="min-height: 25em;" pt:data-item="#{item.name}"
|
|
required="#{item.required?validationController.required:false}" rendered="#{!item.readonly}"
|
|
disabled="#{item.disabled}" />
|
|
</ui:fragment>
|
|
<ui:fragment rendered="#{readonly}">
|
|
<h:inputHidden pt:data-id="markdown_hidden_input" value="#{workitem.item[item.name]}" />
|
|
<div class="imixs-markdown-output"></div>
|
|
</ui:fragment>
|
|
|
|
</ui:composition> |