From commits-return-53847-apmail-myfaces-commits-archive=myfaces.apache.org@myfaces.apache.org Tue Feb 18 10:08:58 2014 Return-Path: X-Original-To: apmail-myfaces-commits-archive@www.apache.org Delivered-To: apmail-myfaces-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1039D109A7 for ; Tue, 18 Feb 2014 10:08:58 +0000 (UTC) Received: (qmail 49224 invoked by uid 500); 18 Feb 2014 10:08:56 -0000 Delivered-To: apmail-myfaces-commits-archive@myfaces.apache.org Received: (qmail 49114 invoked by uid 500); 18 Feb 2014 10:08:50 -0000 Mailing-List: contact commits-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list commits@myfaces.apache.org Received: (qmail 49106 invoked by uid 99); 18 Feb 2014 10:08:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Feb 2014 10:08:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Feb 2014 10:08:44 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 9DE34238889B; Tue, 18 Feb 2014 10:08:22 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r1569249 - in /myfaces/tobago/branches/tobago-3.0.x: tobago-core/src/main/java/org/apache/myfaces/tobago/context/ tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/clientConfig/ tobago-example/tobago-ex... Date: Tue, 18 Feb 2014 10:08:22 -0000 To: commits@myfaces.apache.org From: lofwyr@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140218100822.9DE34238889B@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: lofwyr Date: Tue Feb 18 10:08:21 2014 New Revision: 1569249 URL: http://svn.apache.org/r1569249 Log: TOBAGO-1367: Remove debugMode from ClientProperties Removed: myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-test/src/main/java/org/apache/myfaces/tobago/example/test/DebugModePhaseListener.java Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/context/ClientProperties.java myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/clientConfig/ClientConfigController.java myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/tags/layout/overview.tag myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/tags/layout/overview.xhtml myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/10-locale/locale.xhtml myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/demo.js myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/tobago-resource/html/standard/standard/property/overview.properties.xml myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/tobago-resource/html/standard/standard/property/overview_de.properties.xml myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-test/src/main/java/org/apache/myfaces/tobago/example/test/ClientConfigController.java myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-test/src/main/webapp/WEB-INF/faces-config.xml Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/context/ClientProperties.java URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/context/ClientProperties.java?rev=1569249&r1=1569248&r2=1569249&view=diff ============================================================================== --- myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/context/ClientProperties.java (original) +++ myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/context/ClientProperties.java Tue Feb 18 10:08:21 2014 @@ -56,6 +56,9 @@ public class ClientProperties implements private String contentType = "html"; private Theme theme; private UserAgent userAgent = UserAgent.DEFAULT; + + /** @deprecated since Tobago 3.0 */ + @Deprecated private boolean debugMode; private Measure verticalScrollbarWeight; @@ -129,10 +132,14 @@ public class ClientProperties implements reset(); } + /** @deprecated since Tobago 3.0 */ + @Deprecated public boolean isDebugMode() { return debugMode; } + /** @deprecated since Tobago 3.0 */ + @Deprecated public void setDebugMode(final boolean debugMode) { this.debugMode = debugMode; } Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/clientConfig/ClientConfigController.java URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/clientConfig/ClientConfigController.java?rev=1569249&r1=1569248&r2=1569249&view=diff ============================================================================== --- myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/clientConfig/ClientConfigController.java (original) +++ myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/clientConfig/ClientConfigController.java Tue Feb 18 10:08:21 2014 @@ -92,18 +92,12 @@ public class ClientConfigController { // ///////////////////////////////////////////// logic public void storeInClientProperties() { - final ClientProperties client - = VariableResolverUtils.resolveClientProperties(FacesContext.getCurrentInstance()); - - client.setDebugMode(debugMode); + final ClientProperties client = VariableResolverUtils.resolveClientProperties(FacesContext.getCurrentInstance()); client.setTheme(theme); } public void loadFromClientProperties() { - final ClientProperties client - = VariableResolverUtils.resolveClientProperties(FacesContext.getCurrentInstance()); - - debugMode = client.isDebugMode(); + final ClientProperties client = VariableResolverUtils.resolveClientProperties(FacesContext.getCurrentInstance()); theme = client.getTheme(); } @@ -145,14 +139,6 @@ public class ClientConfigController { .getVariableResolver().resolveVariable(facesContext, beanName); } - public boolean isDebugMode() { - return debugMode; - } - - public void setDebugMode(final boolean debugMode) { - this.debugMode = debugMode; - } - public Theme getTheme() { return theme; } Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/tags/layout/overview.tag URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/tags/layout/overview.tag?rev=1569249&r1=1569248&r2=1569249&view=diff ============================================================================== --- myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/tags/layout/overview.tag (original) +++ myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/tags/layout/overview.tag Tue Feb 18 10:08:21 2014 @@ -42,10 +42,6 @@ - <%-- todo: may have something like immediate="true", but in this case, the value will not switched --%> - @@ -54,8 +50,6 @@ onclick="alert('#{overviewBundle.pageTitle}' + String.fromCharCode(10) + '#{info.version}' + String.fromCharCode(10) + '#{overviewBundle.tobago_url}' + String.fromCharCode(10))" label="#{overviewBundle.menu_about}"/> - Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/tags/layout/overview.xhtml URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/tags/layout/overview.xhtml?rev=1569249&r1=1569248&r2=1569249&view=diff ============================================================================== --- myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/tags/layout/overview.xhtml (original) +++ myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/tags/layout/overview.xhtml Tue Feb 18 10:08:21 2014 @@ -44,10 +44,6 @@ - - @@ -57,10 +53,6 @@ value="#{overviewBundle.pageTitle} - #{info.version} - #{overviewBundle.tobago_url}"/> - - - Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/10-locale/locale.xhtml URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/10-locale/locale.xhtml?rev=1569249&r1=1569248&r2=1569249&view=diff ============================================================================== --- myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/10-locale/locale.xhtml (original) +++ myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/content/10-locale/locale.xhtml Tue Feb 18 10:08:21 2014 @@ -52,9 +52,5 @@ - - - Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/demo.js URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/demo.js?rev=1569249&r1=1569248&r2=1569249&view=diff ============================================================================== --- myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/demo.js (original) +++ myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/demo.js Tue Feb 18 10:08:21 2014 @@ -26,20 +26,10 @@ }); } }); - $.widget("demo.show", { - _create: function () { - this._on({ - click: function (event) { - LOG.show(); - } - }); - } - }); }(jQuery)); var initAlert = function () { jQuery("[data-alert-text]").alert(); - jQuery("[data-show-log]").show(); }; Tobago.registerListener(initAlert, Tobago.Phase.DOCUMENT_READY); Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/tobago-resource/html/standard/standard/property/overview.properties.xml URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/tobago-resource/html/standard/standard/property/overview.properties.xml?rev=1569249&r1=1569248&r2=1569249&view=diff ============================================================================== --- myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/tobago-resource/html/standard/standard/property/overview.properties.xml (original) +++ myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/tobago-resource/html/standard/standard/property/overview.properties.xml Tue Feb 18 10:08:21 2014 @@ -32,9 +32,7 @@ _Help _Themes _Locale - Debug Mode About - Show log Panel Overview Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/tobago-resource/html/standard/standard/property/overview_de.properties.xml URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/tobago-resource/html/standard/standard/property/overview_de.properties.xml?rev=1569249&r1=1569248&r2=1569249&view=diff ============================================================================== --- myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/tobago-resource/html/standard/standard/property/overview_de.properties.xml (original) +++ myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-demo/src/main/webapp/tobago-resource/html/standard/standard/property/overview_de.properties.xml Tue Feb 18 10:08:21 2014 @@ -28,9 +28,7 @@ _Hilfe _Themes _Sprachen - Debug Modus Über - Zeige Log Panel Übersicht Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-test/src/main/java/org/apache/myfaces/tobago/example/test/ClientConfigController.java URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-test/src/main/java/org/apache/myfaces/tobago/example/test/ClientConfigController.java?rev=1569249&r1=1569248&r2=1569249&view=diff ============================================================================== --- myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-test/src/main/java/org/apache/myfaces/tobago/example/test/ClientConfigController.java (original) +++ myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-test/src/main/java/org/apache/myfaces/tobago/example/test/ClientConfigController.java Tue Feb 18 10:08:21 2014 @@ -74,16 +74,11 @@ public class ClientConfigController { public void storeInClientProperties() { final ClientProperties client = VariableResolverUtils.resolveClientProperties(FacesContext.getCurrentInstance()); - - client.setDebugMode(debugMode); client.setTheme(theme); } public void loadFromClientProperties() { - final ClientProperties client - = VariableResolverUtils.resolveClientProperties(FacesContext.getCurrentInstance()); - - debugMode = client.isDebugMode(); + final ClientProperties client = VariableResolverUtils.resolveClientProperties(FacesContext.getCurrentInstance()); theme = client.getTheme(); } Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-test/src/main/webapp/WEB-INF/faces-config.xml URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-test/src/main/webapp/WEB-INF/faces-config.xml?rev=1569249&r1=1569248&r2=1569249&view=diff ============================================================================== --- myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-test/src/main/webapp/WEB-INF/faces-config.xml (original) +++ myfaces/tobago/branches/tobago-3.0.x/tobago-example/tobago-example-test/src/main/webapp/WEB-INF/faces-config.xml Tue Feb 18 10:08:21 2014 @@ -23,12 +23,6 @@ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd" version="2.0"> - - - org.apache.myfaces.tobago.example.test.DebugModePhaseListener - - - org.apache.myfaces.tobago.example.test.TestExceptionHandlerFactory