Author: hlship
Date: Mon Jan 14 18:25:16 2008
New Revision: 611996

URL: http://svn.apache.org/viewvc?rev=611996&view=rev
Log:
TAPESTRY-2007: PNG images related to validation render poorly in IE

Added:
    
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/error-bevel-left.gif
   (with props)
    
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/error-bevel-right.gif
   (with props)
    
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/field-error-marker.gif
   (with props)
Removed:
    
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/field-error-marker.png
Modified:
    
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/TapestryModule.java
    
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/default.css

Modified: 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/TapestryModule.java
URL: 
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/TapestryModule.java?rev=611996&r1=611995&r2=611996&view=diff
==============================================================================
--- 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/TapestryModule.java
 (original)
+++ 
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry/services/TapestryModule.java
 Mon Jan 14 18:25:16 2008
@@ -1266,7 +1266,7 @@
                                          
@Path("${tapestry.default-stylesheet}")
                                          final Asset stylesheetAsset,
 
-                                         
@Path("org/apache/tapestry/field-error-marker.png")
+                                         
@Path("${tapestry.field-error-marker}")
                                          final Asset fieldErrorIcon,
 
                                          final ValidationMessagesSource 
validationMessagesSource,
@@ -1406,7 +1406,7 @@
      */
     public void 
contributePartialMarkupRenderer(OrderedConfiguration<PartialMarkupRendererFilter>
 configuration,
 
-                                                
@Path("org/apache/tapestry/field-error-marker.png")
+                                                
@Path("${tapestry.field-error-marker}")
                                                 final Asset fieldErrorIcon,
 
                                                 final ValidationMessagesSource 
validationMessagesSource,
@@ -1627,6 +1627,7 @@
         configuration.add("tapestry.start-page-name", "start");
 
         configuration.add("tapestry.default-stylesheet", 
"org/apache/tapestry/default.css");
+        configuration.add("tapestry.field-error-marker", 
"org/apache/tapestry/field-error-marker.gif");
 
         configuration.add("tapestry.page-pool.soft-limit", "5");
         configuration.add("tapestry.page-pool.soft-wait", "10 ms");

Modified: 
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/default.css
URL: 
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/default.css?rev=611996&r1=611995&r2=611996&view=diff
==============================================================================
--- 
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/default.css
 (original)
+++ 
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/default.css
 Mon Jan 14 18:25:16 2008
@@ -339,15 +339,19 @@
 }
 
 DIV.t-error-popup SPAN {
-    background: transparent url( 'error-bevel-left.png' ) no-repeat;
+    background: transparent url( 'error-bevel-left.gif' ) no-repeat;
     display: block;
     line-height: 28px;
     margin-left: 0px;
     padding: 0px 5px 10px 22px;
 }
 
+HTML>BODY DIV.t-error-popup SPAN {
+    background: transparent url( 'error-bevel-left.png' ) no-repeat;
+}
+
 DIV.t-error-popup {
-    background: transparent url( 'error-bevel-right.png' ) no-repeat scroll 
top right;
+    background: transparent url( 'error-bevel-right.gif' ) no-repeat scroll 
top right;
     cursor: pointer;
     color: #FFF;
     display: block;
@@ -357,4 +361,8 @@
     margin-right: 6px;
     padding-right: 29px;
     text-decoration: none;
+}
+
+HTML>BODY DIV.t-error-popup {
+    background: transparent url( 'error-bevel-right.png' ) no-repeat scroll 
top right;
 }

Added: 
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/error-bevel-left.gif
URL: 
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/error-bevel-left.gif?rev=611996&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/error-bevel-left.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/error-bevel-right.gif
URL: 
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/error-bevel-right.gif?rev=611996&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/error-bevel-right.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/field-error-marker.gif
URL: 
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/field-error-marker.gif?rev=611996&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
tapestry/tapestry5/trunk/tapestry-core/src/main/resources/org/apache/tapestry/field-error-marker.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream


Reply via email to