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 9824b3187b5346a4eeab616d02ed9382e9e7d4e8
Author: Dan Haywood <[email protected]>
AuthorDate: Sun May 26 09:47:36 2024 +0100

    associates name 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 7628a8a..c0bed31 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
@@ -128,7 +128,6 @@ public class PetOwner implements Comparable<PetOwner>, 
CalendarEventable {
     @Name
     @Column(length = Name.MAX_LEN, nullable = false, name = "name")
     @Getter @Setter @ToString.Include
-    @PropertyLayout(fieldSetId = LayoutConstants.FieldSetId.IDENTITY, sequence 
= "1")
     private String name;
 
     @Column(length = 40, nullable = true, name = "knownAs")
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 4685a59..8dd719b 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
@@ -17,7 +17,9 @@
                         <bs3:tab name="Identity">
                             <bs3:row>
                                 <bs3:col span="12">
-                                    <cpt:fieldSet name="Identity" 
id="identity"/>
+                                    <cpt:fieldSet name="Identity" 
id="identity">
+                                        <cpt:property id="name"/>
+                                    </cpt:fieldSet>
                                 </bs3:col>
                             </bs3:row>
                         </bs3:tab>

Reply via email to