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/07/26 05:27:55 UTC

[isis-app-simpleapp] branch jpa-SNAPSHOT updated (adb41c0 -> b29ec0a)

This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a change to branch jpa-SNAPSHOT
in repository https://gitbox.apache.org/repos/asf/isis-app-simpleapp.git.


    from adb41c0  tiny update to menbars.layout.xml
     new 6444c44  updates parent pom to 2.0.0-SNAPSHOT
     new b29ec0a  adds example usage of columnOrders; uses @Title instead of title()

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../modules/simple/dom/so/SimpleObject#others.columnOrder.txt       | 2 ++
 .../domainapp/modules/simple/dom/so/SimpleObject.columnOrder.txt    | 2 ++
 .../src/main/java/domainapp/modules/simple/dom/so/SimpleObject.java | 6 ++----
 pom.xml                                                             | 4 ++--
 4 files changed, 8 insertions(+), 6 deletions(-)
 create mode 100644 module-simple/src/main/java/domainapp/modules/simple/dom/so/SimpleObject#others.columnOrder.txt
 create mode 100644 module-simple/src/main/java/domainapp/modules/simple/dom/so/SimpleObject.columnOrder.txt

[isis-app-simpleapp] 02/02: adds example usage of columnOrders; uses @Title instead of title()

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch jpa-SNAPSHOT
in repository https://gitbox.apache.org/repos/asf/isis-app-simpleapp.git

commit b29ec0af12d6d67a55c05e6e4b4f161ab7c7b452
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Mon Jul 26 06:26:45 2021 +0100

    adds example usage of columnOrders; uses @Title instead of title()
    
    updates parent pom to 2.0.0-M5.20210724-1447-cdcc665b
---
 .../domainapp/modules/simple/dom/so/SimpleObject.columnOrder.txt    | 2 ++
 .../src/main/java/domainapp/modules/simple/dom/so/SimpleObject.java | 6 ++----
 pom.xml                                                             | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/module-simple/src/main/java/domainapp/modules/simple/dom/so/SimpleObject.columnOrder.txt b/module-simple/src/main/java/domainapp/modules/simple/dom/so/SimpleObject.columnOrder.txt
index e69de29..dbf267a 100644
--- a/module-simple/src/main/java/domainapp/modules/simple/dom/so/SimpleObject.columnOrder.txt
+++ b/module-simple/src/main/java/domainapp/modules/simple/dom/so/SimpleObject.columnOrder.txt
@@ -0,0 +1,2 @@
+name
+#version
\ No newline at end of file
diff --git a/module-simple/src/main/java/domainapp/modules/simple/dom/so/SimpleObject.java b/module-simple/src/main/java/domainapp/modules/simple/dom/so/SimpleObject.java
index b3089e9..094b99b 100644
--- a/module-simple/src/main/java/domainapp/modules/simple/dom/so/SimpleObject.java
+++ b/module-simple/src/main/java/domainapp/modules/simple/dom/so/SimpleObject.java
@@ -13,6 +13,7 @@ import org.apache.isis.applib.annotation.PromptStyle;
 import org.apache.isis.applib.annotation.Property;
 import org.apache.isis.applib.annotation.PropertyLayout;
 import org.apache.isis.applib.annotation.Publishing;
+import org.apache.isis.applib.annotation.Title;
 import org.apache.isis.applib.jaxb.PersistentEntityAdapter;
 import org.apache.isis.applib.services.message.MessageService;
 import org.apache.isis.applib.services.repository.RepositoryService;
@@ -80,11 +81,8 @@ public class SimpleObject implements Comparable<SimpleObject> {
     @Inject @javax.persistence.Transient MessageService messageService;
 
 
-    public String title() {
-        return "Object: " + getName();
-    }
-
 
+    @Title
     @Name
     @javax.persistence.Column(length = Name.MAX_LEN, nullable = false)
     @Getter @Setter @ToString.Include
diff --git a/pom.xml b/pom.xml
index df02610..fdecb38 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
     <parent>
         <groupId>org.apache.isis.app</groupId>
         <artifactId>isis-app-starter-parent</artifactId>
-        <version>2.0.0-M5.20210713-0226-85ec9782</version>
+        <version>2.0.0-M5.20210724-1447-cdcc665b</version>
         <relativePath/>
     </parent>
 
@@ -19,7 +19,7 @@
     <packaging>pom</packaging>
 
     <properties>
-        <isis.version>2.0.0-SNAPSHOT</isis.version>
+        <isis.version>2.0.0-M5.20210724-1447-cdcc665b</isis.version>
         <java.version>11</java.version>
         <maven-cucumber-reporting.version>5.3.0</maven-cucumber-reporting.version>
         <archunit.version>0.14.1</archunit.version>

[isis-app-simpleapp] 01/02: updates parent pom to 2.0.0-SNAPSHOT

Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

danhaywood pushed a commit to branch jpa-SNAPSHOT
in repository https://gitbox.apache.org/repos/asf/isis-app-simpleapp.git

commit 6444c445d5ee594fcaaab3810c0886dc0e669ff1
Author: danhaywood <da...@haywood-associates.co.uk>
AuthorDate: Thu Jul 22 06:09:59 2021 +0100

    updates parent pom to 2.0.0-SNAPSHOT
---
 .../domainapp/modules/simple/dom/so/SimpleObject#others.columnOrder.txt | 2 ++
 .../java/domainapp/modules/simple/dom/so/SimpleObject.columnOrder.txt   | 0
 2 files changed, 2 insertions(+)

diff --git a/module-simple/src/main/java/domainapp/modules/simple/dom/so/SimpleObject#others.columnOrder.txt b/module-simple/src/main/java/domainapp/modules/simple/dom/so/SimpleObject#others.columnOrder.txt
new file mode 100644
index 0000000..ebc8999
--- /dev/null
+++ b/module-simple/src/main/java/domainapp/modules/simple/dom/so/SimpleObject#others.columnOrder.txt
@@ -0,0 +1,2 @@
+name
+id
\ No newline at end of file
diff --git a/module-simple/src/main/java/domainapp/modules/simple/dom/so/SimpleObject.columnOrder.txt b/module-simple/src/main/java/domainapp/modules/simple/dom/so/SimpleObject.columnOrder.txt
new file mode 100644
index 0000000..e69de29