incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From awi...@apache.org
Subject svn commit: r469709 - /incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/
Date Tue, 31 Oct 2006 23:58:21 GMT
Author: awiner
Date: Tue Oct 31 15:58:20 2006
New Revision: 469709

URL: http://svn.apache.org/viewvc?view=rev&rev=469709
Log:
Fix implementation of TypedRenderer.cloneWithType on input component renderers to properly
re-create the delegated renderer as well

Modified:
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/InputColorRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/InputDateRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/InputFileRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/InputListOfValuesRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/InputNumberSpinboxRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/InputTextRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectBooleanCheckboxRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectBooleanRadioRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectManyCheckboxRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectManyListboxRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectOneChoiceRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectOneListboxRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectOneRadioRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputColorRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputDateRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputFileRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputListOfValuesRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputNumberSpinboxRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputTextRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectManyCheckboxRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectManyListboxRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectOneChoiceRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectOneListboxRenderer.java
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectOneRadioRenderer.java

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/InputColorRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/InputColorRenderer.java?view=diff&rev=469709&r1=469708&r2=469709
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/InputColorRenderer.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/InputColorRenderer.java
Tue Oct 31 15:58:20 2006
@@ -31,6 +31,13 @@
   }  
 
   @Override
+  protected void findTypeConstants(FacesBean.Type type)
+  {
+    super.findTypeConstants(type);
+    _simpleInputColor = new SimpleInputColorRenderer(type);
+  }
+
+  @Override
   protected String getRootStyleClass(FacesBean bean)  
   {
     return "af|inputColor";
@@ -64,7 +71,6 @@
 
     return Boolean.TRUE.equals(o);
   }
-  
-  private SimpleInputColorRenderer _simpleInputColor =
-     new SimpleInputColorRenderer();
+
+  private SimpleInputColorRenderer _simpleInputColor;
 }

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/InputDateRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/InputDateRenderer.java?view=diff&rev=469709&r1=469708&r2=469709
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/InputDateRenderer.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/InputDateRenderer.java
Tue Oct 31 15:58:20 2006
@@ -27,6 +27,13 @@
   }  
   
   @Override
+  protected void findTypeConstants(FacesBean.Type type)
+  {
+    super.findTypeConstants(type);
+    _simpleInputDate = new SimpleInputDateRenderer(type);
+  }
+
+  @Override
   protected FormInputRenderer getFormInputRenderer()
   {
     return _simpleInputDate;
@@ -38,6 +45,5 @@
     return "af|inputDate";
   }  
 
-  private SimpleInputDateRenderer _simpleInputDate =
-     new SimpleInputDateRenderer();
+  private SimpleInputDateRenderer _simpleInputDate;
 }

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/InputFileRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/InputFileRenderer.java?view=diff&rev=469709&r1=469708&r2=469709
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/InputFileRenderer.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/InputFileRenderer.java
Tue Oct 31 15:58:20 2006
@@ -32,6 +32,13 @@
   {
     super(CoreInputFile.TYPE);
   }
+
+  @Override
+  protected void findTypeConstants(FacesBean.Type type)
+  {
+    super.findTypeConstants(type);
+    _simpleInputFile = new SimpleInputFileRenderer(type);
+  }
   
   @Override
   protected final void encodeAll(
@@ -70,7 +77,6 @@
   {
     return false;
   }
-  
-  private SimpleInputFileRenderer _simpleInputFile =
-     new SimpleInputFileRenderer();
+
+  private SimpleInputFileRenderer _simpleInputFile;
 }

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/InputListOfValuesRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/InputListOfValuesRenderer.java?view=diff&rev=469709&r1=469708&r2=469709
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/InputListOfValuesRenderer.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/InputListOfValuesRenderer.java
Tue Oct 31 15:58:20 2006
@@ -29,6 +29,14 @@
   }  
 
   @Override
