add side commands

This commit is contained in:
Anton Romanov 2019-11-24 23:22:05 +04:00
parent ac6bd13c6c
commit 107ddb90ac

View File

@ -19,6 +19,7 @@
}
</style>
<p:panel id="panel" header="Статья" style="margin-bottom:10px;">
<h:panelGrid columns="2" cellpadding="5">
<h:panelGrid columns="2" cellpadding="5">
<h:outputLabel for="name" value="Название:"/>
<p:inputText id="name" required="true" value="#{paperView.paper.title}"/>
@ -60,8 +61,12 @@
itemLabel="#{author.userAbbreviate}"
itemValue="#{author}"/>
</p:selectCheckboxMenu>
</h:panelGrid>
<p:commandButton action="#{paperView.save}" value="Сохранить" ajax="true" process="@form"/>
</h:panelGrid>
<p:panelGrid columns="1">
<p:link href="/conference/conferenceList.xhtml" value="Статья участвует в конференции"/>
</p:panelGrid>
</h:panelGrid>
</p:panel>
</ui:define>
</ui:composition>