Changes
Page history
feat: add validation documentation, first example (create validation, field error)
authored
Sep 28, 2022
by
Vítor E. Silva Souza
Hide whitespace changes
Inline
Side-by-side
tutorials/JButler-CRUD-Tutorial.md
View page @
dc0c0cf8
...
...
@@ -108,7 +108,7 @@ Open the `oldenburg` folder on Visual Studio Code to finish the project setup an
<dependency>
<groupId>
br.ufes.inf.labes
</groupId>
<artifactId>
jbutler
</artifactId>
<version>
2.0
</version>
<version>
2.0
.1
</version>
</dependency>
<dependency>
<groupId>
org.webjars
</groupId>
...
...
@@ -126,50 +126,58 @@ Open the `oldenburg` folder on Visual Studio Code to finish the project setup an
<version>
8.0.27
</version>
<scope>
runtime
</scope>
</dependency>
<dependency>
<groupId>
org.hibernate.orm
</groupId>
<artifactId>
hibernate-jpamodelgen
</artifactId>
<version>
6.1.3.Final
</version>
</dependency>
<dependency>
<groupId>
jakarta.xml.bind
</groupId>
<artifactId>
jakarta.xml.bind-api
</artifactId>
<version>
4.0.0
</version>
<scope>
compile
</scope>
</dependency>
</dependencies>
<build>
<finalName>
oldenburg
</finalName>
<pluginManagement>
<plugins>
<!-- clean lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#clean_Lifecycle -->
<plugin>
<artifactId>
maven-clean-plugin
</artifactId>
<version>
3.
1
.0
</version>
<version>
3.
2
.0
</version>
</plugin>
<!-- default lifecycle, jar packaging: see https://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_jar_packaging -->
<plugin>
<artifactId>
maven-resources-plugin
</artifactId>
<version>
3.
0.2
</version>
<version>
3.
3.0
</version>
</plugin>
<plugin>
<artifactId>
maven-compiler-plugin
</artifactId>
<version>
3.
8.0
</version>
<version>
3.
10.1
</version>
</plugin>
<plugin>
<artifactId>
maven-surefire-plugin
</artifactId>
<version>
2.22.1
</version>
<version>
3.0.0-M7
</version>
</plugin>
<plugin>
<artifactId>
maven-jar-plugin
</artifactId>
<version>
3.
0.2
</version>
<version>
3.
3.0
</version>
</plugin>
<plugin>
<artifactId>
maven-install-plugin
</artifactId>
<version>
2.5.2
</version>
<version>
3.0.1
</version>
</plugin>
<plugin>
<artifactId>
maven-deploy-plugin
</artifactId>
<version>
2.8.2
</version>
<version>
3.0.0
</version>
</plugin>
<!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
<plugin>
<artifactId>
maven-site-plugin
</artifactId>
<version>
3.
7
.1
</version>
<version>
3.
12
.1
</version>
</plugin>
<plugin>
<artifactId>
maven-project-info-reports-plugin
</artifactId>
<version>
3.
0.0
</version>
<version>
3.
4.1
</version>
</plugin>
<plugin>
<artifactId>
maven-war-plugin
</artifactId>
...
...
@@ -986,7 +994,7 @@ The [JButler Base Project](https://gitlab.labes.inf.ufes.br/labes/jbutler-base-p
</p:outputPanel>
<f:facet
name=
"footer"
>
<p:commandButton
value=
"#{msgs['jbutler.crud.button.save']}"
icon=
"pi pi-check"
actionListener=
"#{manageWorkshopsController.save}"
update=
"manage-entity-content"
process=
"manage-entity-content @this"
oncomplete=
"PF('formDialog').hide()"
/>
<p:commandButton
value=
"#{msgs['jbutler.crud.button.save']}"
icon=
"pi pi-check"
actionListener=
"#{manageWorkshopsController.save}"
update=
"manage-entity-content"
process=
"manage-entity-content @this"
oncomplete=
"
if(!args.validationError)
PF('formDialog').hide()"
/>
<p:commandButton
value=
"#{msgs['jbutler.crud.button.cancel']}"
icon=
"pi pi-times"
onclick=
"PF('formDialog').hide()"
/>
</f:facet>
</p:dialog>
...
...
...
...