myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gpetra...@apache.org
Subject svn commit: r679180 - /myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/core/ExtValApplication.java
Date Wed, 23 Jul 2008 20:11:15 GMT
Author: gpetracek
Date: Wed Jul 23 13:11:14 2008
New Revision: 679180

URL: http://svn.apache.org/viewvc?rev=679180&view=rev
Log:
change for pages without input components, but converters

Modified:
    myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/core/ExtValApplication.java

Modified: myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/core/ExtValApplication.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/core/ExtValApplication.java?rev=679180&r1=679179&r2=679180&view=diff
==============================================================================
--- myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/core/ExtValApplication.java
(original)
+++ myfaces/extensions/validator/trunk/core/src/main/java/org/apache/myfaces/extensions/validator/core/ExtValApplication.java
Wed Jul 23 13:11:14 2008
@@ -64,11 +64,11 @@
     }
 
     private UIComponent tryToSetExtValValidatingConverter(UIComponent component) {
+        //in order to access the wrapped application and and support other Application wrappers
+        ExtValUtils.setOriginalApplication(wrapped);
+
         //if no converter is used add sev-en converter - so it isn't necessary to add sev-en
converter manually within the page
         if (component instanceof EditableValueHolder) {
-            //in order to access the wrapped application and and support other Application
wrappers
-            ExtValUtils.setOriginalApplication(wrapped);
-
             ((EditableValueHolder) component).setConverter(new ExtValConverter());
         }
         return component;



Mime
View raw message