You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2016/09/04 13:12:30 UTC

svn commit: r1759179 - /myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUISheet.java

Author: weber
Date: Sun Sep  4 13:12:30 2016
New Revision: 1759179

URL: http://svn.apache.org/viewvc?rev=1759179&view=rev
Log:
TOBAGO-1590 - Remove attribute "renderedPartially": add missing eventNames

Modified:
    myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUISheet.java

Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUISheet.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUISheet.java?rev=1759179&r1=1759178&r2=1759179&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUISheet.java (original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUISheet.java Sun Sep  4 13:12:30 2016
@@ -59,6 +59,7 @@ import javax.faces.event.PhaseId;
 import javax.faces.event.PreRenderComponentEvent;
 import java.io.IOException;
 import java.util.ArrayList;
+import java.util.Collection;
 import java.util.Collections;
 import java.util.List;
 
@@ -73,6 +74,9 @@ public abstract class AbstractUISheet ex
 
   public static final String SORTER_ID = "sorter";
 
+  // todo generate
+  private static final Collection<String> EVENT_NAMES = Collections.singletonList("reload");
+
   private SheetState state;
   private transient LayoutTokens columnLayout;
   private transient boolean autoLayout;
@@ -577,4 +581,14 @@ public abstract class AbstractUISheet ex
   public void setHeaderGrid(final Grid headerGrid) {
     this.headerGrid = headerGrid;
   }
+
+  @Override
+  public String getDefaultEventName() {
+    return "reload";
+  }
+
+  @Override
+  public Collection<String> getEventNames() {
+    return EVENT_NAMES;
+  }
 }