add side commands

merge-requests/119/head
Anton Romanov 5 years ago
parent ac6bd13c6c
commit 107ddb90ac

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

Loading…
Cancel
Save