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 2013/10/30 00:46:01 UTC

svn commit: r1536932 - in /myfaces/tobago/trunk/tobago-example: tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/clientConfig/ tobago-example-test/src/main/java/org/apache/myfaces/tobago/example/test/

Author: lofwyr
Date: Tue Oct 29 23:46:01 2013
New Revision: 1536932

URL: http://svn.apache.org/r1536932
Log:
compilable

Modified:
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/clientConfig/ClientConfigController.java
    myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/java/org/apache/myfaces/tobago/example/test/ClientConfigController.java

Modified: myfaces/tobago/trunk/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/trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/clientConfig/ClientConfigController.java?rev=1536932&r1=1536931&r2=1536932&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/clientConfig/ClientConfigController.java (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/java/org/apache/myfaces/tobago/example/demo/clientConfig/ClientConfigController.java Tue Oct 29 23:46:01 2013
@@ -97,7 +97,6 @@ public class ClientConfigController {
 
     client.setDebugMode(debugMode);
     client.setTheme(theme);
-    client.setContentType(contentType);
   }
 
   public void loadFromClientProperties() {
@@ -106,7 +105,6 @@ public class ClientConfigController {
 
     debugMode = client.isDebugMode();
     theme = client.getTheme();
-    contentType = client.getContentType();
   }
 
   public List<SelectItem> getLocaleItems() {

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/java/org/apache/myfaces/tobago/example/test/ClientConfigController.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/java/org/apache/myfaces/tobago/example/test/ClientConfigController.java?rev=1536932&r1=1536931&r2=1536932&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/java/org/apache/myfaces/tobago/example/test/ClientConfigController.java (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/java/org/apache/myfaces/tobago/example/test/ClientConfigController.java Tue Oct 29 23:46:01 2013
@@ -77,7 +77,6 @@ public class ClientConfigController {
 
     client.setDebugMode(debugMode);
     client.setTheme(theme);
-    client.setContentType(contentType);
   }
 
   public void loadFromClientProperties() {
@@ -86,7 +85,6 @@ public class ClientConfigController {
 
     debugMode = client.isDebugMode();
     theme = client.getTheme();
-    contentType = client.getContentType();
   }
 
   public List<SelectItem> getLocaleItems() {
@@ -112,12 +110,6 @@ public class ClientConfigController {
     }
   }
 
-  public static ClientConfigController getCurrentInstance(
-      FacesContext facesContext, String beanName) {
-    return (ClientConfigController) facesContext.getApplication()
-        .getVariableResolver().resolveVariable(facesContext, beanName);
-  }
-
   public boolean isDebugMode() {
     return debugMode;
   }