myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gpetra...@apache.org
Subject svn commit: r819203 - in /myfaces/extensions/validator/trunk/component-support/generic-support/src/main/java/org/apache/myfaces/extensions/validator/generic/renderkit: ExtValGenericRenderKit.java ExtValGenericRendererWrapper.java
Date Sat, 26 Sep 2009 20:29:53 GMT
Author: gpetracek
Date: Sat Sep 26 20:29:53 2009
New Revision: 819203

URL: http://svn.apache.org/viewvc?rev=819203&view=rev
Log:
changes for better app-server support

Modified:
    myfaces/extensions/validator/trunk/component-support/generic-support/src/main/java/org/apache/myfaces/extensions/validator/generic/renderkit/ExtValGenericRenderKit.java
    myfaces/extensions/validator/trunk/component-support/generic-support/src/main/java/org/apache/myfaces/extensions/validator/generic/renderkit/ExtValGenericRendererWrapper.java

Modified: myfaces/extensions/validator/trunk/component-support/generic-support/src/main/java/org/apache/myfaces/extensions/validator/generic/renderkit/ExtValGenericRenderKit.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/trunk/component-support/generic-support/src/main/java/org/apache/myfaces/extensions/validator/generic/renderkit/ExtValGenericRenderKit.java?rev=819203&r1=819202&r2=819203&view=diff
==============================================================================
--- myfaces/extensions/validator/trunk/component-support/generic-support/src/main/java/org/apache/myfaces/extensions/validator/generic/renderkit/ExtValGenericRenderKit.java
(original)
+++ myfaces/extensions/validator/trunk/component-support/generic-support/src/main/java/org/apache/myfaces/extensions/validator/generic/renderkit/ExtValGenericRenderKit.java
Sat Sep 26 20:29:53 2009
@@ -51,6 +51,7 @@
         Enhancer enhancer = new Enhancer();
         enhancer.setSuperclass(renderKit.getClass());
         enhancer.setCallback(new ExtValGenericRenderKit(renderKit));
+        enhancer.setClassLoader(Thread.currentThread().getContextClassLoader());
 
         return (RenderKit) enhancer.create();
     }
@@ -83,4 +84,4 @@
     {
         return ExtValGenericRendererWrapper.newInstance(renderer);
     }
-}
\ No newline at end of file
+}

Modified: myfaces/extensions/validator/trunk/component-support/generic-support/src/main/java/org/apache/myfaces/extensions/validator/generic/renderkit/ExtValGenericRendererWrapper.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/trunk/component-support/generic-support/src/main/java/org/apache/myfaces/extensions/validator/generic/renderkit/ExtValGenericRendererWrapper.java?rev=819203&r1=819202&r2=819203&view=diff
==============================================================================
--- myfaces/extensions/validator/trunk/component-support/generic-support/src/main/java/org/apache/myfaces/extensions/validator/generic/renderkit/ExtValGenericRendererWrapper.java
(original)
+++ myfaces/extensions/validator/trunk/component-support/generic-support/src/main/java/org/apache/myfaces/extensions/validator/generic/renderkit/ExtValGenericRendererWrapper.java
Sat Sep 26 20:29:53 2009
@@ -52,6 +52,7 @@
         Enhancer enhancer = new Enhancer();
         enhancer.setSuperclass(renderer.getClass());
         enhancer.setCallback(new ExtValGenericRendererWrapper(renderer));
+        enhancer.setClassLoader(Thread.currentThread().getContextClassLoader());
 
         return (Renderer) enhancer.create();
     }
@@ -102,4 +103,4 @@
     {
         super(wrapped);
     }
-}
\ No newline at end of file
+}



Mime
View raw message