Repository: wicket Updated Branches: refs/heads/master fbde00fda -> c50da9246
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/master Commit: c50da9246b5fb090e0bd8b6ca6f2d434eb824cc8 Parents: fbde00f Author: Andrea Del Bene <[email protected]> Authored: Sat Mar 7 15:04:06 2015 +0100 Committer: Andrea Del Bene <[email protected]> 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);
