You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mm...@apache.org on 2005/12/26 00:53:07 UTC

svn commit: r359014 - /myfaces/impl/trunk/src/java/org/apache/myfaces/el/PropertyResolverImpl.java

Author: mmarinschek
Date: Sun Dec 25 15:53:02 2005
New Revision: 359014

URL: http://svn.apache.org/viewcvs?rev=359014&view=rev
Log:
fixed calendar popup problems with IE for certain cases by implementing the IFRAME approach

Modified:
    myfaces/impl/trunk/src/java/org/apache/myfaces/el/PropertyResolverImpl.java

Modified: myfaces/impl/trunk/src/java/org/apache/myfaces/el/PropertyResolverImpl.java
URL: http://svn.apache.org/viewcvs/myfaces/impl/trunk/src/java/org/apache/myfaces/el/PropertyResolverImpl.java?rev=359014&r1=359013&r2=359014&view=diff
==============================================================================
--- myfaces/impl/trunk/src/java/org/apache/myfaces/el/PropertyResolverImpl.java (original)
+++ myfaces/impl/trunk/src/java/org/apache/myfaces/el/PropertyResolverImpl.java Sun Dec 25 15:53:02 2005
@@ -69,7 +69,7 @@
                 !(base instanceof Map)))
            {
                if(log.isDebugEnabled())
-                 log.debug("property for base : "+base +" could not be retrieved as property was null.");
+                 log.debug("property for base with class: "+ base.getClass().getName()  +" could not be retrieved as property was null.");
 
                return null;
            }
@@ -84,18 +84,18 @@
         catch (PropertyNotFoundException e) {
 
             if(log.isDebugEnabled())
-              log.debug("Exception while retrieving property; base : "+base+", property : "+property,e);
+              log.debug("Exception while retrieving property; base with class : "+base.getClass().getName()+", property : "+property,e);
 
             throw e;
         }
         catch (RuntimeException e)
         {
             if(log.isDebugEnabled())
-              log.debug("Exception while retrieving property; base : "+base+", property : "+property,e);
+              log.debug("Exception while retrieving property; base : "+base.getClass().getName()+", property : "+property,e);
 
             throw new EvaluationException("Exception getting value of property " + property
-                + " of bean "
-                + base != null ? base.getClass().getName() : "NULL", e);
+                + " of base of type : "
+                + base.getClass().getName(), e);
         }
     }
 
@@ -124,19 +124,19 @@
             catch (IndexOutOfBoundsException e)
             {
                 if(log.isDebugEnabled())
-                    log.debug("IndexOutOfBoundException while getting property; base : "+base+", index : "+index,e);
+                    log.debug("IndexOutOfBoundException while getting property; base with class: "+base.getClass().getName()+", index : "+index,e);
 
                 // Note: ArrayIndexOutOfBoundsException also here
                 return null;
             }
 
-            throw new ReferenceSyntaxException("Must be array or List. Bean: "
+            throw new ReferenceSyntaxException("Must be array or List. Bean with class: "
                 + base.getClass().getName() + ", index " + index);
         }
         catch (RuntimeException e)
         {
             if(log.isDebugEnabled())
-                log.debug("Exception while getting property; base : "+base+", index : "+index,e);
+                log.debug("Exception while getting property; base with class: "+base.getClass().getName()+", index : "+index,e);
 
             throw new EvaluationException("Exception getting value for index " + index
                 + " of bean "
@@ -157,7 +157,7 @@
             if (property == null ||
                 property instanceof String && ((String)property).length() == 0)
             {
-                throw new PropertyNotFoundException("Bean: "
+                throw new PropertyNotFoundException("Bean with class : "
                     + base.getClass().getName()
                     + ", null or empty property name");
             }
@@ -174,17 +174,17 @@
         }
         catch (PropertyNotFoundException e) {
             if(log.isDebugEnabled())
-                log.debug("Exception while setting property; base : "+base+", property : "+property,e);
+                log.debug("Exception while setting property; base with class : "+base.getClass().getName()+", property : "+property,e);
             throw e;
         }
         catch (RuntimeException e)
         {
             if(log.isDebugEnabled())
-                log.debug("Exception while setting property; base : "+base+", property : "+property,e);
+                log.debug("Exception while setting property; base : "+base.getClass().getName()+", property : "+property,e);
 
             throw new EvaluationException("Exception setting property " + property
-                + " of bean "
-                + base != null ? base.getClass().getName() : "NULL", e);
+                + " of base with class "
+                + base.getClass().getName(), e);
         }
     }
 
@@ -219,12 +219,12 @@
             }
             catch (IndexOutOfBoundsException e)
             {
-                throw new PropertyNotFoundException("Bean: "
+                throw new PropertyNotFoundException("Base with class : "
                     + base.getClass().getName() + ", index " + index, e);
             }
 
             throw new EvaluationException(
-                "Bean must be array or List. Bean: "
+                "Bean must be array or List. Base with class: "
                 + base.getClass().getName() + ", index " + index);
         }
         catch (PropertyNotFoundException e) {
@@ -233,7 +233,7 @@
         catch (RuntimeException e)
         {
             throw new EvaluationException("Exception setting value of index " + index + " of bean "
-                + base != null ? base.getClass().getName() : "NULL", e);
+                + base.getClass().getName(), e);
         }
     }
 
@@ -365,8 +365,8 @@
         }
         catch (Exception e)
         {
-            throw new EvaluationException("Exception getting type of index " + index + " of bean "
-                + base != null ? base.getClass().getName() : "NULL", e);
+            throw new EvaluationException("Exception getting type of index " + index + " of bean with class : "
+                + base.getClass().getName(), e);
         }
     }