+  protected void findTypeConstants(FacesBean.Type type)
+  {
+    super.findTypeConstants(type);
+    _simpleInputListOfValues = new SimpleInputListOfValuesRenderer(type);
+  }
+
+
+  @Override
   protected String getRootStyleClass(FacesBean bean)  
   {
     return "af|inputListOfValues";
@@ -37,10 +45,8 @@
   @Override
   protected FormInputRenderer getFormInputRenderer()
   {
-    return _simpleInputListOfValue;
+    return _simpleInputListOfValues;
   }
 
-  private SimpleInputListOfValuesRenderer _simpleInputListOfValue =
-     new SimpleInputListOfValuesRenderer();
-
+  private SimpleInputListOfValuesRenderer _simpleInputListOfValues;
 }

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/InputNumberSpinboxRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/InputNumberSpinboxRenderer.java?view=diff&rev=469709&r1=469708&r2=469709
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/InputNumberSpinboxRenderer.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/InputNumberSpinboxRenderer.java
Tue Oct 31 15:58:20 2006
@@ -28,6 +28,14 @@
   }
 
   @Override
+  protected void findTypeConstants(FacesBean.Type type)
+  {
+    super.findTypeConstants(type);
+    _simpleInputNumberSpinbox = new SimpleInputNumberSpinboxRenderer(type);
+  }
+
+
+  @Override
   protected String getRootStyleClass(FacesBean bean)
   {
     return "af|inputNumberSpinbox";
@@ -45,8 +53,5 @@
     return _simpleInputNumberSpinbox;
   }
 
-  private SimpleInputNumberSpinboxRenderer _simpleInputNumberSpinbox =
-     new SimpleInputNumberSpinboxRenderer();
-
-
+  private SimpleInputNumberSpinboxRenderer _simpleInputNumberSpinbox;
 }

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/InputTextRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/InputTextRenderer.java?view=diff&rev=469709&r1=469708&r2=469709
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/InputTextRenderer.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/InputTextRenderer.java
Tue Oct 31 15:58:20 2006
@@ -28,6 +28,13 @@
   } 
 
   @Override
+  protected void findTypeConstants(FacesBean.Type type)
+  {
+    super.findTypeConstants(type);
+    _simpleInputText = new SimpleInputTextRenderer(type);
+  }
+
+  @Override
   protected String getRootStyleClass(FacesBean bean)  
   {
     return "af|inputText";
@@ -48,8 +55,5 @@
     return _simpleInputText;
   }
  
-  private SimpleInputTextRenderer _simpleInputText =
-     new SimpleInputTextRenderer();
-
-
+  private SimpleInputTextRenderer _simpleInputText;
 }

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectBooleanCheckboxRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectBooleanCheckboxRenderer.java?view=diff&rev=469709&r1=469708&r2=469709
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectBooleanCheckboxRenderer.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectBooleanCheckboxRenderer.java
Tue Oct 31 15:58:20 2006
@@ -29,6 +29,14 @@
   }  
   
   @Override
+  protected void findTypeConstants(FacesBean.Type type)
+  {
+    super.findTypeConstants(type);
+    _simpleSelectBooleanCheckbox = new SimpleSelectBooleanCheckboxRenderer(type);
+  }
+
+
+  @Override
   protected String getRootStyleClass(FacesBean bean)  
   {
     return "af|selectBooleanCheckbox";
@@ -61,6 +69,5 @@
     return _simpleSelectBooleanCheckbox;
   }  
 
-  private SimpleSelectBooleanCheckboxRenderer _simpleSelectBooleanCheckbox =
-     new SimpleSelectBooleanCheckboxRenderer();
+  private SimpleSelectBooleanCheckboxRenderer _simpleSelectBooleanCheckbox;
 }

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectBooleanRadioRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectBooleanRadioRenderer.java?view=diff&rev=469709&r1=469708&r2=469709
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectBooleanRadioRenderer.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectBooleanRadioRenderer.java
Tue Oct 31 15:58:20 2006
@@ -26,6 +26,14 @@
     super(CoreSelectBooleanRadio.TYPE);
     
   } 
