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 51ab36f53197d9c6ba54eb730bafd34e73431cfb
Author: Dan Haywood <[email protected]>
AuthorDate: Sun May 26 10:11:16 2024 +0100

    associates lastVisit 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 81411e6..bcd8a1e 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
@@ -174,7 +174,6 @@ public class PetOwner implements Comparable<PetOwner>, 
CalendarEventable {
 
 
     @Property(optionality = Optionality.OPTIONAL, editing = Editing.ENABLED)
-    @PropertyLayout(fieldSetId = LayoutConstants.FieldSetId.DETAILS, sequence 
= "3")
     @Column(nullable = true)
     @Getter @Setter
     private java.time.LocalDate lastVisit;
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 9d62471..99f66e6 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
@@ -49,6 +49,7 @@
                 <bs3:col span="12">
                     <cpt:fieldSet name="Details" id="details">
                         <cpt:property id="notes"/>
+                        <cpt:property id="lastVisit"/>
                     </cpt:fieldSet>
                 </bs3:col>
             </bs3:row>

Reply via email to