You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2020/12/16 08:29:51 UTC

[myfaces-tobago] branch tobago-2.x updated (4982af8 -> bd116a5)

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

lofwyr pushed a change to branch tobago-2.x
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git.


    from 4982af8  TOBAGO-2062 - Tobago2: Navigation after ajax request not working on immediate: deltaspike.js
     new bd6251d  layout code
     new bd116a5  set Java compiler version to 8 to fail early

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:
 pom.xml                                                          | 8 ++++----
 .../renderkit/html/standard/standard/script/tobago-deltaspike.js | 9 ++++++---
 2 files changed, 10 insertions(+), 7 deletions(-)


[myfaces-tobago] 02/02: set Java compiler version to 8 to fail early

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

lofwyr pushed a commit to branch tobago-2.x
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git

commit bd116a5e59d29a41bbfebbca3ef60688c267799e
Author: Udo Schnurpfeil <ud...@irian.eu>
AuthorDate: Wed Dec 16 09:26:20 2020 +0100

    set Java compiler version to 8 to fail early
---
 pom.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/pom.xml b/pom.xml
index 0edddad..393229a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -667,8 +667,8 @@
                   </unCheckedPlugins>
                 </requirePluginVersions>
                 <requireJavaVersion>
-                  <message>Tobago must be compiled with Java 8 or higher</message>
-                  <version>[1.8,)</version>
+                  <message>Tobago must be compiled with Java 8</message>
+                  <version>[1.8.0-100,1.8.0-999]</version>
                 </requireJavaVersion>
               </rules>
             </configuration>
@@ -1141,8 +1141,8 @@
                 <configuration>
                   <rules>
                     <requireJavaVersion>
-                      <message>Tobago must be compiled with Java 8 or higher</message>
-                      <version>[1.8,)</version>
+                      <message>Tobago must be compiled with Java 8</message>
+                      <version>[1.8.0-100,1.8.0-999]</version>
                     </requireJavaVersion>
                   </rules>
                 </configuration>


[myfaces-tobago] 01/02: layout code

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

lofwyr pushed a commit to branch tobago-2.x
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git

commit bd6251da01dd09d056d1b823bd3a113416536a9d
Author: Udo Schnurpfeil <ud...@irian.eu>
AuthorDate: Wed Dec 9 16:02:00 2020 +0100

    layout code
---
 .../renderkit/html/standard/standard/script/tobago-deltaspike.js | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-deltaspike.js b/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-deltaspike.js
index 967d0ba..3e71865 100644
--- a/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-deltaspike.js
+++ b/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-deltaspike.js
@@ -54,7 +54,8 @@ window.dswh = window.dswh || {
         dswh.initialized = true;
 
         dswh.utils.log('------- DeltaSpike windowhandler.js -------');
-        dswh.utils.log('--- #init(\'' + windowId + '\', \'' + clientWindowRenderMode + '\',' + maxWindowIdLength + ',' + dswh.utils.stringify(cfg) + ')');
+        dswh.utils.log('--- #init(\'' + windowId + '\', \'' + clientWindowRenderMode + '\','
+            + maxWindowIdLength + ',' + dswh.utils.stringify(cfg) + ')');
         dswh.utils.log('window.name: ' + window.name);
 
         this.windowId = windowId;
@@ -320,10 +321,12 @@ window.dswh = window.dswh || {
             }
             localStorage.setItem(window.name + '_bodyAttributes', dswh.utils.stringify(attributes));
 
-            var scrollTop = (window.pageYOffset || document.documentElement.scrollTop) - (document.documentElement.clientTop || 0);
+            var scrollTop = (window.pageYOffset
+                || document.documentElement.scrollTop) - (document.documentElement.clientTop || 0);
             localStorage.setItem(window.name + '_scrollTop', scrollTop);
 
-            var scrollLeft = (window.pageXOffset || document.documentElement.scrollLeft) - (document.documentElement.clientLeft || 0);
+            var scrollLeft = (window.pageXOffset
+                || document.documentElement.scrollLeft) - (document.documentElement.clientLeft || 0);
             localStorage.setItem(window.name + '_scrollLeft', scrollLeft);
           },