tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jkuhn...@apache.org
Subject svn commit: r425220 - in /tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry: form/DatePicker.java form/DatePicker.properties services/impl/DefaultResponseBuilder.java
Date Mon, 24 Jul 2006 23:17:01 GMT
Author: jkuhnert
Date: Mon Jul 24 16:17:01 2006
New Revision: 425220

URL: http://svn.apache.org/viewvc?rev=425220&view=rev
Log:
Added alt tag to DatePicker icon to fix TAPESTRY-869

Modified:
    tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/form/DatePicker.java
    tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/form/DatePicker.properties
    tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/services/impl/DefaultResponseBuilder.java

Modified: tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/form/DatePicker.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/form/DatePicker.java?rev=425220&r1=425219&r2=425220&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/form/DatePicker.java
(original)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/form/DatePicker.java
Mon Jul 24 16:17:01 2006
@@ -160,8 +160,9 @@
 
         writer.beginEmpty("img");
         writer.attribute("src", icon.buildURL());
+        writer.attribute("alt", getMessages().getMessage("alt"));
         writer.attribute("border", 0);
-
+        
         if (!disabled)
             writer.end();
 

Modified: tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/form/DatePicker.properties
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/form/DatePicker.properties?rev=425220&r1=425219&r2=425220&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/form/DatePicker.properties
(original)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/form/DatePicker.properties
Mon Jul 24 16:17:01 2006
@@ -13,3 +13,4 @@
 # limitations under the License.
 
 clear=Clear
+alt=Click on icon to choose a date/time value.

Modified: tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/services/impl/DefaultResponseBuilder.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/services/impl/DefaultResponseBuilder.java?rev=425220&r1=425219&r2=425220&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/services/impl/DefaultResponseBuilder.java
(original)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/services/impl/DefaultResponseBuilder.java
Mon Jul 24 16:17:01 2006
@@ -42,7 +42,7 @@
 
     private WebResponse _webResponse;
     
-    /** Writer that creates JSON output response. */
+    /** Default writer for rendering html output. */
     private IMarkupWriter _writer;
     
     /**



Mime
View raw message