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

    associates notes property with its fieldset using .layout.xml
---
 .../main/java/domainapp/modules/petowner/dom/petowner/PetOwner.java   | 1 -
 .../java/domainapp/modules/petowner/dom/petowner/PetOwner.layout.xml  | 4 +++-
 2 files changed, 3 insertions(+), 2 deletions(-)

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 493d5e3..81411e6 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
@@ -149,7 +149,6 @@ public class PetOwner implements Comparable<PetOwner>, 
CalendarEventable {
     @Column(length = Notes.MAX_LEN, nullable = true)
     @Getter @Setter
     @Property(commandPublishing = Publishing.ENABLED, executionPublishing = 
Publishing.ENABLED)
-    @PropertyLayout(fieldSetId = LayoutConstants.FieldSetId.DETAILS, sequence 
= "2")
     private String 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 dbfd6c5..9d62471 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
@@ -47,7 +47,9 @@
                     </cpt:fieldSet>
                 </bs3:col>
                 <bs3:col span="12">
-                    <cpt:fieldSet name="Details" id="details"/>
+                    <cpt:fieldSet name="Details" id="details">
+                        <cpt:property id="notes"/>
+                    </cpt:fieldSet>
                 </bs3:col>
             </bs3:row>
         </bs3:col>

Reply via email to