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 2016/12/10 12:38:44 UTC
[6/8] isis git commit: ISIS-1538: recreating simpleapp archetype
ISIS-1538: recreating simpleapp archetype
Project: http://git-wip-us.apache.org/repos/asf/isis/repo
Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/acb5c8b2
Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/acb5c8b2
Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/acb5c8b2
Branch: refs/heads/master
Commit: acb5c8b2d91988609967cef266f157743000c91c
Parents: 2447b1f
Author: Dan Haywood <da...@haywood-associates.co.uk>
Authored: Sat Dec 10 12:25:18 2016 +0000
Committer: Dan Haywood <da...@haywood-associates.co.uk>
Committed: Sat Dec 10 12:25:18 2016 +0000
----------------------------------------------------------------------
.../application/translations.pot | 27 +-------------------
.../module-simple/translations.pot | 2 +-
.../webapp/WEB-INF/viewer_wicket.properties | 23 ++++++++++++++++-
.../projects/basic/archetype.properties | 2 +-
4 files changed, 25 insertions(+), 29 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/isis/blob/acb5c8b2/example/archetype/simpleapp/src/main/resources/archetype-resources/application/translations.pot
----------------------------------------------------------------------
diff --git a/example/archetype/simpleapp/src/main/resources/archetype-resources/application/translations.pot b/example/archetype/simpleapp/src/main/resources/archetype-resources/application/translations.pot
index e97d6d2..09d9f87 100644
--- a/example/archetype/simpleapp/src/main/resources/archetype-resources/application/translations.pot
+++ b/example/archetype/simpleapp/src/main/resources/archetype-resources/application/translations.pot
@@ -23,7 +23,7 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
-"POT-Creation-Date: 2016-12-01 10:14:01+\n"
+"POT-Creation-Date: 2016-12-10 10:53:28+\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
@@ -101,21 +101,6 @@ msgid "Current Overrides If Any"
msgstr ""
-#: domainapp.modules.simple.dom.impl.SimpleObject#delete()
-msgid "Delete"
-msgstr ""
-
-
-#: domainapp.modules.simple.dom.impl.SimpleObject#downloadJdoMetadata()
-msgid "Download Jdo Metadata"
-msgstr ""
-
-
-#: domainapp.modules.simple.dom.impl.SimpleObject#downloadLayoutXml()
-msgid "Download Layout Xml"
-msgstr ""
-
-
#: org.apache.isis.applib.services.layout.LayoutServiceMenu#downloadLayouts()
msgid "Download Layouts (XML)"
msgstr ""
@@ -337,11 +322,6 @@ msgid "Public"
msgstr ""
-#: domainapp.modules.simple.dom.impl.SimpleObject#rebuildMetamodel()
-msgid "Rebuild Metamodel"
-msgstr ""
-
-
#: org.apache.isis.applib.services.fixturespec.FixtureScriptsDefault#recreateObjectsAndReturnFirst()
msgid "Recreate Objects And Return First"
msgstr ""
@@ -411,11 +391,6 @@ msgid "Switch To Writing Translations"
msgstr ""
-#: domainapp.modules.simple.dom.impl.SimpleObject#updateName()
-msgid "Update Name"
-msgstr ""
-
-
#: org.apache.isis.core.metamodel.services.user.UserServiceDefault$UserAndRoleOverrides#user
msgid "User"
msgstr ""
http://git-wip-us.apache.org/repos/asf/isis/blob/acb5c8b2/example/archetype/simpleapp/src/main/resources/archetype-resources/module-simple/translations.pot
----------------------------------------------------------------------
diff --git a/example/archetype/simpleapp/src/main/resources/archetype-resources/module-simple/translations.pot b/example/archetype/simpleapp/src/main/resources/archetype-resources/module-simple/translations.pot
index 1723c57..42f6074 100644
--- a/example/archetype/simpleapp/src/main/resources/archetype-resources/module-simple/translations.pot
+++ b/example/archetype/simpleapp/src/main/resources/archetype-resources/module-simple/translations.pot
@@ -23,7 +23,7 @@
msgid ""
msgstr ""
"Project-Id-Version: \n"
-"POT-Creation-Date: 2016-12-01 10:14:55+\n"
+"POT-Creation-Date: 2016-12-10 12:24:20+\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
http://git-wip-us.apache.org/repos/asf/isis/blob/acb5c8b2/example/archetype/simpleapp/src/main/resources/archetype-resources/webapp/src/main/webapp/WEB-INF/viewer_wicket.properties
----------------------------------------------------------------------
diff --git a/example/archetype/simpleapp/src/main/resources/archetype-resources/webapp/src/main/webapp/WEB-INF/viewer_wicket.properties b/example/archetype/simpleapp/src/main/resources/archetype-resources/webapp/src/main/webapp/WEB-INF/viewer_wicket.properties
index 2e56399..05deaeb 100644
--- a/example/archetype/simpleapp/src/main/resources/archetype-resources/webapp/src/main/webapp/WEB-INF/viewer_wicket.properties
+++ b/example/archetype/simpleapp/src/main/resources/archetype-resources/webapp/src/main/webapp/WEB-INF/viewer_wicket.properties
@@ -34,13 +34,34 @@ ${symbol_pound}
isis.viewer.wicket.maxTitleLengthInStandaloneTables=0
isis.viewer.wicket.maxTitleLengthInParentedTables=0
+
+${symbol_pound}
+${symbol_pound} in Firefox and more recent versions of Chrome 54+, cannot copy out of disabled fields; instead we use the
+${symbol_pound} readonly attribute (https://www.w3.org/TR/2014/REC-html5-20141028/forms.html${symbol_pound}the-readonly-attribute)
+${symbol_pound} This behaviour is enabled by default but can be disabled using this flag
+${symbol_pound}
+${symbol_pound}isis.viewer.wicket.replaceDisabledTagWithReadonlyTag=true
+
+
+${symbol_pound}
+${symbol_pound} Whether to disable buttons after it has been clicked (for both form submit and no-arg actions), to prevent users
+${symbol_pound} causing an error if they do a double click.
+${symbol_pound} Also, whether to show an indicator alongside the button.
+${symbol_pound}
+${symbol_pound} This behaviour is enabled by default, but can be disabled using this flag.
+${symbol_pound}
+${symbol_pound}isis.viewer.wicket.preventDoubleClickForFormSubmit=true
+${symbol_pound}isis.viewer.wicket.preventDoubleClickForNoArgAction=true
+${symbol_pound}isis.viewer.wicket.useIndicatorForFormSubmit=true
+${symbol_pound}isis.viewer.wicket.useIndicatorForNoArgAction=true
+
+
${symbol_pound}isis.viewer.wicket.datePicker.minDate=1900-01-01T00:00:00.000Z
${symbol_pound}isis.viewer.wicket.datePicker.maxDate=2100-01-01T00:00:00.000Z
${symbol_pound}isis.viewer.wicket.datePattern=dd-MM-yyyy
${symbol_pound}isis.viewer.wicket.dateTimePattern=dd-MM-yyyy HH:mm
-
${symbol_pound}isis.viewer.wicket.datePattern=dd/MM/yy
${symbol_pound}isis.viewer.wicket.dateTimePattern=dd/MM/yy HH:mm
http://git-wip-us.apache.org/repos/asf/isis/blob/acb5c8b2/example/archetype/simpleapp/src/test/resources/projects/basic/archetype.properties
----------------------------------------------------------------------
diff --git a/example/archetype/simpleapp/src/test/resources/projects/basic/archetype.properties b/example/archetype/simpleapp/src/test/resources/projects/basic/archetype.properties
index 28ab8e4..e6d6158 100644
--- a/example/archetype/simpleapp/src/test/resources/projects/basic/archetype.properties
+++ b/example/archetype/simpleapp/src/test/resources/projects/basic/archetype.properties
@@ -1,4 +1,4 @@
-#Thu Dec 01 10:20:13 GMT 2016
+#Sat Dec 10 12:25:12 GMT 2016
package=it.pkg
version=0.1-SNAPSHOT
groupId=archetype.it