You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by jo...@apache.org on 2023/06/23 23:51:40 UTC
[causeway] branch kvision-6-upgrade updated: CAUSEWAY-3264 docker-compose.yml added for easy spin up of backend
This is an automated email from the ASF dual-hosted git repository.
joergrade pushed a commit to branch kvision-6-upgrade
in repository https://gitbox.apache.org/repos/asf/causeway.git
The following commit(s) were added to refs/heads/kvision-6-upgrade by this push:
new dead389d4c CAUSEWAY-3264 docker-compose.yml added for easy spin up of backend
dead389d4c is described below
commit dead389d4c1d12f4101159ab36df3413c9b46fb4
Author: Jörg Rade <jo...@kuehne-nagel.com>
AuthorDate: Sat Jun 24 01:51:16 2023 +0200
CAUSEWAY-3264 docker-compose.yml added for easy spin up of backend
---
incubator/clients/kroviz/docker/docker-compose.yml | 11 +++++++++++
.../org/apache/causeway/client/kroviz/core/model/Exposer.kt | 6 +++---
.../org/apache/causeway/client/kroviz/ui/core/RoTable.kt | 4 +++-
3 files changed, 17 insertions(+), 4 deletions(-)
diff --git a/incubator/clients/kroviz/docker/docker-compose.yml b/incubator/clients/kroviz/docker/docker-compose.yml
new file mode 100644
index 0000000000..d2910f6c30
--- /dev/null
+++ b/incubator/clients/kroviz/docker/docker-compose.yml
@@ -0,0 +1,11 @@
+# in ~/causeway/incubator/clients/kroviz/docker/ execute
+# $ sudo docker-compose up
+version: "3"
+
+services:
+ causeway-app-demo:
+ image: apache/causeway-app-demo-jpa:latest
+ ports:
+ - "8080:8080"
+ environment:
+ - PROTOTYPING=true
diff --git a/incubator/clients/kroviz/src/main/kotlin/org/apache/causeway/client/kroviz/core/model/Exposer.kt b/incubator/clients/kroviz/src/main/kotlin/org/apache/causeway/client/kroviz/core/model/Exposer.kt
index 2273da6571..9ef70c786a 100644
--- a/incubator/clients/kroviz/src/main/kotlin/org/apache/causeway/client/kroviz/core/model/Exposer.kt
+++ b/incubator/clients/kroviz/src/main/kotlin/org/apache/causeway/client/kroviz/core/model/Exposer.kt
@@ -47,6 +47,8 @@ class Exposer(val delegate: TObject) {
val member = m.value
if (member.memberType == MemberType.PROPERTY.type) {
val realValue = member.value
+ console.log("[E_init]")
+ console.log(realValue)
if (realValue != null) {
that[member.id] = realValue.content
}
@@ -78,6 +80,4 @@ class Exposer(val delegate: TObject) {
}
@Serializable
-class Exhibit(val url: String) {
-
-}
\ No newline at end of file
+class Exhibit(val url: String) {}
\ No newline at end of file
diff --git a/incubator/clients/kroviz/src/main/kotlin/org/apache/causeway/client/kroviz/ui/core/RoTable.kt b/incubator/clients/kroviz/src/main/kotlin/org/apache/causeway/client/kroviz/ui/core/RoTable.kt
index dae51e979c..1658182640 100644
--- a/incubator/clients/kroviz/src/main/kotlin/org/apache/causeway/client/kroviz/ui/core/RoTable.kt
+++ b/incubator/clients/kroviz/src/main/kotlin/org/apache/causeway/client/kroviz/ui/core/RoTable.kt
@@ -67,11 +67,13 @@ class RoTable(displayCollection: CollectionDM) : SimplePanel() {
}
}
add(tabulator)
+ console.log("[RT_init]")
+ console.log(tabulator)
}
@OptIn(InternalSerializationApi::class)
private fun createTabulator(
- data: MutableList<Exhibit>,
+ data: MutableList<dynamic>,
options: TabulatorOptions<dynamic>
): Tabulator<dynamic> {
val dataUpdateOnEdit = true