You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-commits@incubator.apache.org by aw...@apache.org on 2006/12/13 00:13:10 UTC

svn commit: r486423 - in /incubator/adffaces/trunk/trinidad/trinidad-impl/src: main/java/org/apache/myfaces/trinidadinternal/renderkit/core/xhtml/ test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/

Author: awiner
Date: Tue Dec 12 16:13:08 2006
New Revision: 486423

URL: http://svn.apache.org/viewvc?view=rev&rev=486423
Log:
ADFFACES-317: inputDate should not render icon if 'chooseId' specified

Modified:
    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/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimal-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalIE-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalIERtl-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalInacc-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalPPC-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalSaf-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalScrRdr-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimal-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalIE-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalIERtl-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalInacc-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalPPC-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalSaf-golden.xml
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalScrRdr-golden.xml

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=486423&r1=486422&r2=486423
==============================================================================
--- 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 Dec 12 16:13:08 2006
@@ -214,6 +214,19 @@
     super.renderIcon(context, arc, component, bean);
   }
 
+  @Override 
+  protected void renderAfterTextField(
+    FacesContext        context,
+    RenderingContext arc,
+    UIComponent         component,
+    FacesBean           bean) throws IOException
+  {
+    // ADFFACES-317: don't bother rendering the icon if there's
+    // an attached chooser
+    if (_getChooseId(arc) == null)
+      super.renderAfterTextField(context, arc, component, bean);
+  }
+
   /**
    * @todo - should the default style be "short" or "default", which
    * may map to "medium"
@@ -230,38 +243,38 @@
     // for convenience, we will set the time zone of the converter to that
     // specified by the context or, if that is not present, to the time zone
     // of the server
-    if(converter instanceof DateTimeConverter)
+    if (converter instanceof DateTimeConverter)
     {
-        DateTimeConverter dtc = (DateTimeConverter) converter;
-
-        boolean trinidadDTC = _isTrinidadDateTimeConverter(converter);
-
-        if (!trinidadDTC)
-        {
-            // if it is not the Trinidad DateTimeConverter, set the date style to
-            // short
-            dtc.setDateStyle("short");
-        }
-
-        // if it is not the Trinidad DateTimeConverter or (it is AND
-        // no time zone is set) then we want to set the
-        // time zone to the one in the faces context or use
-        // the default server time zone on the converter
-        if(!trinidadDTC || dtc.getTimeZone() == null)
+      DateTimeConverter dtc = (DateTimeConverter) converter;
+      
+      boolean trinidadDTC = _isTrinidadDateTimeConverter(converter);
+      
+      if (!trinidadDTC)
+      {
+        // if it is not the Trinidad DateTimeConverter, set the date style to
+        // short
+        dtc.setDateStyle("short");
+      }
+      
+      // if it is not the Trinidad DateTimeConverter or (it is AND
+      // no time zone is set) then we want to set the
+      // time zone to the one in the faces context or use
+      // the default server time zone on the converter
+      if (!trinidadDTC || dtc.getTimeZone() == null)
+      {
+        TimeZone tz = null;
+        
+        RequestContext requestContext = RequestContext.getCurrentInstance();
+        tz = requestContext.getTimeZone();
+        if(tz == null)
         {
-            TimeZone tz = null;
-
-            RequestContext requestContext = RequestContext.getCurrentInstance();
-            tz = requestContext.getTimeZone();
-            if(tz == null)
-            {
-                tz = TimeZone.getDefault();
-            }
-
-            dtc.setTimeZone(tz);
+          tz = TimeZone.getDefault();
         }
+        
+        dtc.setTimeZone(tz);
+      }
     }
-
+    
     return converter;
   }
 
@@ -276,7 +289,7 @@
     if (chooseId != null)
       length += chooseId.length();
 
-    StringBuffer buffer = new StringBuffer(length);
+    StringBuilder buffer = new StringBuilder(length);
     buffer.append(_BLUR_PREFIX);
 
     if (chooseId != null)
@@ -306,7 +319,7 @@
       if (chooseId != null)
         length += chooseId.length();
 
-      StringBuffer buffer = new StringBuffer(length);
+      StringBuilder buffer = new StringBuilder(length);
       buffer.append(_FOCUS_PREFIX);
 
       if (chooseId != null)
@@ -346,7 +359,7 @@
       return null;
 
     // we want something big enough
-    StringBuffer onClickBuffer = new StringBuffer(100);
+    StringBuilder onClickBuffer = new StringBuilder(100);
 
     onClickBuffer.append("_ldp('");
     onClickBuffer.append(arc.getFormData().getName());

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimal-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimal-golden.xml?view=diff&rev=486423&r1=486422&r2=486423
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimal-golden.xml (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimal-golden.xml Tue Dec 12 16:13:08 2006
@@ -98,31 +98,6 @@
                 >
               
             </input>
-            <img
-                 alt=""
-                 height="1"
-                 width="8"
-                 src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
-                >
-              
-            </img>
-            <a
-                 onclick="_ldp('formId','mainId'); return false"
-                 href="uri-attr:#"
-                >
-              
-              <img
-                   align="middle"
-                   alt="Select to access date picker"
-                   border="0"
-                   height="24"
-                   src="/test-context-path/adf/images/dfb.gif"
-                   title="Select to access date picker"
-                   width="19"
-                  >
-                
-              </img>
-            </a>
             <script
                 >
               _dfa('mainId','test-chooseId');

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalIE-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalIE-golden.xml?view=diff&rev=486423&r1=486422&r2=486423
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalIE-golden.xml (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalIE-golden.xml Tue Dec 12 16:13:08 2006
@@ -95,26 +95,6 @@
             </input>
             <script
                 >
-              t(8,1)
-            </script>
-            <a
-                 onclick="_ldp('formId','mainId'); return false"
-                 href="uri-attr:#"
-                >
-              
-              <img
-                   align="middle"
-                   alt="Select to access date picker"
-                   border="0"
-                   height="24"
-                   src="/test-context-path/adf/images/dfb.gif"
-                   width="19"
-                  >
-                
-              </img>
-            </a>
-            <script
-                >
               _dfa('mainId','test-chooseId');
             </script>
           </td>

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalIERtl-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalIERtl-golden.xml?view=diff&rev=486423&r1=486422&r2=486423
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalIERtl-golden.xml (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalIERtl-golden.xml Tue Dec 12 16:13:08 2006
@@ -95,26 +95,6 @@
             </input>
             <script
                 >
-              t(8,1)
-            </script>
-            <a
-                 onclick="_ldp('formId','mainId'); return false"
-                 href="uri-attr:#"
-                >
-              
-              <img
-                   align="middle"
-                   alt="Select to access date picker"
-                   border="0"
-                   height="24"
-                   src="/test-context-path/adf/images/dfbr.gif"
-                   width="19"
-                  >
-                
-              </img>
-            </a>
-            <script
-                >
               _dfa('mainId','test-chooseId');
             </script>
           </td>

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalInacc-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalInacc-golden.xml?view=diff&rev=486423&r1=486422&r2=486423
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalInacc-golden.xml (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalInacc-golden.xml Tue Dec 12 16:13:08 2006
@@ -93,28 +93,6 @@
                 >
               
             </input>
-            <img
-                 height="1"
-                 width="8"
-                 src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
-                >
-              
-            </img>
-            <a
-                 onclick="_ldp('formId','mainId'); return false"
-                 href="uri-attr:#"
-                >
-              
-              <img
-                   align="middle"
-                   border="0"
-                   height="24"
-                   src="/test-context-path/adf/images/dfb.gif"
-                   width="19"
-                  >
-                
-              </img>
-            </a>
             <script
                 >
               _dfa('mainId','test-chooseId');

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalPPC-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalPPC-golden.xml?view=diff&rev=486423&r1=486422&r2=486423
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalPPC-golden.xml (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalPPC-golden.xml Tue Dec 12 16:13:08 2006
@@ -108,31 +108,6 @@
                 >
               
             </input>
-            <img
-                 alt=""
-                 height="1"
-                 width="8"
-                 src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
-                >
-              
-            </img>
-            <a
-                 onclick="submitForm('formId',0,{source:'mainId',part:'b'});return false;"
-                 href="uri-attr:#"
-                >
-              
-              <img
-                   align="middle"
-                   alt="Select to access date picker"
-                   border="0"
-                   height="18"
-                   src="/test-context-path/adf/images/dp.gif"
-                   title="Select to access date picker"
-                   width="17"
-                  >
-                
-              </img>
-            </a>
             <script
                 >
               _dfa('mainId','test-chooseId');

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalSaf-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalSaf-golden.xml?view=diff&rev=486423&r1=486422&r2=486423
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalSaf-golden.xml (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalSaf-golden.xml Tue Dec 12 16:13:08 2006
@@ -98,31 +98,6 @@
                 >
               
             </input>
-            <img
-                 alt=""
-                 height="1"
-                 width="8"
-                 src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
-                >
-              
-            </img>
-            <a
-                 onclick="_ldp('formId','mainId'); return false"
-                 href="uri-attr:#"
-                >
-              
-              <img
-                   align="middle"
-                   alt="Select to access date picker"
-                   border="0"
-                   height="24"
-                   src="/test-context-path/adf/images/dfb.gif"
-                   title="Select to access date picker"
-                   width="19"
-                  >
-                
-              </img>
-            </a>
             <script
                 >
               _dfa('mainId','test-chooseId');

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalScrRdr-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalScrRdr-golden.xml?view=diff&rev=486423&r1=486422&r2=486423
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalScrRdr-golden.xml (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-minimalScrRdr-golden.xml Tue Dec 12 16:13:08 2006
@@ -98,31 +98,6 @@
                 >
               
             </input>
-            <img
-                 alt=""
-                 height="1"
-                 width="8"
-                 src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
-                >
-              
-            </img>
-            <a
-                 onclick="_ldp('formId','mainId'); return false"
-                 href="uri-attr:#"
-                >
-              
-              <img
-                   align="middle"
-                   alt="Select to access date picker"
-                   border="0"
-                   height="24"
-                   src="/test-context-path/adf/images/dfb.gif"
-                   title="Select to access date picker"
-                   width="19"
-                  >
-                
-              </img>
-            </a>
             <script
                  type="text/javascript"
                 >

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimal-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimal-golden.xml?view=diff&rev=486423&r1=486422&r2=486423
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimal-golden.xml (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimal-golden.xml Tue Dec 12 16:13:08 2006
@@ -56,31 +56,6 @@
             >
           
         </input>
-        <img
-             alt=""
-             height="1"
-             width="8"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
-            >
-          
-        </img>
-        <a
-             onclick="_ldp('formId','mainId'); return false"
-             href="uri-attr:#"
-            >
-          
-          <img
-               align="middle"
-               alt="Select to access date picker"
-               border="0"
-               height="24"
-               src="/test-context-path/adf/images/dfb.gif"
-               title="Select to access date picker"
-               width="19"
-              >
-            
-          </img>
-        </a>
       </span>
       <script
           >

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalIE-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalIE-golden.xml?view=diff&rev=486423&r1=486422&r2=486423
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalIE-golden.xml (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalIE-golden.xml Tue Dec 12 16:13:08 2006
@@ -51,26 +51,6 @@
             >
           
         </input>
-        <script
-            >
-          t(8,1)
-        </script>
-        <a
-             onclick="_ldp('formId','mainId'); return false"
-             href="uri-attr:#"
-            >
-          
-          <img
-               align="middle"
-               alt="Select to access date picker"
-               border="0"
-               height="24"
-               src="/test-context-path/adf/images/dfb.gif"
-               width="19"
-              >
-            
-          </img>
-        </a>
       </span>
       <script
           >

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalIERtl-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalIERtl-golden.xml?view=diff&rev=486423&r1=486422&r2=486423
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalIERtl-golden.xml (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalIERtl-golden.xml Tue Dec 12 16:13:08 2006
@@ -51,26 +51,6 @@
             >
           
         </input>
-        <script
-            >
-          t(8,1)
-        </script>
-        <a
-             onclick="_ldp('formId','mainId'); return false"
-             href="uri-attr:#"
-            >
-          
-          <img
-               align="middle"
-               alt="Select to access date picker"
-               border="0"
-               height="24"
-               src="/test-context-path/adf/images/dfbr.gif"
-               width="19"
-              >
-            
-          </img>
-        </a>
       </span>
       <script
           >

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalInacc-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalInacc-golden.xml?view=diff&rev=486423&r1=486422&r2=486423
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalInacc-golden.xml (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalInacc-golden.xml Tue Dec 12 16:13:08 2006
@@ -53,28 +53,6 @@
             >
           
         </input>
-        <img
-             height="1"
-             width="8"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
-            >
-          
-        </img>
-        <a
-             onclick="_ldp('formId','mainId'); return false"
-             href="uri-attr:#"
-            >
-          
-          <img
-               align="middle"
-               border="0"
-               height="24"
-               src="/test-context-path/adf/images/dfb.gif"
-               width="19"
-              >
-            
-          </img>
-        </a>
       </span>
       <script
           >

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalPPC-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalPPC-golden.xml?view=diff&rev=486423&r1=486422&r2=486423
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalPPC-golden.xml (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalPPC-golden.xml Tue Dec 12 16:13:08 2006
@@ -56,31 +56,6 @@
             >
           
         </input>
-        <img
-             alt=""
-             height="1"
-             width="8"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
-            >
-          
-        </img>
-        <a
-             onclick="submitForm('formId',0,{source:'mainId',part:'b'});return false;"
-             href="uri-attr:#"
-            >
-          
-          <img
-               align="middle"
-               alt="Select to access date picker"
-               border="0"
-               height="18"
-               src="/test-context-path/adf/images/dp.gif"
-               title="Select to access date picker"
-               width="17"
-              >
-            
-          </img>
-        </a>
       </span>
       <script
           >

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalSaf-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalSaf-golden.xml?view=diff&rev=486423&r1=486422&r2=486423
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalSaf-golden.xml (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalSaf-golden.xml Tue Dec 12 16:13:08 2006
@@ -56,31 +56,6 @@
             >
           
         </input>
-        <img
-             alt=""
-             height="1"
-             width="8"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
-            >
-          
-        </img>
-        <a
-             onclick="_ldp('formId','mainId'); return false"
-             href="uri-attr:#"
-            >
-          
-          <img
-               align="middle"
-               alt="Select to access date picker"
-               border="0"
-               height="24"
-               src="/test-context-path/adf/images/dfb.gif"
-               title="Select to access date picker"
-               width="19"
-              >
-            
-          </img>
-        </a>
       </span>
       <script
           >

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalScrRdr-golden.xml
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalScrRdr-golden.xml?view=diff&rev=486423&r1=486422&r2=486423
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalScrRdr-golden.xml (original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/test/resources/org/apache/myfaces/trinidadinternal/renderkit/golden/inputDate-simple-minimalScrRdr-golden.xml Tue Dec 12 16:13:08 2006
@@ -56,31 +56,6 @@
             >
           
         </input>
-        <img
-             alt=""
-             height="1"
-             width="8"
-             src="uri-attr:encoded-resource-url:/test-context-path/adf/images/t.gif"
-            >
-          
-        </img>
-        <a
-             onclick="_ldp('formId','mainId'); return false"
-             href="uri-attr:#"
-            >
-          
-          <img
-               align="middle"
-               alt="Select to access date picker"
-               border="0"
-               height="24"
-               src="/test-context-path/adf/images/dfb.gif"
-               title="Select to access date picker"
-               width="19"
-              >
-            
-          </img>
-        </a>
       </span>
       <script
            type="text/javascript"