myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r990476 - /myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/custom/autoscroll/AutoscrollBehavior.java
Date Sun, 29 Aug 2010 02:19:03 GMT
Author: lu4242
Date: Sun Aug 29 02:19:02 2010
New Revision: 990476

URL: http://svn.apache.org/viewvc?rev=990476&view=rev
Log:
pass FacesContext instance

Modified:
    myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/custom/autoscroll/AutoscrollBehavior.java

Modified: myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/custom/autoscroll/AutoscrollBehavior.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/custom/autoscroll/AutoscrollBehavior.java?rev=990476&r1=990475&r2=990476&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/custom/autoscroll/AutoscrollBehavior.java
(original)
+++ myfaces/tomahawk/trunk/core20/src/main/java/org/apache/myfaces/custom/autoscroll/AutoscrollBehavior.java
Sun Aug 29 02:19:02 2010
@@ -45,7 +45,7 @@ public class AutoscrollBehavior extends 
     {
         FormInfo nestedFormInfo = RendererUtils.findNestingForm(behaviorContext.getComponent(),
behaviorContext.getFacesContext());
         StringBuffer script = new StringBuffer();
-        HtmlRendererUtils.appendAutoScrollAssignment(script, nestedFormInfo.getFormName());
+        HtmlRendererUtils.appendAutoScrollAssignment(behaviorContext.getFacesContext(), script,
nestedFormInfo.getFormName());
         return script.toString();
     }
     



Mime
View raw message