+
+  @Override
+  protected void findTypeConstants(FacesBean.Type type)
+  {
+    super.findTypeConstants(type);
+    _simpleSelectBooleanRadio = new SimpleSelectBooleanRadioRenderer(type);
+  }
+
   
   @Override
   protected String getRootStyleClass(FacesBean bean)  
@@ -60,6 +68,5 @@
     return _simpleSelectBooleanRadio;
   }  
 
-  private SimpleSelectBooleanRadioRenderer _simpleSelectBooleanRadio =
-     new SimpleSelectBooleanRadioRenderer();
+  private SimpleSelectBooleanRadioRenderer _simpleSelectBooleanRadio;
 }

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectManyCheckboxRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectManyCheckboxRenderer.java?view=diff&rev=469709&r1=469708&r2=469709
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectManyCheckboxRenderer.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectManyCheckboxRenderer.java
Tue Oct 31 15:58:20 2006
@@ -33,6 +33,7 @@
   {
     super.findTypeConstants(type);
     _layoutKey = type.findKey("layout");
+    _simpleSelectManyCheckbox = new SimpleSelectManyCheckboxRenderer(type);
   } 
   
   @Override
@@ -79,6 +80,5 @@
 
   private PropertyKey _layoutKey;
 
-  private SimpleSelectManyCheckboxRenderer _simpleSelectManyCheckbox =
-     new SimpleSelectManyCheckboxRenderer();
+  private SimpleSelectManyCheckboxRenderer _simpleSelectManyCheckbox;
 }

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectManyListboxRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectManyListboxRenderer.java?view=diff&rev=469709&r1=469708&r2=469709
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectManyListboxRenderer.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectManyListboxRenderer.java
Tue Oct 31 15:58:20 2006
@@ -28,6 +28,13 @@
   }  
   
   @Override
+  protected void findTypeConstants(FacesBean.Type type)
+  {
+    super.findTypeConstants(type);
+    _simpleSelectManyListbox = new SimpleSelectManyListboxRenderer(type);
+  }
+
+  @Override
   protected String getRootStyleClass(FacesBean bean)  
   {
     return "af|selectManyListbox";
@@ -45,6 +52,5 @@
     return _simpleSelectManyListbox;
   }  
 
-  private SimpleSelectManyListboxRenderer _simpleSelectManyListbox =
-     new SimpleSelectManyListboxRenderer();
+  private SimpleSelectManyListboxRenderer _simpleSelectManyListbox;
 }

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectOneChoiceRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectOneChoiceRenderer.java?view=diff&rev=469709&r1=469708&r2=469709
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectOneChoiceRenderer.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectOneChoiceRenderer.java
Tue Oct 31 15:58:20 2006
@@ -27,6 +27,13 @@
     super(CoreSelectOneChoice.TYPE);
     
   }  
+
+  @Override
+  protected void findTypeConstants(FacesBean.Type type)
+  {
+    super.findTypeConstants(type);
+    _simpleSelectOneChoice = new SimpleSelectOneChoiceRenderer(type);
+  }
   
   @Override
   protected String getRootStyleClass(FacesBean bean)  
@@ -40,6 +47,5 @@
     return _simpleSelectOneChoice;
   }  
 
-  private SimpleSelectOneChoiceRenderer _simpleSelectOneChoice =
-     new SimpleSelectOneChoiceRenderer();
+  private SimpleSelectOneChoiceRenderer _simpleSelectOneChoice;
 }

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectOneListboxRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectOneListboxRenderer.java?view=diff&rev=469709&r1=469708&r2=469709
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectOneListboxRenderer.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectOneListboxRenderer.java
Tue Oct 31 15:58:20 2006
@@ -27,6 +27,13 @@
     super(CoreSelectOneListbox.TYPE);
     
   }
