You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by ad...@apache.org on 2015/03/13 21:45:43 UTC
[27/50] wicket git commit: Fixed JavaDocs. No functional change.
Fixed JavaDocs. No functional change.
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/c50da924
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/c50da924
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/c50da924
Branch: refs/heads/pr-86-media_tags
Commit: c50da9246b5fb090e0bd8b6ca6f2d434eb824cc8
Parents: fbde00f
Author: Andrea Del Bene <ad...@apache.org>
Authored: Sat Mar 7 15:04:06 2015 +0100
Committer: Andrea Del Bene <ad...@apache.org>
Committed: Sat Mar 7 15:04:06 2015 +0100
----------------------------------------------------------------------
.../src/main/java/org/apache/wicket/markup/ComponentTag.java | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/wicket/blob/c50da924/wicket-core/src/main/java/org/apache/wicket/markup/ComponentTag.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/markup/ComponentTag.java b/wicket-core/src/main/java/org/apache/wicket/markup/ComponentTag.java
index 40a1500..b2f50ef 100644
--- a/wicket-core/src/main/java/org/apache/wicket/markup/ComponentTag.java
+++ b/wicket-core/src/main/java/org/apache/wicket/markup/ComponentTag.java
@@ -832,7 +832,8 @@ public class ComponentTag extends MarkupElement
}
/**
- * True if the HTML tag (e.g. br) has no close tag
+ * Sets the flag to indicate if the current tag contains a child
+ * or a descendant with the "wicket:id" attribute.
*
* @param containsWicketId
*/
@@ -841,6 +842,10 @@ public class ComponentTag extends MarkupElement
setFlag(CONTAINS_WICKET_ID, containsWicketId);
}
+ /**
+ * Says if the current tag contains a child or a descendant with the "wicket:id" attribute.
+ * @return true if the current tag contains a child or a descendant with the "wicket:id" attribute.
+ */
public boolean containsWicketId()
{
return getFlag(CONTAINS_WICKET_ID);