display paper comment

This commit is contained in:
Anton Romanov 2019-11-23 10:48:44 +04:00
parent 5755cf2f92
commit 846d94bb46

View File

@ -5,7 +5,7 @@
xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:f="http://java.sun.com/jsf/core">
<ui:composition template="/basicTemplate.xhtml">
<ui:define name="header">
Редактироваие статьи
Редактирование статьи
</ui:define>
<ui:define name="content">
<p:panel id="panel" header="Статья" style="margin-bottom:10px;">
@ -29,6 +29,9 @@
itemLabel="#{type.typeName}"
itemValue="#{type}"/>
</p:selectOneMenu>
<p:outputLabel for="@next" value="Комментарий:"/>
<p:textEditor widgetVar="editor2" value="#{paperView.paper.comment}" height="300"
style="margin-bottom:10px" placeholder="Комментарий"/>
</h:panelGrid>
<p:commandButton action="#{paperView.save}" value="Сохранить" ajax="true" process="@form"/>
</p:panel>