create on submit
This commit is contained in:
parent
52d6210875
commit
0bb9768bda
@ -13,6 +13,8 @@
|
|||||||
<div class="ui-fluid">
|
<div class="ui-fluid">
|
||||||
<div class="ui-g">
|
<div class="ui-g">
|
||||||
<div class="ui-md-3 ui-g-12">
|
<div class="ui-md-3 ui-g-12">
|
||||||
|
<p:commandButton action="#{papersView.create}" value="Создать" ajax="true" process="@form"
|
||||||
|
update="messages @form mainForm:papersTable" style="display: none"/>
|
||||||
<p:commandButton value="Удалить выделенные" id="papersRemoveButton"
|
<p:commandButton value="Удалить выделенные" id="papersRemoveButton"
|
||||||
disabled="#{papersView.selectedPapers.isEmpty()}"
|
disabled="#{papersView.selectedPapers.isEmpty()}"
|
||||||
action="#{papersView.deleteSelected}" ajax="true" process="@form"
|
action="#{papersView.deleteSelected}" ajax="true" process="@form"
|
||||||
@ -30,8 +32,6 @@
|
|||||||
<p:inputText placeholder="Создать новую статью" value="#{papersView.newPaperTitle}"/>
|
<p:inputText placeholder="Создать новую статью" value="#{papersView.newPaperTitle}"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="ui-md-2 ui-g-12">
|
<div class="ui-md-2 ui-g-12">
|
||||||
<p:commandButton action="#{papersView.create}" value="Создать" ajax="true" process="@form"
|
|
||||||
update="messages @form mainForm:papersTable"/>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user