You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2013/07/25 02:15:59 UTC

git commit: TAP5-1569: Grid should implement the ClientElement interface

Updated Branches:
  refs/heads/master a88b5f4cc -> c4b93e11f


TAP5-1569: Grid should implement the ClientElement interface


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/c4b93e11
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/c4b93e11
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/c4b93e11

Branch: refs/heads/master
Commit: c4b93e11ff592905d856abb65a46d7a26aafdc63
Parents: a88b5f4
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Wed Jul 24 17:15:54 2013 -0700
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Wed Jul 24 17:15:54 2013 -0700

----------------------------------------------------------------------
 .../java/org/apache/tapestry5/corelib/components/Grid.java    | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/c4b93e11/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Grid.java
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Grid.java b/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Grid.java
index 92238ec..c87fb2f 100644
--- a/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Grid.java
+++ b/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Grid.java
@@ -60,7 +60,7 @@ import java.util.List;
  * @see Loop
  */
 @SupportsInformalParameters
-public class Grid implements GridModel
+public class Grid implements GridModel, ClientElement
 {
     /**
      * The source of data for the Grid to display. This will usually be a List or array but can also be an explicit
@@ -597,4 +597,9 @@ public class Grid implements GridModel
 
         componentEventResultProcessor.processResultValue(this);
     }
+
+    public String getClientId()
+    {
+        return table.getClientId();
+    }
 }