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