You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by so...@apache.org on 2017/09/22 17:23:02 UTC
[25/50] [abbrv] wicket git commit: Added documentation for
stream-based children iteration.
Added documentation for stream-based children iteration.
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/b088c696
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/b088c696
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/b088c696
Branch: refs/heads/WICKET-6105-java.time
Commit: b088c6967cb4f1cef7eb95995561adc12a7bdcd1
Parents: 10f5f76
Author: Andrea Del Bene <ad...@apache.org>
Authored: Mon Sep 4 11:35:31 2017 +0200
Committer: Andrea Del Bene <ad...@apache.org>
Committed: Mon Sep 4 11:35:31 2017 +0200
----------------------------------------------------------------------
wicket-user-guide/src/main/asciidoc/layout/layout_2.adoc | 2 +-
wicket-user-guide/src/main/asciidoc/single.adoc | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/wicket/blob/b088c696/wicket-user-guide/src/main/asciidoc/layout/layout_2.adoc
----------------------------------------------------------------------
diff --git a/wicket-user-guide/src/main/asciidoc/layout/layout_2.adoc b/wicket-user-guide/src/main/asciidoc/layout/layout_2.adoc
index ec71d00..0e28723 100644
--- a/wicket-user-guide/src/main/asciidoc/layout/layout_2.adoc
+++ b/wicket-user-guide/src/main/asciidoc/layout/layout_2.adoc
@@ -42,7 +42,7 @@ Label name = (Label)get("innerContainer:name");
----
* replace a specific child component with a new component having the same id (with method _replace_).
-* iterate thought children components with the iterator returned by method _iterator_ or using visitor pattern with methods _visitChildren_.
+* iterate thought children components. This can be done in the old way (pre-Wicket 8) using method _iterator_ or using visitor pattern with method _visitChildren_. Starting from Wicket 8 the same task can be accomplished using the _stream_ object returned by methods _stream_ (which contains only the direct children) and _streamChildren_ (which contains all children).
Both _Panel_ and _WebPage_ have their own associated markup file which is used to render the corresponding component. If such file is not provided, Wicket will apply markup inheritance looking for a markup file through their ancestor classes. When a panel is attached to a container, the content of its markup file is inserted into its related tag.
http://git-wip-us.apache.org/repos/asf/wicket/blob/b088c696/wicket-user-guide/src/main/asciidoc/single.adoc
----------------------------------------------------------------------
diff --git a/wicket-user-guide/src/main/asciidoc/single.adoc b/wicket-user-guide/src/main/asciidoc/single.adoc
index 1dc1f22..4fc1464 100644
--- a/wicket-user-guide/src/main/asciidoc/single.adoc
+++ b/wicket-user-guide/src/main/asciidoc/single.adoc
@@ -8,7 +8,7 @@ The Apache Software Foundation
//custom variables used inside the guide
:wicket_examples_url: http://examples8x.wicket.apache.org
-:wicket_tutorial_examples_url: http://examples-wickettutorial.rhcloud.com/
+:wicket_tutorial_examples_url: https://wicket-guide.herokuapp.com/
== Introduction
include::introduction.adoc[]