myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From caga...@apache.org
Subject svn commit: r606516 - in /myfaces/tomahawk/branches/1_2_0/core/src/main/java/org/apache/myfaces/component: ExecuteOnCallback.java html/ext/UIComponentPerspective.java
Date Sat, 22 Dec 2007 23:36:22 GMT
Author: cagatay
Date: Sat Dec 22 15:36:20 2007
New Revision: 606516

URL: http://svn.apache.org/viewvc?rev=606516&view=rev
Log:
Add executeoncallback

Added:
    myfaces/tomahawk/branches/1_2_0/core/src/main/java/org/apache/myfaces/component/ExecuteOnCallback.java
  (with props)
Modified:
    myfaces/tomahawk/branches/1_2_0/core/src/main/java/org/apache/myfaces/component/html/ext/UIComponentPerspective.java

Added: myfaces/tomahawk/branches/1_2_0/core/src/main/java/org/apache/myfaces/component/ExecuteOnCallback.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/branches/1_2_0/core/src/main/java/org/apache/myfaces/component/ExecuteOnCallback.java?rev=606516&view=auto
==============================================================================
--- myfaces/tomahawk/branches/1_2_0/core/src/main/java/org/apache/myfaces/component/ExecuteOnCallback.java
(added)
+++ myfaces/tomahawk/branches/1_2_0/core/src/main/java/org/apache/myfaces/component/ExecuteOnCallback.java
Sat Dec 22 15:36:20 2007
@@ -0,0 +1,18 @@
+package org.apache.myfaces.component;
+
+import javax.faces.context.FacesContext;
+import javax.faces.component.UIComponent;
+
+/**
+ * With findComponent - you get a component, but this component might
+ * not be prepared to actually have the correct context information. This
+ * is important for e.g. DataTables. They'll need to prepare the component
+ * with the current row-state to make sure that the method is executed
+ * correctly.
+ *
+ * @author Martin Marinschek (latest modification by $Author$)
+ */
+public interface ExecuteOnCallback
+{
+    Object execute(FacesContext context, UIComponent component);
+}

Propchange: myfaces/tomahawk/branches/1_2_0/core/src/main/java/org/apache/myfaces/component/ExecuteOnCallback.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: myfaces/tomahawk/branches/1_2_0/core/src/main/java/org/apache/myfaces/component/ExecuteOnCallback.java
------------------------------------------------------------------------------
    svn:keywords = Date Author Id Revision HeadURL

Modified: myfaces/tomahawk/branches/1_2_0/core/src/main/java/org/apache/myfaces/component/html/ext/UIComponentPerspective.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/branches/1_2_0/core/src/main/java/org/apache/myfaces/component/html/ext/UIComponentPerspective.java?rev=606516&r1=606515&r2=606516&view=diff
==============================================================================
--- myfaces/tomahawk/branches/1_2_0/core/src/main/java/org/apache/myfaces/component/html/ext/UIComponentPerspective.java
(original)
+++ myfaces/tomahawk/branches/1_2_0/core/src/main/java/org/apache/myfaces/component/html/ext/UIComponentPerspective.java
Sat Dec 22 15:36:20 2007
@@ -18,7 +18,7 @@
  */
 package org.apache.myfaces.component.html.ext;
 
-import org.apache.myfaces.shared_tomahawk.component.ExecuteOnCallback;
+import org.apache.myfaces.component.ExecuteOnCallback;
 
 import javax.faces.component.UIComponent;
 import javax.faces.component.UIData;
@@ -39,7 +39,7 @@
 
 /**
  * @author Martin Marinschek (latest modification by $Author: mmarinschek $)
- * @version $Revision: 371487 $ $Date: 2006-01-23 09:16:20 +0100 (Mo, 23 Jän 2006) $
+ * @version $Revision: 371487 $ $Date: 2006-01-23 09:16:20 +0100 (Mo, 23 J�n 2006) $
  */
 public class UIComponentPerspective extends UIInput
 {



Mime
View raw message