office-dynamixs-ai/dynamixs-ai-app/docker/deployments/dynamixs-ai.war/pages/workitems/parts/markdown.xhtml
2025-05-31 14:46:56 +02:00

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>