|
|
|
@ -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>
|
|
|
|
|