diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/WicketExamplePage.java b/wicket-examples/src/main/java/org/apache/wicket/examples/WicketExamplePage.java
index f9977786619..a42a3b8dfa0 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/WicketExamplePage.java
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/WicketExamplePage.java
@@ -20,16 +20,24 @@
import org.apache.wicket.markup.head.CssHeaderItem;
import org.apache.wicket.markup.head.IHeaderResponse;
import org.apache.wicket.markup.html.WebPage;
+import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.link.BookmarkablePageLink;
import org.apache.wicket.markup.html.link.PopupSettings;
import org.apache.wicket.markup.html.panel.Panel;
import org.apache.wicket.model.IModel;
+import org.apache.wicket.model.StringResourceModel;
import org.apache.wicket.request.mapper.parameter.PageParameters;
import org.apache.wicket.request.resource.CssResourceReference;
+import org.apache.wicket.util.string.Strings;
/**
* Base class for all example pages.
- *
+ *
+ * Shows the title of the example as the page heading and in the browser title. The title is
+ * looked up in the resource bundles under the key {@code .title}, usually in the
+ * {@code wicket-package.properties} of the example's package, so that an index page linking to
+ * the example can use the very same text. A page without such a key gets no heading.
+ *
* @author Jonathan Locke
*/
public class WicketExamplePage extends WebPage
@@ -96,7 +104,59 @@ public WicketExamplePage(IModel> model)
protected void explain()
{
}
-
+
+ @Override
+ protected void onInitialize()
+ {
+ super.onInitialize();
+
+ add(new Label("pageTitle", this::getPageTitle));
+ add(new Label("exampleTitle", this::getExampleTitle)
+ {
+ @Override
+ protected void onConfigure()
+ {
+ super.onConfigure();
+
+ setVisible(Strings.isEmpty(getExampleTitle()) == false);
+ }
+ });
+ }
+
+ /**
+ * @param page
+ * an example page
+ * @return the resource key of the title of the given example page
+ */
+ public static String titleKey(Class extends WicketExamplePage> page)
+ {
+ return page.getSimpleName() + ".title";
+ }
+
+ /**
+ * @return the resource key of the title of this example, by default the one given by
+ * {@link #titleKey(Class)} for this page's class
+ */
+ protected String getExampleTitleKey()
+ {
+ return titleKey(getClass());
+ }
+
+ private String getExampleTitle()
+ {
+ return getLocalizer().getStringIgnoreSettings(getExampleTitleKey(), this, null, null);
+ }
+
+ private String getPageTitle()
+ {
+ String exampleTitle = getExampleTitle();
+ if (Strings.isEmpty(exampleTitle))
+ {
+ return getString("examplesTitle");
+ }
+ return new StringResourceModel("pageTitle", this).setParameters(exampleTitle).getString();
+ }
+
@Override
public void renderHead(IHeaderResponse response)
{
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/WicketExamplePage.properties b/wicket-examples/src/main/java/org/apache/wicket/examples/WicketExamplePage.properties
new file mode 100644
index 00000000000..ccde7dfdc66
--- /dev/null
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/WicketExamplePage.properties
@@ -0,0 +1,16 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+examplesTitle=Wicket Examples
+pageTitle=Wicket Examples - {0}
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/BasePage.html b/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/BasePage.html
index 9db6bbce417..b9c3550094c 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/BasePage.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/BasePage.html
@@ -1,7 +1,6 @@
- Wicket Examples - Ajax
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/GuestBook.html b/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/GuestBook.html
index 421ba1dad86..d06ac1b30b7 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/GuestBook.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/GuestBook.html
@@ -1,7 +1,6 @@
- Wicket Examples - guestbook
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/Index.html b/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/Index.html
index 87813e529e3..b7488171e43 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/Index.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/Index.html
@@ -1,42 +1,9 @@
-
-Auto-Complete TextField Example: shows a text field with auto complete drop down like google suggest
+
+[example title]: [example description]
-Todo list Example: shows ajax todo list page without writing any JavaScript
-
-World Clock Example: demonstrates a single component with AjaxTimerBehavior updating multiple components
-
-Ajax Download: download initiated via Ajax
-
+
-
\ No newline at end of file
+
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/Index.java b/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/Index.java
index 8ed24e86a52..ba969c6f576 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/Index.java
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/Index.java
@@ -16,10 +16,18 @@
*/
package org.apache.wicket.examples.ajax.builtin;
+import java.util.List;
+
import org.apache.wicket.examples.AjaxEngineSelector;
import org.apache.wicket.examples.WicketExamplePage;
+import org.apache.wicket.examples.ajax.builtin.modal.ModalDialogPage;
import org.apache.wicket.examples.homepage.HomePage;
-import org.apache.wicket.markup.html.WebMarkupContainer;
+import org.apache.wicket.markup.html.basic.Label;
+import org.apache.wicket.markup.html.link.BookmarkablePageLink;
+import org.apache.wicket.markup.html.list.ListItem;
+import org.apache.wicket.markup.html.list.ListView;
+import org.apache.wicket.model.IModel;
+import org.apache.wicket.model.ResourceModel;
/**
* Wicket ajax example index page
@@ -28,16 +36,42 @@
*/
public class Index extends BasePage
{
+ private static final List> EXAMPLES = List.of(
+ AutoCompletePage.class, ChoicePage.class, ClockPage.class, EditableLabelPage.class,
+ EffectsPage.class, FormPage.class, GuestBook.class, LazyLoadingPage.class,
+ LinksPage.class, FileUploadPage.class, ModalDialogPage.class,
+ OnChangeAjaxBehaviorPage.class, PageablesPage.class, RatingsPage.class,
+ TabbedPanelPage.class, TodoList.class, WorldClockPage.class, AjaxDownloadPage.class);
+
/**
* Constructor.
*/
public Index()
+ {
+ IModel>> examples = () -> EXAMPLES.stream()
+ .filter(Index::isAvailable)
+ .toList();
+
+ add(new ListView<>("examples", examples)
+ {
+ @Override
+ protected void populateItem(ListItem> item)
+ {
+ Class extends BasePage> page = item.getModelObject();
+ BookmarkablePageLink link = new BookmarkablePageLink<>("link", page);
+ link.add(new Label("title", new ResourceModel(titleKey(page))));
+ item.add(link);
+ item.add(new Label("description",
+ new ResourceModel(page.getSimpleName() + ".description")));
+ }
+ });
+ }
+
+ private static boolean isAvailable(Class extends BasePage> page)
{
// EffectsPage needs jQuery UI, which the plain JavaScript Ajax engine does not load
- WebMarkupContainer effectsSection = new WebMarkupContainer("effectsSection");
- effectsSection.setVisible(
- AjaxEngineSelector.getEffectiveEngine() == AjaxEngineSelector.Engine.JQUERY);
- add(effectsSection);
+ return page != EffectsPage.class ||
+ AjaxEngineSelector.getEffectiveEngine() == AjaxEngineSelector.Engine.JQUERY;
}
@Override
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/PageablesPage.html b/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/PageablesPage.html
index 9a89e7c5e7d..c0dc26c0ec9 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/PageablesPage.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/PageablesPage.html
@@ -1,7 +1,6 @@
-ajax-test
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/RatingsPage.html b/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/RatingsPage.html
index 562450851de..afc7139ffb5 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/RatingsPage.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/RatingsPage.html
@@ -1,7 +1,6 @@
- Wicket Examples - Ajax - Ratings style
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/TodoList.html b/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/TodoList.html
index 61b27bba2c6..b2b6f737fe6 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/TodoList.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/TodoList.html
@@ -1,7 +1,6 @@
- Wicket Examples - Ajax - Todo list
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/wicket-package.properties b/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/wicket-package.properties
new file mode 100644
index 00000000000..61edf879a5c
--- /dev/null
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/builtin/wicket-package.properties
@@ -0,0 +1,69 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+Index.title=Ajax Examples
+
+AutoCompletePage.title=Auto-Complete TextField Example
+AutoCompletePage.description=shows a text field with auto complete drop down like google suggest
+
+ChoicePage.title=Drop Down Choice Example
+ChoicePage.description=demonstrates the linked select boxes usecase
+
+ClockPage.title=Clock Example
+ClockPage.description=demonstrates a self-updating component via AjaxSelfUpdatingTimerBehavior
+
+EditableLabelPage.title=Editable Label Example
+EditableLabelPage.description=shows a label that can be edited inline via ajax
+
+EffectsPage.title=Effects Example
+EffectsPage.description=shows how to link wicket component updates with jQuery UI effects
+
+FormPage.title=Form Example
+FormPage.description=shows ajax form processing
+
+GuestBook.title=Guest book Example
+GuestBook.description=shows how a simple commenting system can be turned into ajax extravaganza.
+
+LazyLoadingPage.title=LazyLoading Example
+LazyLoadingPage.description=demonstrates lazy loading of components.
+
+LinksPage.title=Links Example
+LinksPage.description=demonstrates ajax enabled links
+
+FileUploadPage.title=File Upload Example
+FileUploadPage.description=demonstrates transparent ajax handling of a multipart form
+
+ModalDialogPage.title=Modal dialog
+ModalDialogPage.description=javascript modal dialog example
+
+OnChangeAjaxBehaviorPage.title=On Change Ajax Updater Example
+OnChangeAjaxBehaviorPage.description=demonstrates updating page with ajax when text field value is changed
+
+PageablesPage.title=Pageables Example
+PageablesPage.description=shows ajax paging
+
+RatingsPage.title=Ratings example
+RatingsPage.description=shows a rating component.
+
+TabbedPanelPage.title=Tabbed Panel Example
+TabbedPanelPage.description=demonstrates ajax enabled tabbed panel
+
+TodoList.title=Todo list Example
+TodoList.description=shows ajax todo list page without writing any JavaScript
+
+WorldClockPage.title=World Clock Example
+WorldClockPage.description=demonstrates a single component with AjaxTimerBehavior updating multiple components
+
+AjaxDownloadPage.title=Ajax Download
+AjaxDownloadPage.description=download initiated via Ajax
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/prototype/Index.html b/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/prototype/Index.html
index 3b2521c0b16..d40f2d6eee8 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/prototype/Index.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/prototype/Index.html
@@ -1,7 +1,4 @@
-
- Wicket Examples - Prototype.js / component render
-
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/prototype/wicket-package.properties b/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/prototype/wicket-package.properties
new file mode 100644
index 00000000000..fed45c14e8a
--- /dev/null
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/ajax/prototype/wicket-package.properties
@@ -0,0 +1,15 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+Index.title=AJAX with Prototype.js
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/ajaxhellobrowser/AjaxHelloBrowser.html b/wicket-examples/src/main/java/org/apache/wicket/examples/ajaxhellobrowser/AjaxHelloBrowser.html
index 309f3d7c502..cab987adb20 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/ajaxhellobrowser/AjaxHelloBrowser.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/ajaxhellobrowser/AjaxHelloBrowser.html
@@ -1,7 +1,6 @@
- Wicket Examples - hellobrowser
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/ajaxhellobrowser/wicket-package.properties b/wicket-examples/src/main/java/org/apache/wicket/examples/ajaxhellobrowser/wicket-package.properties
new file mode 100644
index 00000000000..d8b15e3e059
--- /dev/null
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/ajaxhellobrowser/wicket-package.properties
@@ -0,0 +1,15 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+AjaxHelloBrowser.title=Ajax Browser Info
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/ajaxhellowbrowserondomready/AjaxHelloBrowserOnDomReady.html b/wicket-examples/src/main/java/org/apache/wicket/examples/ajaxhellowbrowserondomready/AjaxHelloBrowserOnDomReady.html
index 2e68c8b85d2..88ccea70e81 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/ajaxhellowbrowserondomready/AjaxHelloBrowserOnDomReady.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/ajaxhellowbrowserondomready/AjaxHelloBrowserOnDomReady.html
@@ -1,7 +1,6 @@
- Wicket Examples - hellobrowser
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/ajaxhellowbrowserondomready/wicket-package.properties b/wicket-examples/src/main/java/org/apache/wicket/examples/ajaxhellowbrowserondomready/wicket-package.properties
new file mode 100644
index 00000000000..e95b98f0de4
--- /dev/null
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/ajaxhellowbrowserondomready/wicket-package.properties
@@ -0,0 +1,15 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+AjaxHelloBrowserOnDomReady.title=Ajax Browser Info (OnDomReady)
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/asemail/MailTemplate.html b/wicket-examples/src/main/java/org/apache/wicket/examples/asemail/MailTemplate.html
index beafee41b6f..cdeb79aaa7a 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/asemail/MailTemplate.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/asemail/MailTemplate.html
@@ -1,6 +1,5 @@
- Wicket Examples - Render mail templates
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/asemail/wicket-package.properties b/wicket-examples/src/main/java/org/apache/wicket/examples/asemail/wicket-package.properties
new file mode 100644
index 00000000000..41fa2f937ce
--- /dev/null
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/asemail/wicket-package.properties
@@ -0,0 +1,15 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+MailTemplate.title=Mail Templates
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/authentication1/Home.html b/wicket-examples/src/main/java/org/apache/wicket/examples/authentication1/Home.html
index 9dc22a84b8a..2a0b486b9dd 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/authentication1/Home.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/authentication1/Home.html
@@ -1,6 +1,5 @@
- Wicket Examples - signin
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/authentication1/SignIn.html b/wicket-examples/src/main/java/org/apache/wicket/examples/authentication1/SignIn.html
index 4fc6979c21c..09026315fe0 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/authentication1/SignIn.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/authentication1/SignIn.html
@@ -1,6 +1,5 @@
- Wicket Examples - signin
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/authentication1/SignOut.html b/wicket-examples/src/main/java/org/apache/wicket/examples/authentication1/SignOut.html
index 83c1a1fe352..4f73e2983d9 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/authentication1/SignOut.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/authentication1/SignOut.html
@@ -1,6 +1,5 @@
- Wicket Examples - signin2
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/authentication1/wicket-package.properties b/wicket-examples/src/main/java/org/apache/wicket/examples/authentication1/wicket-package.properties
new file mode 100644
index 00000000000..91dbfa19c3f
--- /dev/null
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/authentication1/wicket-package.properties
@@ -0,0 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+Home.title=Simple Authentication
+SignIn.title=Simple Authentication - Sign In
+SignOut.title=Simple Authentication - Sign Out
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/authentication2/Home.html b/wicket-examples/src/main/java/org/apache/wicket/examples/authentication2/Home.html
index 94021161ba0..21d376df356 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/authentication2/Home.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/authentication2/Home.html
@@ -1,6 +1,5 @@
- Wicket Examples - signin2
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/authentication2/SignIn2.html b/wicket-examples/src/main/java/org/apache/wicket/examples/authentication2/SignIn2.html
index 81cb6008579..1e24479890b 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/authentication2/SignIn2.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/authentication2/SignIn2.html
@@ -1,6 +1,5 @@
- Wicket Examples - signin2
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/authentication2/SignOut.html b/wicket-examples/src/main/java/org/apache/wicket/examples/authentication2/SignOut.html
index 83c1a1fe352..4f73e2983d9 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/authentication2/SignOut.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/authentication2/SignOut.html
@@ -1,6 +1,5 @@
- Wicket Examples - signin2
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/authentication2/wicket-package.properties b/wicket-examples/src/main/java/org/apache/wicket/examples/authentication2/wicket-package.properties
new file mode 100644
index 00000000000..fcb437c4601
--- /dev/null
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/authentication2/wicket-package.properties
@@ -0,0 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+Home.title=Cookie Based Authentication
+SignIn2.title=Cookie Based Authentication - Sign In
+SignOut.title=Cookie Based Authentication - Sign Out
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/authentication3/BasePage.html b/wicket-examples/src/main/java/org/apache/wicket/examples/authentication3/BasePage.html
index e8103aadd93..7eb43a9c0be 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/authentication3/BasePage.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/authentication3/BasePage.html
@@ -1,6 +1,5 @@
- Wicket Examples - Authentication
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/authentication3/MySignInPage.html b/wicket-examples/src/main/java/org/apache/wicket/examples/authentication3/MySignInPage.html
index 81cb6008579..1e24479890b 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/authentication3/MySignInPage.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/authentication3/MySignInPage.html
@@ -1,6 +1,5 @@
- Wicket Examples - signin2
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/authentication3/SignOut.html b/wicket-examples/src/main/java/org/apache/wicket/examples/authentication3/SignOut.html
index 8f6b382b409..2c0a6b61ac3 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/authentication3/SignOut.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/authentication3/SignOut.html
@@ -1,6 +1,5 @@
- Wicket Examples - signin2
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/authentication3/wicket-package.properties b/wicket-examples/src/main/java/org/apache/wicket/examples/authentication3/wicket-package.properties
new file mode 100644
index 00000000000..5547962e0b3
--- /dev/null
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/authentication3/wicket-package.properties
@@ -0,0 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+HomePage.title=Page Authentication
+AdminPage.title=Page Authentication - Admin
+MySignInPage.title=Page Authentication - Sign In
+SignOut.title=Page Authentication - Sign Out
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/BasePage.html b/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/BasePage.html
index 2a5205f8bed..7eb43a9c0be 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/BasePage.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/BasePage.html
@@ -1,6 +1,5 @@
- Wicket Examples - Authorization Roles
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/Index.html b/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/Index.html
index ca0fb88f472..d8963ee50a5 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/Index.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/Index.html
@@ -21,30 +21,18 @@
\ No newline at end of file
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/wicket-package.properties b/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/wicket-package.properties
new file mode 100644
index 00000000000..815f3c6c49e
--- /dev/null
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/authorization/wicket-package.properties
@@ -0,0 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+Index.title=Authorization
+AdminBookmarkablePage.title=Bookmarkable admin page, protected with Wicket meta data
+AdminInternalPage.title=Internal admin page, protected with Wicket meta data
+PanelsPage.title=Panels page, protected with Wicket meta data
+AdminAnnotationsBookmarkablePage.title=Bookmarkable admin page, protected with annotations
+AdminAnnotationsInternalPage.title=Internal admin page, protected with annotations
+AnnotationsPanelsPage.title=Panels page, protected with annotations
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/bean/validation/BeanValidationPage.html b/wicket-examples/src/main/java/org/apache/wicket/examples/bean/validation/BeanValidationPage.html
index a6b1f9e38a7..6c7cac39ff2 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/bean/validation/BeanValidationPage.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/bean/validation/BeanValidationPage.html
@@ -1,6 +1,5 @@
-Wicket Examples - Bean Validation
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/bean/validation/wicket-package.properties b/wicket-examples/src/main/java/org/apache/wicket/examples/bean/validation/wicket-package.properties
new file mode 100644
index 00000000000..9fb71f07838
--- /dev/null
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/bean/validation/wicket-package.properties
@@ -0,0 +1,15 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+BeanValidationPage.title=Bean Validation
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/breadcrumb/Index.html b/wicket-examples/src/main/java/org/apache/wicket/examples/breadcrumb/Index.html
index 8c5e08d5977..6b50eaac290 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/breadcrumb/Index.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/breadcrumb/Index.html
@@ -1,7 +1,6 @@
- Wicket Examples - bread crumb
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/breadcrumb/wicket-package.properties b/wicket-examples/src/main/java/org/apache/wicket/examples/breadcrumb/wicket-package.properties
new file mode 100644
index 00000000000..694e3aa33a2
--- /dev/null
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/breadcrumb/wicket-package.properties
@@ -0,0 +1,15 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+Index.title=Bread Crumbs
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/captcha/Captcha.html b/wicket-examples/src/main/java/org/apache/wicket/examples/captcha/Captcha.html
index 3fd0432db83..f81bf9712e8 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/captcha/Captcha.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/captcha/Captcha.html
@@ -3,7 +3,6 @@
- Wicket Examples - Captcha
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/captcha/wicket-package.properties b/wicket-examples/src/main/java/org/apache/wicket/examples/captcha/wicket-package.properties
new file mode 100644
index 00000000000..5372f356a3c
--- /dev/null
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/captcha/wicket-package.properties
@@ -0,0 +1,15 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+Captcha.title=Captcha
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/cdi/CdiExamplePage.html b/wicket-examples/src/main/java/org/apache/wicket/examples/cdi/CdiExamplePage.html
index 7ac00b59efd..6d505ab278e 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/cdi/CdiExamplePage.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/cdi/CdiExamplePage.html
@@ -3,12 +3,10 @@
- Wicket Examples - Context, Dependencies, and Injection Integration
-
Welcome to Context, Dependencies, and Injection Integration Examples
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/cdi/wicket-package.properties b/wicket-examples/src/main/java/org/apache/wicket/examples/cdi/wicket-package.properties
new file mode 100644
index 00000000000..7051375245b
--- /dev/null
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/cdi/wicket-package.properties
@@ -0,0 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+CdiHomePage.title=Context, Dependencies, and Injection Integration
+InjectionPage.title=Injection Example
+ConversationPage1.title=Conversation Propagation Example
+ConversationPage2.title=Conversation Propagation Example - Page 2
+ConversationPage3.title=Conversation Propagation Example - Page 3
+AutoConversationPage1.title=Automatic Conversation Management Example
+AutoConversationPage2.title=Automatic Conversation Management Example - Page 2
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/compref/BookmarkablePageLinkPage.html b/wicket-examples/src/main/java/org/apache/wicket/examples/compref/BookmarkablePageLinkPage.html
index 13db29eca12..48b1ec49bfb 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/compref/BookmarkablePageLinkPage.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/compref/BookmarkablePageLinkPage.html
@@ -1,12 +1,10 @@
- Wicket Examples - component reference
-
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/compref/wicket-package.properties b/wicket-examples/src/main/java/org/apache/wicket/examples/compref/wicket-package.properties
new file mode 100644
index 00000000000..87e0aab4d77
--- /dev/null
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/compref/wicket-package.properties
@@ -0,0 +1,42 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+Index.title=Component Reference
+LabelPage.title=wicket.markup.html.basic.Label
+MultiLineLabelPage.title=wicket.markup.html.basic.MultiLineLabel
+PanelPage.title=wicket.markup.html.panel.Panel
+BorderPage.title=wicket.markup.html.border.Border
+TabbedPanelPage.title=wicket.markup.html.tabs.TabbedPanel (wicket-extensions)
+FragmentPage.title=wicket.markup.html.panel.Fragment
+LinkPage.title=wicket.markup.html.link.Link
+ExternalLinkPage.title=wicket.markup.html.link.ExternalLink
+BookmarkablePageLinkPage.title=wicket.markup.html.link.BookmarkablePageLink
+FormPage.title=wicket.markup.html.form.Form
+ButtonPage.title=wicket.markup.html.form.Button
+SubmitLinkPage.title=wicket.markup.html.form.SubmitLink
+TextFieldPage.title=wicket.markup.html.form.TextField
+TextAreaPage.title=wicket.markup.html.form.TextArea
+CheckBoxPage.title=wicket.markup.html.form.CheckBox
+CheckGroupPage.title=wicket.markup.html.form.CheckGroup, wicket.markup.html.form.Check, and wicket.markup.html.form.CheckGroupSelector
+CheckGroupPage2.title=Embedded wicket.markup.html.form.CheckGroup, wicket.markup.html.form.Check, and wicket.markup.html.form.CheckGroupSelector
+CheckBoxMultipleChoicePage.title=wicket.markup.html.form.CheckBoxMultipleChoice
+CheckBoxSelectorPage.title=wicket.markup.html.form.CheckBoxSelector
+DropDownChoicePage.title=wicket.markup.html.form.DropDownChoice
+ListChoicePage.title=wicket.markup.html.form.ListChoice
+RadioChoicePage.title=wicket.markup.html.form.RadioChoice
+RadioGroupPage.title=wicket.markup.html.form.RadioGroup and wicket.markup.html.form.Radio
+RadioGroupPage2.title=Embedded wicket.markup.html.form.RadioGroup and wicket.markup.html.form.Radio
+ListMultipleChoicePage.title=wicket.markup.html.form.ListMultipleChoice
+SelectPage.title=wicket.extensions.markup.html.form.select.Select
+PalettePage.title=wicket.extensions.markup.html.palette.Palette
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/csp/NonceDemoPage.html b/wicket-examples/src/main/java/org/apache/wicket/examples/csp/NonceDemoPage.html
index d22b416a78a..c9c81529676 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/csp/NonceDemoPage.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/csp/NonceDemoPage.html
@@ -1,10 +1,8 @@
- CSP Nonce Demo
-
CSP Nonce Demo
This example demonstrates the CSP protection offered by Wicket. In a modern browser, you will see 2 reports sent back to the application about CSP violations.
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/csp/wicket-package.properties b/wicket-examples/src/main/java/org/apache/wicket/examples/csp/wicket-package.properties
new file mode 100644
index 00000000000..e590125a7c3
--- /dev/null
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/csp/wicket-package.properties
@@ -0,0 +1,15 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+NonceDemoPage.title=CSP Nonce Demo
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/customresourceloading/CustomLoadedTemplate.html b/wicket-examples/src/main/java/org/apache/wicket/examples/customresourceloading/CustomLoadedTemplate.html
index 53cd3997693..0d8db0b6107 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/customresourceloading/CustomLoadedTemplate.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/customresourceloading/CustomLoadedTemplate.html
@@ -3,7 +3,7 @@
-Home | Apache Wicket
+Wicket Examples
+
[example title]
This page was loaded by a component specific override. You can use that - with care - if you have
to implement custom loading strategies that are very local to the component. For instance, a custom
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/customresourceloading/Index.html b/wicket-examples/src/main/java/org/apache/wicket/examples/customresourceloading/Index.html
index ed77b89a5e0..1ff98e603bb 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/customresourceloading/Index.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/customresourceloading/Index.html
@@ -1,7 +1,6 @@
- Wicket Examples - custom resource loading
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/customresourceloading/wicket-package.properties b/wicket-examples/src/main/java/org/apache/wicket/examples/customresourceloading/wicket-package.properties
new file mode 100644
index 00000000000..46936395874
--- /dev/null
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/customresourceloading/wicket-package.properties
@@ -0,0 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+Index.title=Custom Template Loading
+PageFromWebContext.title=Template loaded from the web context
+AlternativePageFromWebContext.title=Template loaded from the web context, disregarding package and locale
+PageWithCustomLoading.title=Template loaded by the page itself
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/datetime/DateTimePage.html b/wicket-examples/src/main/java/org/apache/wicket/examples/datetime/DateTimePage.html
index 19b021afaa0..4b81c3a64c6 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/datetime/DateTimePage.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/datetime/DateTimePage.html
@@ -3,7 +3,6 @@
- Wicket Examples - DateTime
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/datetime/wicket-package.properties b/wicket-examples/src/main/java/org/apache/wicket/examples/datetime/wicket-package.properties
new file mode 100644
index 00000000000..cbf95e1d13a
--- /dev/null
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/datetime/wicket-package.properties
@@ -0,0 +1,15 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+DateTimePage.title=Dates and Times
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/echo/Echo.html b/wicket-examples/src/main/java/org/apache/wicket/examples/echo/Echo.html
index 80fa5197507..1fd71b08d28 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/echo/Echo.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/echo/Echo.html
@@ -1,7 +1,6 @@
- Wicket Examples - echo
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/echo/wicket-package.properties b/wicket-examples/src/main/java/org/apache/wicket/examples/echo/wicket-package.properties
new file mode 100644
index 00000000000..a7138bb7c45
--- /dev/null
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/echo/wicket-package.properties
@@ -0,0 +1,15 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+Echo.title=Echo
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/encodings/Home.html b/wicket-examples/src/main/java/org/apache/wicket/examples/encodings/Home.html
index 037d36c702c..b6ed59b2341 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/encodings/Home.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/encodings/Home.html
@@ -1,9 +1,6 @@
-
- Wicket Examples - encodings
-
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/encodings/wicket-package.properties b/wicket-examples/src/main/java/org/apache/wicket/examples/encodings/wicket-package.properties
new file mode 100644
index 00000000000..4fad18d8d40
--- /dev/null
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/encodings/wicket-package.properties
@@ -0,0 +1,15 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+Home.title=Encodings
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/events/BasePage.html b/wicket-examples/src/main/java/org/apache/wicket/examples/events/BasePage.html
index ea6236f00a4..43ad2f5e231 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/events/BasePage.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/events/BasePage.html
@@ -1,6 +1,5 @@
- Wicket Examples - Events
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/events/IndexPage.html b/wicket-examples/src/main/java/org/apache/wicket/examples/events/IndexPage.html
index 2dd5cb0727c..fb3f18d7aeb 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/events/IndexPage.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/events/IndexPage.html
@@ -1,7 +1,7 @@
- Decoupled Ajax Update
+
\ No newline at end of file
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/events/wicket-package.properties b/wicket-examples/src/main/java/org/apache/wicket/examples/events/wicket-package.properties
new file mode 100644
index 00000000000..fffe98d22b5
--- /dev/null
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/events/wicket-package.properties
@@ -0,0 +1,16 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+IndexPage.title=Events
+DecoupledAjaxUpdatePage.title=Decoupled Ajax Update
diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/forminput/FormInput.html b/wicket-examples/src/main/java/org/apache/wicket/examples/forminput/FormInput.html
index d251783a332..eaacb6f7645 100644
--- a/wicket-examples/src/main/java/org/apache/wicket/examples/forminput/FormInput.html
+++ b/wicket-examples/src/main/java/org/apache/wicket/examples/forminput/FormInput.html
@@ -16,9 +16,6 @@
limitations under the License.
-->
-
- Wicket Examples - forminput
-