myfaces-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=990484&view=rev
Log:
this behavior requires oamSubmit.js to work (tomahawk + ri case)

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=990484&r1=990483&r2=990484&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 03:40:15 2010
@@ -18,6 +18,7 @@
  */
 package org.apache.myfaces.custom.autoscroll;
 
+import javax.faces.application.ResourceDependency;
 import javax.faces.component.behavior.ClientBehaviorBase;
 import javax.faces.component.behavior.ClientBehaviorContext;
 
@@ -35,6 +36,7 @@ import org.apache.myfaces.shared_tomahaw
  * @version $Revision: 691856 $ $Date: 2008-09-03 21:40:30 -0500 (mié, 03 sep 2008) $
  */
 @JSFBehavior(name="t:autoScroll",bodyContent="empty")
+@ResourceDependency(library="org.apache.myfaces", name="oamSubmit.js")
 public class AutoscrollBehavior extends ClientBehaviorBase
 {
 



Mime
View raw message