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

    associates knownAs 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 c0bed31..4d619c8 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
@@ -133,7 +133,6 @@ public class PetOwner implements Comparable<PetOwner>, 
CalendarEventable {
     @Column(length = 40, nullable = true, name = "knownAs")
     @Getter @Setter
     @Property(editing = Editing.ENABLED)
-    @PropertyLayout(fieldSetId = LayoutConstants.FieldSetId.IDENTITY, sequence 
= "1.1")
     private String knownAs;
 
     @PhoneNumber
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 8dd719b..e6a3dfe 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
@@ -19,6 +19,7 @@
                                 <bs3:col span="12">
                                     <cpt:fieldSet name="Identity" 
id="identity">
                                         <cpt:property id="name"/>
+                                        <cpt:property id="knownAs"/>
                                     </cpt:fieldSet>
                                 </bs3:col>
                             </bs3:row>

Reply via email to