myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From we...@apache.org
Subject svn commit: r1414695 - /myfaces/extensions/scripting/trunk/extscript-core-root/extscript-core/src/main/java/org/apache/myfaces/extensions/scripting/jsf/dynamicDecorators/implementations/ApplicationProxy.java
Date Wed, 28 Nov 2012 14:06:22 GMT
Author: werpu
Date: Wed Nov 28 14:06:21 2012
New Revision: 1414695

URL: http://svn.apache.org/viewvc?rev=1414695&view=rev
Log:
fixing a behavior bug, the addBehavior was not delegated which works for myfaces but not mojarra

Modified:
    myfaces/extensions/scripting/trunk/extscript-core-root/extscript-core/src/main/java/org/apache/myfaces/extensions/scripting/jsf/dynamicDecorators/implementations/ApplicationProxy.java

Modified: myfaces/extensions/scripting/trunk/extscript-core-root/extscript-core/src/main/java/org/apache/myfaces/extensions/scripting/jsf/dynamicDecorators/implementations/ApplicationProxy.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/scripting/trunk/extscript-core-root/extscript-core/src/main/java/org/apache/myfaces/extensions/scripting/jsf/dynamicDecorators/implementations/ApplicationProxy.java?rev=1414695&r1=1414694&r2=1414695&view=diff
==============================================================================
--- myfaces/extensions/scripting/trunk/extscript-core-root/extscript-core/src/main/java/org/apache/myfaces/extensions/scripting/jsf/dynamicDecorators/implementations/ApplicationProxy.java
(original)
+++ myfaces/extensions/scripting/trunk/extscript-core-root/extscript-core/src/main/java/org/apache/myfaces/extensions/scripting/jsf/dynamicDecorators/implementations/ApplicationProxy.java
Wed Nov 28 14:06:21 2012
@@ -604,6 +604,11 @@ public class ApplicationProxy extends Ap
         return _delegate.createValueBinding(s);
     }
 
+    @Override
+    public void addBehavior(String behaviorId, String behaviorClass) {
+        _delegate.addBehavior(behaviorId, behaviorClass);
+    }
+
     /*<> @Override  public void addBehavior(String behaviorId, String behaviorClass)
    {
        weaveDelegate();
@@ -736,8 +741,8 @@ public class ApplicationProxy extends Ap
     public Iterator<String> getBehaviorIds()
     {
         weaveDelegate();
-        return _behaviors.keySet().iterator();
-        //return _delegate.getBehaviorIds();
+        //return _behaviors.keySet().iterator();
+        return _delegate.getBehaviorIds();
     }
 
     @Override



Mime
View raw message