You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2008/04/10 12:17:13 UTC

svn commit: r646726 - in /myfaces/tobago/trunk/tobago-jsf-compat/src/main/java/org/apache/myfaces/tobago/compat: FacesUtils.java FacesUtils12.java

Author: bommel
Date: Thu Apr 10 03:16:59 2008
New Revision: 646726

URL: http://svn.apache.org/viewvc?rev=646726&view=rev
Log:
(TOBAGO-637) Generate Components, JSP Tags from annotations

generating the other tags


Modified:
    myfaces/tobago/trunk/tobago-jsf-compat/src/main/java/org/apache/myfaces/tobago/compat/FacesUtils.java
    myfaces/tobago/trunk/tobago-jsf-compat/src/main/java/org/apache/myfaces/tobago/compat/FacesUtils12.java

Modified: myfaces/tobago/trunk/tobago-jsf-compat/src/main/java/org/apache/myfaces/tobago/compat/FacesUtils.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-jsf-compat/src/main/java/org/apache/myfaces/tobago/compat/FacesUtils.java?rev=646726&r1=646725&r2=646726&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-jsf-compat/src/main/java/org/apache/myfaces/tobago/compat/FacesUtils.java (original)
+++ myfaces/tobago/trunk/tobago-jsf-compat/src/main/java/org/apache/myfaces/tobago/compat/FacesUtils.java Thu Apr 10 03:16:59 2008
@@ -97,7 +97,8 @@
           if (LOG.isDebugEnabled()) {
             LOG.debug("Did not found InvokeOnComponent " + child.getClass().getName() + " "
                 + child.getClientId(context) + " "
-                + child.getRendererType() + (child.getParent() != null ? child.getParent().getClass().getName() : "null"));
+                + child.getRendererType() +
+                (child.getParent() != null ? child.getParent().getClass().getName() : "null"));
           }
         }
       } else {
@@ -231,10 +232,8 @@
     }
   }
 
-  public static void addBindingOrExpressionTabChangeListener(TabChangeSource source, String type, Object bindingOrExpression) {
-    System.err.println("########################################");
-    System.err.println("Found JSF Impl " + Integer.toString(facesVersion));
-    System.err.println("########################################");    
+  public static void addBindingOrExpressionTabChangeListener(TabChangeSource source, String type,
+      Object bindingOrExpression) {
     if (facesVersion == 11) {
       source.addTabChangeListener(new ValueBindingTabChangeListener(type, (ValueBinding) bindingOrExpression));
     } else {

Modified: myfaces/tobago/trunk/tobago-jsf-compat/src/main/java/org/apache/myfaces/tobago/compat/FacesUtils12.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-jsf-compat/src/main/java/org/apache/myfaces/tobago/compat/FacesUtils12.java?rev=646726&r1=646725&r2=646726&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-jsf-compat/src/main/java/org/apache/myfaces/tobago/compat/FacesUtils12.java (original)
+++ myfaces/tobago/trunk/tobago-jsf-compat/src/main/java/org/apache/myfaces/tobago/compat/FacesUtils12.java Thu Apr 10 03:16:59 2008
@@ -108,7 +108,8 @@
     }
   }
 
-  public static void addBindingOrExpressionTabChangeListener(TabChangeSource source, String type, Object bindingOrExpression) {
+  public static void addBindingOrExpressionTabChangeListener(TabChangeSource source, String type,
+      Object bindingOrExpression) {
     if (bindingOrExpression instanceof ValueExpression) {
       source.addTabChangeListener(new ValueExpressionTabChangeListener(type, (ValueExpression) bindingOrExpression));
     }