You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by pr...@apache.org on 2006/03/25 00:08:04 UTC

svn commit: r388673 - in /myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom: ajax/api/AjaxDecodePhaseListener.java ajax/util/AjaxRendererUtils.java inputAjax/HtmlSelectManyCheckboxAjax.java

Author: prophecy
Date: Fri Mar 24 15:08:02 2006
New Revision: 388673

URL: http://svn.apache.org/viewcvs?rev=388673&view=rev
Log:
removed system.out's

Modified:
    myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajax/api/AjaxDecodePhaseListener.java
    myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajax/util/AjaxRendererUtils.java
    myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/inputAjax/HtmlSelectManyCheckboxAjax.java

Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajax/api/AjaxDecodePhaseListener.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajax/api/AjaxDecodePhaseListener.java?rev=388673&r1=388672&r2=388673&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajax/api/AjaxDecodePhaseListener.java (original)
+++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajax/api/AjaxDecodePhaseListener.java Fri Mar 24 15:08:02 2006
@@ -80,7 +80,7 @@
             UIViewRoot root = context.getViewRoot();
             //DebugUtils.printView(root, System.out);
             Map requestMap = context.getExternalContext().getRequestParameterMap();
-            System.out.println("REQUEST MAP: " + mapToString(requestMap));
+            //System.out.println("REQUEST MAP: " + mapToString(requestMap));
             String affectedAjaxComponent = (String) requestMap.get("affectedAjaxComponent");
 
             UIComponent ajaxComponent = root.findComponent(affectedAjaxComponent);
@@ -98,13 +98,13 @@
                 //String elname = (String) requestMap.get("elname");
                 FormInfo fi = _ComponentUtils.findNestingForm(ajaxComponent, context);
                 UIComponent form = fi.getForm();
-                System.out.println("FOUND FORM: " + form);
+                //System.out.println("FOUND FORM: " + form);
                 if (form != null)
                 {
                     form.processDecodes(context);
                     form.processValidators(context);
                     form.processUpdates(context);
-                    System.out.println("DONE!");
+                    //System.out.println("DONE!");
                 }
 
             }
@@ -162,7 +162,7 @@
                         //String elname = (String) requestMap.get("elname");
                         FormInfo fi = _ComponentUtils.findNestingForm(ajaxComponent, context);
                         UIComponent form = fi.getForm();
-                        System.out.println("FOUND FORM: " + form);
+                        //System.out.println("FOUND FORM: " + form);
                         if (form != null)
                         {
                             // special case, add responses from all components in form
@@ -206,11 +206,11 @@
         for (int i = 0; i < formChildren.size(); i++)
         {
             UIComponent uiComponent = (UIComponent) formChildren.get(i);
-            System.out.println("component id: " + uiComponent.getClientId(context));
+            //System.out.println("component id: " + uiComponent.getClientId(context));
             // only if it has a matching id in the request list
             if (requestMap.containsKey(uiComponent.getClientId(context)))
             {
-                System.out.println("FOUND COMPONENT SO ENCODING AJAX");
+                //System.out.println("FOUND COMPONENT SO ENCODING AJAX");
                 AjaxRendererUtils.encodeAjax(context, uiComponent);
             }
             // recurse

Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajax/util/AjaxRendererUtils.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajax/util/AjaxRendererUtils.java?rev=388673&r1=388672&r2=388673&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajax/util/AjaxRendererUtils.java (original)
+++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajax/util/AjaxRendererUtils.java Fri Mar 24 15:08:02 2006
@@ -410,20 +410,20 @@
                 String styleClass = "";
 
                 String msgForId = clientId + "_msgFor";
-                System.out.println("Looking for component: " + msgForId);
+                //System.out.println("Looking for component: " + msgForId);
                 UIComponent msgComponent = context.getViewRoot().findComponent(msgForId);
                 String msgId = null;
 
                 if (msgComponent != null)
                 {
-                    System.out.println("Component found");
+                    //System.out.println("Component found");
                     // then send to update single component
                     // get styleclass
                     String[] styleAndClass = HtmlMessageRendererBase.getStyleAndStyleClass(msgComponent, msg.getSeverity());
                     style = styleAndClass[0];
                     styleClass = styleAndClass[1];
                     msgId = msgComponent.getClientId(context);
-                    System.out.println("style: " + style);
+                    //System.out.println("style: " + style);
                 }
                 else
                 {

Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/inputAjax/HtmlSelectManyCheckboxAjax.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/inputAjax/HtmlSelectManyCheckboxAjax.java?rev=388673&r1=388672&r2=388673&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/inputAjax/HtmlSelectManyCheckboxAjax.java (original)
+++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/inputAjax/HtmlSelectManyCheckboxAjax.java Fri Mar 24 15:08:02 2006
@@ -60,7 +60,6 @@
      */
     public void decodeAjax(FacesContext context)
     {
-        System.out.println("entiner selectmany decodeajax");
         log.debug("entering HtmlSelectManyCheckboxAjax.decodeAjax");
 
         // this requires special handling
@@ -70,15 +69,15 @@
         String elname = (String) requestParams.get("elname");
         String elvalue = (String) requestParams.get("elvalue");
         String checkedStr = (String) requestParams.get("checked");
-        System.out.println("checkedStr: " + checkedStr);
+        //System.out.println("checkedStr: " + checkedStr);
         boolean checked = Boolean.valueOf(checkedStr).booleanValue();
-        System.out.println("checked: " + checked);
+        //System.out.println("checked: " + checked);
         // now apply this to the
         Object valOb = this.getValue();
-        System.out.println("valOb: " + valOb);
+        //System.out.println("valOb: " + valOb);
         if(valOb instanceof Collection){
             // then all good
-            System.out.println("valob is collection");
+            //System.out.println("valob is collection");
             log.debug("valOb is collection");
             Collection c = (Collection) valOb;
             updateChosenValue(c, elname, elvalue, checked);