+
+  @Override
+  protected void findTypeConstants(FacesBean.Type type)
+  {
+    super.findTypeConstants(type);
+    _simpleSelectOneListbox = new SimpleSelectOneListboxRenderer(type);
+  }
   
   @Override
   protected String getRootStyleClass(FacesBean bean)  
@@ -46,6 +53,5 @@
     return _simpleSelectOneListbox;
   }  
 
-  private SimpleSelectOneListboxRenderer _simpleSelectOneListbox =
-     new SimpleSelectOneListboxRenderer();
+  private SimpleSelectOneListboxRenderer _simpleSelectOneListbox;
 }

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectOneRadioRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectOneRadioRenderer.java?view=diff&rev=469709&r1=469708&r2=469709
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectOneRadioRenderer.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SelectOneRadioRenderer.java
Tue Oct 31 15:58:20 2006
@@ -32,6 +32,7 @@
   {
     super.findTypeConstants(type);
     _layoutKey = type.findKey("layout");
+    _simpleSelectOneRadio = new SimpleSelectOneRadioRenderer(type);
   } 
   
   @Override
@@ -78,6 +79,5 @@
 
   private PropertyKey _layoutKey;
 
-  private SimpleSelectOneRadioRenderer _simpleSelectOneRadio =
-     new SimpleSelectOneRadioRenderer();
+  private SimpleSelectOneRadioRenderer _simpleSelectOneRadio;
 }

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputColorRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputColorRenderer.java?view=diff&rev=469709&r1=469708&r2=469709
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputColorRenderer.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputColorRenderer.java
Tue Oct 31 15:58:20 2006
@@ -53,7 +53,12 @@
 {
   public SimpleInputColorRenderer()
   {
-    super(CoreInputColor.TYPE);
+    this(CoreInputColor.TYPE);
+  }
+
+  public SimpleInputColorRenderer(FacesBean.Type type)
+  {
+    super(type);
   }
 
   @Override

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputDateRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputDateRenderer.java?view=diff&rev=469709&r1=469708&r2=469709
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputDateRenderer.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputDateRenderer.java
Tue Oct 31 15:58:20 2006
@@ -54,7 +54,12 @@
 {
   public SimpleInputDateRenderer()
   {
-    super(CoreInputDate.TYPE);
+    this(CoreInputDate.TYPE);
+  }
+
+  public SimpleInputDateRenderer(FacesBean.Type type)
+  {
+    super(type);
   }
 
   @Override

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputFileRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputFileRenderer.java?view=diff&rev=469709&r1=469708&r2=469709
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputFileRenderer.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputFileRenderer.java
Tue Oct 31 15:58:20 2006
@@ -31,7 +31,12 @@
 {
   public SimpleInputFileRenderer()
   {
-    super(CoreInputFile.TYPE);
+    this(CoreInputFile.TYPE);
+  }
+
+  public SimpleInputFileRenderer(FacesBean.Type type)
+  {
+    super(type);
   }
 
   //

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputListOfValuesRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputListOfValuesRenderer.java?view=diff&rev=469709&r1=469708&r2=469709
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputListOfValuesRenderer.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputListOfValuesRenderer.java
Tue Oct 31 15:58:20 2006
@@ -49,7 +49,7 @@
     this(CoreInputListOfValues.TYPE);
   }
   
-  protected SimpleInputListOfValuesRenderer(FacesBean.Type type)
+  public SimpleInputListOfValuesRenderer(FacesBean.Type type)
   {
     super(type);
   }

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputNumberSpinboxRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputNumberSpinboxRenderer.java?view=diff&rev=469709&r1=469708&r2=469709
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputNumberSpinboxRenderer.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputNumberSpinboxRenderer.java
Tue Oct 31 15:58:20 2006
@@ -37,7 +37,12 @@
 {
   public SimpleInputNumberSpinboxRenderer()
   {
-    super(CoreInputNumberSpinbox.TYPE);
+    this(CoreInputNumberSpinbox.TYPE);
+  }
+
+  public SimpleInputNumberSpinboxRenderer(FacesBean.Type type)
+  {
+    super(type);
   }
 
   @Override

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputTextRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputTextRenderer.java?view=diff&rev=469709&r1=469708&r2=469709
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputTextRenderer.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleInputTextRenderer.java
Tue Oct 31 15:58:20 2006
@@ -42,7 +42,7 @@
     this(CoreInputText.TYPE);
   }
 
-  protected SimpleInputTextRenderer(FacesBean.Type type)
+  public SimpleInputTextRenderer(FacesBean.Type type)
   {
     super(type);
   }

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectManyCheckboxRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectManyCheckboxRenderer.java?view=diff&rev=469709&r1=469708&r2=469709
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectManyCheckboxRenderer.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectManyCheckboxRenderer.java
Tue Oct 31 15:58:20 2006
@@ -41,7 +41,12 @@
 {
   public SimpleSelectManyCheckboxRenderer()
   {
-    super(CoreSelectManyCheckbox.TYPE);
+    this(CoreSelectManyCheckbox.TYPE);
+  }
+
+  public SimpleSelectManyCheckboxRenderer(FacesBean.Type type)
+  {
+    super(type);
   }
   
   @Override

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectManyListboxRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectManyListboxRenderer.java?view=diff&rev=469709&r1=469708&r2=469709
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectManyListboxRenderer.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectManyListboxRenderer.java
Tue Oct 31 15:58:20 2006
@@ -46,7 +46,7 @@
     this(CoreSelectManyListbox.TYPE);
   }
 
-  protected SimpleSelectManyListboxRenderer(FacesBean.Type type)
+  public SimpleSelectManyListboxRenderer(FacesBean.Type type)
   {
     super(type);
   }

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectOneChoiceRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectOneChoiceRenderer.java?view=diff&rev=469709&r1=469708&r2=469709
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectOneChoiceRenderer.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectOneChoiceRenderer.java
Tue Oct 31 15:58:20 2006
@@ -39,8 +39,14 @@
 {
   public SimpleSelectOneChoiceRenderer()
   {
-    super(CoreSelectOneChoice.TYPE);
+    this(CoreSelectOneChoice.TYPE);
   }
+
+  public SimpleSelectOneChoiceRenderer(FacesBean.Type type)
+  {
+    super(type);
+  }
+
 
   @Override
   protected void findTypeConstants(FacesBean.Type type)

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectOneListboxRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectOneListboxRenderer.java?view=diff&rev=469709&r1=469708&r2=469709
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectOneListboxRenderer.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectOneListboxRenderer.java
Tue Oct 31 15:58:20 2006
@@ -40,9 +40,15 @@
 {
   public SimpleSelectOneListboxRenderer()
   {
-    super(CoreSelectOneListbox.TYPE);
+    this(CoreSelectOneListbox.TYPE);
   }
   
+  public SimpleSelectOneListboxRenderer(FacesBean.Type type)
+  {
+    super(type);
+  }
+  
+
   @Override
   protected void findTypeConstants(FacesBean.Type type)
   {

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectOneRadioRenderer.java
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectOneRadioRenderer.java?view=diff&rev=469709&r1=469708&r2=469709
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectOneRadioRenderer.java
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/SimpleSelectOneRadioRenderer.java
Tue Oct 31 15:58:20 2006
@@ -41,7 +41,12 @@
 {
   public SimpleSelectOneRadioRenderer()
   {
-    super(CoreSelectOneRadio.TYPE);
+    this(CoreSelectOneRadio.TYPE);
+  }
+
+  public SimpleSelectOneRadioRenderer(FacesBean.Type type)
+  {
+    super(type);
   }
 
   @Override



Mime
View raw message