You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by da...@apache.org on 2024/05/26 09:53:19 UTC
(causeway-app-petclinic) 04/14: associates emailAddress property with its fieldset using .layout.xml
This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to branch v2
in repository https://gitbox.apache.org/repos/asf/causeway-app-petclinic.git
commit 0bbb055598de54085ee9e5316516e3d80bc692fb
Author: Dan Haywood <da...@haywood-associates.co.uk>
AuthorDate: Sun May 26 10:09:21 2024 +0100
associates emailAddress property with its fieldset using .layout.xml
---
.../src/main/java/domainapp/modules/petowner/dom/petowner/PetOwner.java | 1 -
.../java/domainapp/modules/petowner/dom/petowner/PetOwner.layout.xml | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/module-petowner/src/main/java/domainapp/modules/petowner/dom/petowner/PetOwner.java b/module-petowner/src/main/java/domainapp/modules/petowner/dom/petowner/PetOwner.java
index e0356e9..493d5e3 100644
--- a/module-petowner/src/main/java/domainapp/modules/petowner/dom/petowner/PetOwner.java
+++ b/module-petowner/src/main/java/domainapp/modules/petowner/dom/petowner/PetOwner.java
@@ -143,7 +143,6 @@ public class PetOwner implements Comparable<PetOwner>, CalendarEventable {
@javax.persistence.Embedded
@Getter @Setter
@Property(editing = Editing.ENABLED, optionality = Optionality.OPTIONAL)
- @PropertyLayout(fieldSetId = "contact", sequence = "1.2")
private EmailAddress emailAddress;
@Notes
diff --git a/module-petowner/src/main/java/domainapp/modules/petowner/dom/petowner/PetOwner.layout.xml b/module-petowner/src/main/java/domainapp/modules/petowner/dom/petowner/PetOwner.layout.xml
index 339bf3b..dbfd6c5 100644
--- a/module-petowner/src/main/java/domainapp/modules/petowner/dom/petowner/PetOwner.layout.xml
+++ b/module-petowner/src/main/java/domainapp/modules/petowner/dom/petowner/PetOwner.layout.xml
@@ -43,6 +43,7 @@
<bs3:col span="12">
<cpt:fieldSet name="Contact" id="contact">
<cpt:property id="telephoneNumber"/>
+ <cpt:property id="emailAddress"/>
</cpt:fieldSet>
</bs3:col>
<bs3:col span="12">