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 2022/07/31 11:07:27 UTC
[isis-app-helloworld] branch jpa-SNAPSHOT updated: ISIS-2965: include applib mixins; cosmetics
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-helloworld.git
The following commit(s) were added to refs/heads/jpa-SNAPSHOT by this push:
new 4366514 ISIS-2965: include applib mixins; cosmetics
4366514 is described below
commit 436651485a41bacced2469c57a609df6d7a38570
Author: Dan Haywood <da...@haywood-associates.co.uk>
AuthorDate: Sun Jul 31 12:07:09 2022 +0100
ISIS-2965: include applib mixins; cosmetics
---
.run/HelloWorldApp.run.xml | 10 ++++++++++
README.adoc | 2 +-
.../modules/hello/dom/hwo/HelloWorldObject.layout.xml | 5 ++++-
src/main/java/domainapp/webapp/AppManifest.java | 5 +++++
src/main/resources/static/css/application.css | 3 +++
5 files changed, 23 insertions(+), 2 deletions(-)
diff --git a/.run/HelloWorldApp.run.xml b/.run/HelloWorldApp.run.xml
new file mode 100644
index 0000000..85d65f3
--- /dev/null
+++ b/.run/HelloWorldApp.run.xml
@@ -0,0 +1,10 @@
+<component name="ProjectRunConfigurationManager">
+ <configuration default="false" name="HelloWorldApp" type="SpringBootApplicationConfigurationType" factoryName="Spring Boot">
+ <option name="ACTIVE_PROFILES" />
+ <module name="helloworld-jpa" />
+ <option name="SPRING_BOOT_MAIN_CLASS" value="domainapp.webapp.HelloWorldApp" />
+ <method v="2">
+ <option name="Make" enabled="true" />
+ </method>
+ </configuration>
+</component>
\ No newline at end of file
diff --git a/README.adoc b/README.adoc
index 93b9c86..a3718ac 100644
--- a/README.adoc
+++ b/README.adoc
@@ -20,7 +20,7 @@ toc::[]
* install prereqs:
-** Java 8 LTS (eg link:https://adoptopenjdk.net/[Adopt OpenJDK] distribution)
+** Java 11 LTS (eg link:https://adoptopenjdk.net/[Adopt OpenJDK] distribution)
** Maven 3.6 or later (http://maven.apache.org/download.cgi[download])
* download and unzip
+
diff --git a/src/main/java/domainapp/modules/hello/dom/hwo/HelloWorldObject.layout.xml b/src/main/java/domainapp/modules/hello/dom/hwo/HelloWorldObject.layout.xml
index dd54afa..019f38d 100644
--- a/src/main/java/domainapp/modules/hello/dom/hwo/HelloWorldObject.layout.xml
+++ b/src/main/java/domainapp/modules/hello/dom/hwo/HelloWorldObject.layout.xml
@@ -14,7 +14,10 @@
<bs3:tab name="Identity">
<bs3:row>
<bs3:col span="12">
- <c:fieldSet name="Identity" id="identity"/>
+ <c:fieldSet name="Identity" id="identity">
+ <c:action id="clearHints" position="PANEL_DROPDOWN"/>
+ <c:action id="delete" position="PANEL"/>
+ </c:fieldSet>
</bs3:col>
</bs3:row>
</bs3:tab>
diff --git a/src/main/java/domainapp/webapp/AppManifest.java b/src/main/java/domainapp/webapp/AppManifest.java
index 007de0f..4f2e6cd 100644
--- a/src/main/java/domainapp/webapp/AppManifest.java
+++ b/src/main/java/domainapp/webapp/AppManifest.java
@@ -5,6 +5,8 @@ import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;
import org.springframework.context.annotation.PropertySources;
+import org.apache.isis.applib.IsisModuleApplibChangeAndExecutionLoggers;
+import org.apache.isis.applib.IsisModuleApplibMixins;
import org.apache.isis.core.config.presets.IsisPresets;
import org.apache.isis.core.runtimeservices.IsisModuleCoreRuntimeServices;
import org.apache.isis.persistence.jpa.eclipselink.IsisModulePersistenceJpaEclipselink;
@@ -17,6 +19,9 @@ import domainapp.modules.hello.HelloWorldModule;
@Configuration
@Import({
+ IsisModuleApplibMixins.class,
+ IsisModuleApplibChangeAndExecutionLoggers.class,
+
IsisModuleCoreRuntimeServices.class,
IsisModuleSecurityShiro.class,
IsisModulePersistenceJpaEclipselink.class,
diff --git a/src/main/resources/static/css/application.css b/src/main/resources/static/css/application.css
index e69de29..888fac0 100644
--- a/src/main/resources/static/css/application.css
+++ b/src/main/resources/static/css/application.css
@@ -0,0 +1,3 @@
+body > nav > div > a > img {
+ height: 32px;
+}