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/07/05 06:54:59 UTC

[6/8] isis git commit: ISIS-1335: changes liveReload logging config, disables by default in the simpleapp.

ISIS-1335: changes liveReload logging config, disables by default in the simpleapp.

Also adds a note in the doc that this plugin can occasionally - it would seem - interfere with Wicket viewer's ajax, making tabs unresponsive.


Project: http://git-wip-us.apache.org/repos/asf/isis/repo
Commit: http://git-wip-us.apache.org/repos/asf/isis/commit/4caa85bb
Tree: http://git-wip-us.apache.org/repos/asf/isis/tree/4caa85bb
Diff: http://git-wip-us.apache.org/repos/asf/isis/diff/4caa85bb

Branch: refs/heads/master
Commit: 4caa85bb26f801ff81f90bfb40f2ff614fbcdfce
Parents: 0d90648
Author: Dan Haywood <da...@haywood-associates.co.uk>
Authored: Tue Jul 5 07:40:02 2016 +0100
Committer: Dan Haywood <da...@haywood-associates.co.uk>
Committed: Tue Jul 5 07:40:02 2016 +0100

----------------------------------------------------------------------
 .../src/main/asciidoc/guides/_dg_ide_intellij.adoc            | 7 +++++++
 .../webapp/src/main/webapp/WEB-INF/viewer_wicket.properties   | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/isis/blob/4caa85bb/adocs/documentation/src/main/asciidoc/guides/_dg_ide_intellij.adoc
----------------------------------------------------------------------
diff --git a/adocs/documentation/src/main/asciidoc/guides/_dg_ide_intellij.adoc b/adocs/documentation/src/main/asciidoc/guides/_dg_ide_intellij.adoc
index 6fd163d..65e9aa0 100644
--- a/adocs/documentation/src/main/asciidoc/guides/_dg_ide_intellij.adoc
+++ b/adocs/documentation/src/main/asciidoc/guides/_dg_ide_intellij.adoc
@@ -571,6 +571,13 @@ The framework will automatically notice any changes to `.layout.xml` files, but
 the classpath (the `target/classes` directory), not the source path.  With IntelliJ these can be copied over manually
 by invoking `Run > Reload Changed Classes`.  Once the browser is refreshed, the new layout will be rendered.
 
+[NOTE]
+====
+We've occasionally noticed that this interferes with Wicket's own javascript - switching tabs becomes unresponsive.
+ The work-around is just to reload the page.
+====
+
+
 To reduce the turn-around time there are therefore two steps to be automated:
 
 * the copying of the `.layout.xml` files over to the `target/classes` directory

http://git-wip-us.apache.org/repos/asf/isis/blob/4caa85bb/example/application/simpleapp/webapp/src/main/webapp/WEB-INF/viewer_wicket.properties
----------------------------------------------------------------------
diff --git a/example/application/simpleapp/webapp/src/main/webapp/WEB-INF/viewer_wicket.properties b/example/application/simpleapp/webapp/src/main/webapp/WEB-INF/viewer_wicket.properties
index 27b07ca..5ed15f9 100644
--- a/example/application/simpleapp/webapp/src/main/webapp/WEB-INF/viewer_wicket.properties
+++ b/example/application/simpleapp/webapp/src/main/webapp/WEB-INF/viewer_wicket.properties
@@ -102,7 +102,7 @@ isis.viewer.wicket.themes.showChooser=true
 #
 # enable liveReload.  For example, use with gradle -t -b liveReload.gradle --offline &
 #
-isis.viewer.wicket.liveReloadUrl=http://localhost:35729/livereload.js?snipver=1
+#isis.viewer.wicket.liveReloadUrl=http://localhost:35729/livereload.js?snipver=1