You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2021/10/02 06:40:25 UTC
[isis-app-demo] 04/05: associates PetOwner#updateName with new name
property
This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to tag tags/03-07-derived-PetOwner-name
in repository https://gitbox.apache.org/repos/asf/isis-app-demo.git
commit 7302be356804247469c4f74779c3799b9d074aac
Author: Dan Haywood <da...@haywood-associates.co.uk>
AuthorDate: Sat Oct 2 07:12:26 2021 +0100
associates PetOwner#updateName with new name property
---
.../src/main/java/petclinic/modules/pets/dom/petowner/PetOwner.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/module-pets/src/main/java/petclinic/modules/pets/dom/petowner/PetOwner.java b/module-pets/src/main/java/petclinic/modules/pets/dom/petowner/PetOwner.java
index 09a32b4..11de65e 100644
--- a/module-pets/src/main/java/petclinic/modules/pets/dom/petowner/PetOwner.java
+++ b/module-pets/src/main/java/petclinic/modules/pets/dom/petowner/PetOwner.java
@@ -130,7 +130,7 @@ public class PetOwner implements Comparable<PetOwner> {
@Action(semantics = IDEMPOTENT, commandPublishing = Publishing.ENABLED, executionPublishing = Publishing.ENABLED)
- @ActionLayout(associateWith = "lastName")
+ @ActionLayout(associateWith = "name")
public PetOwner updateName(
@LastName final String lastName,
@FirstName final String firstName) {