From 2025ad0bf386385756302e4acc6ef020bc198666 Mon Sep 17 00:00:00 2001
From: kkaravitis
Date: Thu, 2 Jun 2016 17:54:38 +0300
Subject: [PATCH 001/182] module-id set to
liferay/wicketstuff-portlet-examples/6.22.0/war
---
.../src/main/webapp/WEB-INF/liferay-plugin-package.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/portlet-parent/wicketstuff-portlet-examples/src/main/webapp/WEB-INF/liferay-plugin-package.xml b/portlet-parent/wicketstuff-portlet-examples/src/main/webapp/WEB-INF/liferay-plugin-package.xml
index 867fdaf819..7cae2c7cc4 100644
--- a/portlet-parent/wicketstuff-portlet-examples/src/main/webapp/WEB-INF/liferay-plugin-package.xml
+++ b/portlet-parent/wicketstuff-portlet-examples/src/main/webapp/WEB-INF/liferay-plugin-package.xml
@@ -3,7 +3,7 @@
wicketstuff-portlet-examples
- liferay/wicketstuff-portlet-examples/7.3.0/war
+ liferay/wicketstuff-portlet-examples/6.22.0/warportlet
From 220eb2ececa36b6ec74b833a21249f116777907b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ren=C3=A9=20Dieckmann?=
Date: Sun, 26 Jun 2016 09:24:58 +0200
Subject: [PATCH 002/182] Separate monitoring data from components. Fixes #518
The repository providing the monitoring data is required by components.
But coupling the repository to application makes it hard to reuse
components without repository.
The repository is still required for components but can be separated
from monitoring statement creation. So you shall be able to stop
monitoring components but use the monitoring components e.g. as a
performance monitor.
---
.../jamon/example/JamonWebApplication.java | 9 ---
.../services/org.apache.wicket.IInitializer | 1 +
.../jamon/application/JamonInitializer.java | 62 +++++++++++++++++++
.../component/JamonMonitorDetailsPanel.java | 2 +-
.../jamon/component/JamonProvider.java | 6 +-
.../jamon/component/JamonRepositoryKey.java | 11 ----
.../component/MonitoringRepositoryKey.java | 27 ++++++++
.../jamon/monitor/JamonRepository.java | 24 +++----
.../jamon/monitor/MonitoringRepository.java | 55 ++++++++++++++++
.../cycle/JamonAwareRequestCycleListener.java | 3 -
.../jamon/component/JamonAdminPageTest.java | 2 +-
.../jamon/component/JamonProviderTest.java | 2 +-
.../jamon/webapp/JamonWebApplication.java | 9 ---
.../services/org.apache.wicket.IInitializer | 1 +
14 files changed, 159 insertions(+), 55 deletions(-)
create mode 100644 jamon-parent/jamon-examples/src/main/resources/META-INF/services/org.apache.wicket.IInitializer
create mode 100644 jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/application/JamonInitializer.java
delete mode 100644 jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/component/JamonRepositoryKey.java
create mode 100644 jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/component/MonitoringRepositoryKey.java
create mode 100644 jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/monitor/MonitoringRepository.java
create mode 100644 jamon-parent/jamon/src/test/resources/META-INF/services/org.apache.wicket.IInitializer
diff --git a/jamon-parent/jamon-examples/src/main/java/org/wicketstuff/jamon/example/JamonWebApplication.java b/jamon-parent/jamon-examples/src/main/java/org/wicketstuff/jamon/example/JamonWebApplication.java
index b85e71283b..0d5d619d7b 100644
--- a/jamon-parent/jamon-examples/src/main/java/org/wicketstuff/jamon/example/JamonWebApplication.java
+++ b/jamon-parent/jamon-examples/src/main/java/org/wicketstuff/jamon/example/JamonWebApplication.java
@@ -18,7 +18,6 @@
import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.protocol.http.WebApplication;
-import org.wicketstuff.jamon.request.cycle.JamonAwareRequestCycleListener;
/**
* WebApplication so Jamon Monitoring can be tested.
@@ -34,12 +33,4 @@ public Class extends WebPage> getHomePage()
{
return HomePage.class;
}
-
- @Override
- protected void init()
- {
- super.init();
-
- getRequestCycleListeners().add(new JamonAwareRequestCycleListener(this, true));
- }
}
diff --git a/jamon-parent/jamon-examples/src/main/resources/META-INF/services/org.apache.wicket.IInitializer b/jamon-parent/jamon-examples/src/main/resources/META-INF/services/org.apache.wicket.IInitializer
new file mode 100644
index 0000000000..806cc25e58
--- /dev/null
+++ b/jamon-parent/jamon-examples/src/main/resources/META-INF/services/org.apache.wicket.IInitializer
@@ -0,0 +1 @@
+org.wicketstuff.jamon.application.JamonInitializer
\ No newline at end of file
diff --git a/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/application/JamonInitializer.java b/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/application/JamonInitializer.java
new file mode 100644
index 0000000000..aaf26da449
--- /dev/null
+++ b/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/application/JamonInitializer.java
@@ -0,0 +1,62 @@
+/*
+ * 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.
+ */
+package org.wicketstuff.jamon.application;
+
+import java.util.ServiceLoader;
+
+import org.apache.wicket.Application;
+import org.apache.wicket.IInitializer;
+import org.apache.wicket.request.cycle.IRequestCycleListener;
+import org.wicketstuff.jamon.component.MonitoringRepositoryKey;
+import org.wicketstuff.jamon.monitor.JamonRepository;
+import org.wicketstuff.jamon.monitor.MonitoringRepository;
+import org.wicketstuff.jamon.request.cycle.JamonAwareRequestCycleListener;
+
+/**
+ * Add the jamon features to your application.
+ *
+ * The feature and it's components require a data provider for monitoring data. This can be done by
+ * registering a {@link MonitoringRepository} to the application meta data.
+ *
+ * Optionally if you want to use the component monitoring provided, another
+ * {@link IRequestCycleListener} is required.
+ *
+ * To include this {@link IInitializer} in your application you need to register it by
+ * {@link ServiceLoader}. So it is required to add a file called 'org.apache.wicket.IInitializer' to
+ * folder 'META-INF/services'. File content needs to be the fully qualified classname of this
+ * {@link IInitializer}
+ *
+ * @author rene-d-menoto
+ */
+public class JamonInitializer implements IInitializer
+{
+
+ @Override
+ public void destroy(Application application)
+ {
+ return;
+ }
+
+ @Override
+ public void init(Application application)
+ {
+ application.setMetaData(MonitoringRepositoryKey.KEY, new JamonRepository());
+ application.getRequestCycleListeners()
+ .add(new JamonAwareRequestCycleListener(application, true));
+ }
+
+}
\ No newline at end of file
diff --git a/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/component/JamonMonitorDetailsPanel.java b/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/component/JamonMonitorDetailsPanel.java
index 27e7fa4eab..d57fd8fa8a 100644
--- a/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/component/JamonMonitorDetailsPanel.java
+++ b/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/component/JamonMonitorDetailsPanel.java
@@ -114,7 +114,7 @@ public JamonMonitorDetailsPanel(String id, String monitorLabel)
{
super(id);
setOutputMarkupId(true);
- final Monitor monitor = getApplication().getMetaData(JamonRepositoryKey.KEY)
+ final Monitor monitor = getApplication().getMetaData(MonitoringRepositoryKey.KEY)
.findMonitorByLabel(monitorLabel);
FrequencyDist[] frequencyDists = monitor.getRange().getFrequencyDists();
add(new FrequencyListView(ID_OF_LIST_VIEW, asList(frequencyDists)));
diff --git a/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/component/JamonProvider.java b/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/component/JamonProvider.java
index b6a7f2de19..f279ec97a8 100644
--- a/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/component/JamonProvider.java
+++ b/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/component/JamonProvider.java
@@ -24,8 +24,8 @@
import org.apache.wicket.extensions.markup.html.repeater.data.sort.SortOrder;
import org.apache.wicket.extensions.markup.html.repeater.util.SortableDataProvider;
import org.apache.wicket.model.IModel;
-import org.wicketstuff.jamon.monitor.JamonRepository;
import org.wicketstuff.jamon.monitor.MonitorSpecification;
+import org.wicketstuff.jamon.monitor.MonitoringRepository;
import com.jamonapi.Monitor;
@@ -38,14 +38,14 @@ public class JamonProvider extends SortableDataProvider
{
private static final Iterator EMPTY_ITERATOR = Collections.emptyIterator();
- private JamonRepository jamonRepository;
+ private MonitoringRepository jamonRepository;
private final MonitorSpecification specification;
public JamonProvider(MonitorSpecification specification)
{
this.specification = specification;
- jamonRepository = Application.get().getMetaData(JamonRepositoryKey.KEY);
+ jamonRepository = Application.get().getMetaData(MonitoringRepositoryKey.KEY);
setSort("label", SortOrder.ASCENDING);
}
diff --git a/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/component/JamonRepositoryKey.java b/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/component/JamonRepositoryKey.java
deleted file mode 100644
index d31b4bab8a..0000000000
--- a/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/component/JamonRepositoryKey.java
+++ /dev/null
@@ -1,11 +0,0 @@
-package org.wicketstuff.jamon.component;
-
-import org.apache.wicket.MetaDataKey;
-import org.wicketstuff.jamon.monitor.JamonRepository;
-
-public class JamonRepositoryKey extends MetaDataKey
-{
-
- private static final long serialVersionUID = 1L;
- public static final JamonRepositoryKey KEY = new JamonRepositoryKey();
-}
diff --git a/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/component/MonitoringRepositoryKey.java b/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/component/MonitoringRepositoryKey.java
new file mode 100644
index 0000000000..ae062c88b2
--- /dev/null
+++ b/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/component/MonitoringRepositoryKey.java
@@ -0,0 +1,27 @@
+/*
+ * 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.
+ */
+package org.wicketstuff.jamon.component;
+
+import org.apache.wicket.MetaDataKey;
+import org.wicketstuff.jamon.monitor.MonitoringRepository;
+
+public class MonitoringRepositoryKey extends MetaDataKey
+{
+
+ private static final long serialVersionUID = 1L;
+ public static final MonitoringRepositoryKey KEY = new MonitoringRepositoryKey();
+}
diff --git a/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/monitor/JamonRepository.java b/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/monitor/JamonRepository.java
index fab1e28a61..d5f7088063 100644
--- a/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/monitor/JamonRepository.java
+++ b/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/monitor/JamonRepository.java
@@ -41,7 +41,7 @@
*
*/
@SuppressWarnings("serial")
-public class JamonRepository implements Serializable
+public class JamonRepository implements Serializable, MonitoringRepository
{
public JamonRepository()
{
@@ -66,10 +66,8 @@ List getAll()
}
}
- /**
- * Returns the number of {@link Monitor}s in this repository.
- *
- * @return the number of {@link Monitor}s.
+ /* (non-Javadoc)
+ * @see org.wicketstuff.jamon.monitor.MonitoringRepository#count()
*/
public int count()
{
@@ -85,12 +83,8 @@ public static void clear()
MonitorFactory.getFactory().reset();
}
- /**
- * Returns {@link Monitor} that registered under the given monitorLabel
- *
- * @param monitorLabel
- * The label of the monitor to be returned
- * @return The found monitor or null.
+ /* (non-Javadoc)
+ * @see org.wicketstuff.jamon.monitor.MonitoringRepository#findMonitorByLabel(java.lang.String)
*/
public Monitor findMonitorByLabel(String monitorLabel)
{
@@ -108,12 +102,8 @@ public Monitor findMonitorByLabel(String monitorLabel)
return monitors.isEmpty() ? null : monitors.get(0);
}
- /**
- * Returns all {@link Monitor} that satisfy the given {@link MonitorSpecification}.
- *
- * @param specification
- * The {@link MonitorSpecification} to satisfy
- * @return All monitors that satisfy the given {@link MonitorSpecification}.
+ /* (non-Javadoc)
+ * @see org.wicketstuff.jamon.monitor.MonitoringRepository#find(org.wicketstuff.jamon.monitor.MonitorSpecification)
*/
public List find(MonitorSpecification specification)
{
diff --git a/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/monitor/MonitoringRepository.java b/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/monitor/MonitoringRepository.java
new file mode 100644
index 0000000000..1ad988e4d6
--- /dev/null
+++ b/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/monitor/MonitoringRepository.java
@@ -0,0 +1,55 @@
+/*
+ * 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.
+ */
+package org.wicketstuff.jamon.monitor;
+
+import java.util.List;
+
+import com.jamonapi.Monitor;
+
+/**
+ * Data provider for monitoring statements.
+ *
+ * @author rene-d-menoto
+ */
+public interface MonitoringRepository
+{
+
+ /**
+ * Returns the number of {@link Monitor}s in this repository.
+ *
+ * @return the number of {@link Monitor}s.
+ */
+ int count();
+
+ /**
+ * Returns {@link Monitor} that registered under the given monitorLabel
+ *
+ * @param monitorLabel
+ * The label of the monitor to be returned
+ * @return The found monitor or null.
+ */
+ Monitor findMonitorByLabel(String monitorLabel);
+
+ /**
+ * Returns all {@link Monitor} that satisfy the given {@link MonitorSpecification}.
+ *
+ * @param specification
+ * The {@link MonitorSpecification} to satisfy
+ * @return All monitors that satisfy the given {@link MonitorSpecification}.
+ */
+ List find(MonitorSpecification specification);
+}
\ No newline at end of file
diff --git a/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/request/cycle/JamonAwareRequestCycleListener.java b/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/request/cycle/JamonAwareRequestCycleListener.java
index 3b2d6d28c7..dd30e56577 100644
--- a/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/request/cycle/JamonAwareRequestCycleListener.java
+++ b/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/request/cycle/JamonAwareRequestCycleListener.java
@@ -21,8 +21,6 @@
import org.apache.wicket.request.component.IRequestablePage;
import org.apache.wicket.request.cycle.AbstractRequestCycleListener;
import org.apache.wicket.request.cycle.RequestCycle;
-import org.wicketstuff.jamon.component.JamonRepositoryKey;
-import org.wicketstuff.jamon.monitor.JamonRepository;
import org.apache.wicket.Application;
import org.apache.wicket.core.request.handler.BookmarkablePageRequestHandler;
import org.apache.wicket.core.request.handler.BufferedResponseRequestHandler;
@@ -66,7 +64,6 @@ public class JamonAwareRequestCycleListener extends AbstractRequestCycleListener
public JamonAwareRequestCycleListener(Application app, boolean includeSourceNameInMonitorLabel)
{
- app.setMetaData(JamonRepositoryKey.KEY, new JamonRepository());
this.includeSourceNameInMonitorLabel = includeSourceNameInMonitorLabel;
}
diff --git a/jamon-parent/jamon/src/test/java/org/wicketstuff/jamon/component/JamonAdminPageTest.java b/jamon-parent/jamon/src/test/java/org/wicketstuff/jamon/component/JamonAdminPageTest.java
index ab6bcf9402..9bd25256d0 100644
--- a/jamon-parent/jamon/src/test/java/org/wicketstuff/jamon/component/JamonAdminPageTest.java
+++ b/jamon-parent/jamon/src/test/java/org/wicketstuff/jamon/component/JamonAdminPageTest.java
@@ -36,7 +36,7 @@ public class JamonAdminPageTest
public void beforeEachTest()
{
wicketTester = new WicketTester(JamonAdminPage.class);
- wicketTester.getApplication().setMetaData(JamonRepositoryKey.KEY, new JamonRepository());
+ wicketTester.getApplication().setMetaData(MonitoringRepositoryKey.KEY, new JamonRepository());
}
@After
diff --git a/jamon-parent/jamon/src/test/java/org/wicketstuff/jamon/component/JamonProviderTest.java b/jamon-parent/jamon/src/test/java/org/wicketstuff/jamon/component/JamonProviderTest.java
index bfb749f7b3..f0302a8674 100644
--- a/jamon-parent/jamon/src/test/java/org/wicketstuff/jamon/component/JamonProviderTest.java
+++ b/jamon-parent/jamon/src/test/java/org/wicketstuff/jamon/component/JamonProviderTest.java
@@ -45,7 +45,7 @@ public class JamonProviderTest
public void setup()
{
wicketTester = new WicketTester(JamonAdminPage.class);
- wicketTester.getApplication().setMetaData(JamonRepositoryKey.KEY, new JamonRepository());
+ wicketTester.getApplication().setMetaData(MonitoringRepositoryKey.KEY, new JamonRepository());
jamonProvider = new JamonProvider(new AlwaysSatisfiedMonitorSpecification());
}
diff --git a/jamon-parent/jamon/src/test/java/org/wicketstuff/jamon/webapp/JamonWebApplication.java b/jamon-parent/jamon/src/test/java/org/wicketstuff/jamon/webapp/JamonWebApplication.java
index d56adcec37..fac4b24439 100644
--- a/jamon-parent/jamon/src/test/java/org/wicketstuff/jamon/webapp/JamonWebApplication.java
+++ b/jamon-parent/jamon/src/test/java/org/wicketstuff/jamon/webapp/JamonWebApplication.java
@@ -19,7 +19,6 @@
import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.protocol.http.WebApplication;
import org.wicketstuff.jamon.component.JamonTestUtil;
-import org.wicketstuff.jamon.request.cycle.JamonAwareRequestCycleListener;
/**
* WebApplication so Jamon Monitoring can be tested.
@@ -44,12 +43,4 @@ public Class extends WebPage> getHomePage()
{
return HomePage.class;
}
-
- @Override
- protected void init()
- {
- super.init();
-
- getRequestCycleListeners().add(new JamonAwareRequestCycleListener(this, true));
- }
}
diff --git a/jamon-parent/jamon/src/test/resources/META-INF/services/org.apache.wicket.IInitializer b/jamon-parent/jamon/src/test/resources/META-INF/services/org.apache.wicket.IInitializer
new file mode 100644
index 0000000000..806cc25e58
--- /dev/null
+++ b/jamon-parent/jamon/src/test/resources/META-INF/services/org.apache.wicket.IInitializer
@@ -0,0 +1 @@
+org.wicketstuff.jamon.application.JamonInitializer
\ No newline at end of file
From 7cea6b8bd0985705c0467a4efe2d46c372cd15a7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ren=C3=A9=20Dieckmann?=
Date: Sun, 26 Jun 2016 16:18:52 +0200
Subject: [PATCH 003/182] UX: Statistics presentation.
The statistics header text need some synchronization for original jamon
jsp. So it shall be easier to interpret monitoring values.
---
.../jamon/component/JamonAdminPage.properties | 24 +++++++++----------
.../jamon/component/JamonMonitorTable.java | 2 +-
2 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/component/JamonAdminPage.properties b/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/component/JamonAdminPage.properties
index b5b51a460f..e458b8aab3 100644
--- a/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/component/JamonAdminPage.properties
+++ b/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/component/JamonAdminPage.properties
@@ -1,16 +1,16 @@
-wicket.jamon.label=name
-wicket.jamon.average=average
+wicket.jamon.label=Label
+wicket.jamon.average=Avg
wicket.jamon.active=active
-wicket.jamon.avgActive=average active
+wicket.jamon.avgActive=AvgActive
wicket.jamon.avgGlobalActive=avgGlobalActive
wicket.jamon.avgPrimaryActive=avgPrimaryActive
-wicket.jamon.firstAccess=firstAccess
-wicket.jamon.hits=hits
-wicket.jamon.lastAccess=lastAccess
-wicket.jamon.lastValue=lastValue
-wicket.jamon.max=max
-wicket.jamon.maxActive=maxActive
-wicket.jamon.min=min
-wicket.jamon.stdDev=stdDev
-wicket.jamon.total=total
+wicket.jamon.firstAccess=FirstAccess
+wicket.jamon.hits=Hits
+wicket.jamon.lastAccess=LastAccess
+wicket.jamon.lastValue=LastValue
+wicket.jamon.max=Max
+wicket.jamon.maxActive=MaxActive
+wicket.jamon.min=Min
+wicket.jamon.stdDev=StdDev
+wicket.jamon.total=Total
wicket.jamon.units=units
\ No newline at end of file
diff --git a/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/component/JamonMonitorTable.java b/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/component/JamonMonitorTable.java
index bb5b17459c..15900dc15b 100644
--- a/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/component/JamonMonitorTable.java
+++ b/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/component/JamonMonitorTable.java
@@ -56,6 +56,7 @@ private static List> createColumns()
cols.add(createColumn("average", "avg"));
cols.add(createColumn("total", "total"));
cols.add(createColumn("stdDev", "stdDev"));
+ cols.add(createColumn("lastValue", "lastValue"));
cols.add(createColumn("min", "min"));
cols.add(createColumn("max", "max"));
@@ -66,7 +67,6 @@ private static List> createColumns()
cols.add(createColumn("firstAccess", "firstAccess"));
cols.add(createColumn("lastAccess", "lastAccess"));
- cols.add(createColumn("lastValue", "lastValue"));
return cols;
}
From 4d25bffb94af53a2c5b287c1eb5eae9c538612b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ren=C3=A9=20Dieckmann?=
Date: Sun, 26 Jun 2016 16:24:27 +0200
Subject: [PATCH 004/182] UX: Date statistics presentation.
The short date presentation was not very useful on rapid execution. The
presentation changed to a longer date format.
---
.../jamon/component/JamonMonitorTable.java | 47 +++++++++++++++++--
1 file changed, 44 insertions(+), 3 deletions(-)
diff --git a/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/component/JamonMonitorTable.java b/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/component/JamonMonitorTable.java
index 15900dc15b..028701ccff 100644
--- a/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/component/JamonMonitorTable.java
+++ b/jamon-parent/jamon/src/main/java/org/wicketstuff/jamon/component/JamonMonitorTable.java
@@ -16,15 +16,20 @@
*/
package org.wicketstuff.jamon.component;
+import java.text.SimpleDateFormat;
import java.util.ArrayList;
+import java.util.Date;
import java.util.List;
+import org.apache.wicket.Component;
import org.apache.wicket.extensions.markup.html.repeater.data.grid.ICellPopulator;
import org.apache.wicket.extensions.markup.html.repeater.data.table.DefaultDataTable;
import org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn;
import org.apache.wicket.extensions.markup.html.repeater.data.table.PropertyColumn;
import org.apache.wicket.markup.repeater.Item;
+import org.apache.wicket.model.ComponentDetachableModel;
import org.apache.wicket.model.IModel;
+import org.apache.wicket.model.PropertyModel;
import org.apache.wicket.model.ResourceModel;
import org.wicketstuff.jamon.monitor.MonitorSpecification;
@@ -65,8 +70,8 @@ private static List> createColumns()
cols.add(createColumn("avgActive", "avgActive"));
cols.add(createColumn("maxActive", "maxActive"));
- cols.add(createColumn("firstAccess", "firstAccess"));
- cols.add(createColumn("lastAccess", "lastAccess"));
+ cols.add(createDateColumn("firstAccess", "firstAccess"));
+ cols.add(createDateColumn("lastAccess", "lastAccess"));
return cols;
}
@@ -101,9 +106,45 @@ public void populateItem(Item> item, String componentId,
};
}
+ private static PropertyColumn createDateColumn(String resourceKey,
+ final String propertyName)
+ {
+ return new PropertyColumn(getResourceModelForKey(resourceKey),
+ propertyName, propertyName)
+ {
+ @Override
+ public IModel> getDataModel(IModel rowModel)
+ {
+ return new DateFormatModel(new PropertyModel(rowModel, propertyName));
+ }
+ };
+ }
+
private static ResourceModel getResourceModelForKey(String resourceKey)
{
return new ResourceModel(String.format("wicket.jamon.%s", resourceKey));
}
-}
+ public static class DateFormatModel extends ComponentDetachableModel {
+ private final IModel date;
+
+ public DateFormatModel(IModel date)
+ {
+ this.date = date;
+ }
+
+ @Override
+ protected String getObject(Component component)
+ {
+ return new SimpleDateFormat("yyyy-MM.dd HH:mm:ss.SSS", component.getLocale())
+ .format(date.getObject());
+ }
+
+ @Override
+ public void detach()
+ {
+ date.detach();
+ super.detach();
+ }
+ }
+}
\ No newline at end of file
From 60b29d78ea2361572ead68de969e31aea8229c73 Mon Sep 17 00:00:00 2001
From: JoachimRohde
Date: Mon, 27 Jun 2016 14:34:05 +0200
Subject: [PATCH 005/182] [GMap3] Usage of API key is now supported and
encouraged
Since 22th June 2016 Google Maps requires an API-key, see http://googlegeodevelopers.blogspot.de/2016/06/building-for-scale-updates-to-google.html
---
gmap3-parent/gmap3/README.txt | 2 -
.../main/java/org/wicketstuff/gmap/GMap.java | 44 +++++++++++++++++--
.../gmap/GMapHeaderContributor.java | 44 ++++++++++++++++---
.../wicketstuff/gmap/geocoder/Geocoder.java | 30 ++++++++++++-
.../wicket/contrib/gmap/util/GMapTest.java | 4 +-
5 files changed, 111 insertions(+), 13 deletions(-)
diff --git a/gmap3-parent/gmap3/README.txt b/gmap3-parent/gmap3/README.txt
index 265eedab36..e2cd3815a8 100644
--- a/gmap3-parent/gmap3/README.txt
+++ b/gmap3-parent/gmap3/README.txt
@@ -6,8 +6,6 @@ you should have little to no problems to use this component since the code
is based mainly on the wicket-contrib-gmap2 project.
There are a few differences though:
-- Since Google Maps v3 does not need any API-key anymore the usage of such a
-key is at the moment not supported.
- Since version 3 you can have more than one InfoWindow
- The handling which controls should be shown on the map has changed a bit
(in version 2 you could use GSmallMapControl, etc. Now you have to use the methods
diff --git a/gmap3-parent/gmap3/src/main/java/org/wicketstuff/gmap/GMap.java b/gmap3-parent/gmap3/src/main/java/org/wicketstuff/gmap/GMap.java
index 322cb87f85..0af91c2c2b 100644
--- a/gmap3-parent/gmap3/src/main/java/org/wicketstuff/gmap/GMap.java
+++ b/gmap3-parent/gmap3/src/main/java/org/wicketstuff/gmap/GMap.java
@@ -83,12 +83,49 @@ public class GMap extends Panel implements GOverlayContainer
private boolean failSilently = false;
private GMarkerCluster markerCluster;
+ /**
+ * Constructor.
+ *
+ * Default the header contributor of the component will added and the gmap
+ * will be initiated directly on rendering of the map.
+ *
+ * @param id wicket id
+ * @param apiKey your Google API key
+ */
+ public GMap(final String id, String apiKey)
+ {
+ this(id, new GMapHeaderContributor("http", apiKey));
+ }
+
+ /**
+ * Constructor.
+ *
+ * Default the header contributor of the component will added and the gmap
+ * will be initiated directly on rendering of the map.
+ *
+ * @param id wicket id
+ * @param scheme the scheme ("http" or "https") which should be used
+ * @param apiKey your Google API key
+ */
+ public GMap(final String id, String apiKey, String scheme)
+ {
+ this(id, new GMapHeaderContributor(scheme, apiKey));
+ }
+
/**
* Construct.
*
- * Default the header contributor of the component will added and the gmap will be inited directly on rendering of the map.
+ * Default the header contributor of the component will added and the gmap
+ * will be initiated directly on rendering of the map.
*
* @param id wicket id
+ * @deprecated since 22th June 2016 Google Maps requires an API-key,
+ * therefore you should use
+ * {@link #GMap(java.lang.String, java.lang.String) } or {@link #GMap(java.lang.String, java.lang.String, java.lang.String)
+ * }
+ * instead of this constructor
+ * @see
+ * http://googlegeodevelopers.blogspot.de/2016/06/building-for-scale-updates-to-google.html
*/
public GMap(final String id)
{
@@ -97,8 +134,9 @@ public GMap(final String id)
/**
* @deprecated Since the sensor-parameter is no longer required from Google
- * you should use {@link #GMap(java.lang.String) } instead of this
- * constructor
+ * {@link #GMap(java.lang.String, java.lang.String) } or {@link #GMap(java.lang.String, java.lang.String, java.lang.String)
+ * }
+ * instead of this constructor
*/
public GMap(final String id, final boolean sensor)
{
diff --git a/gmap3-parent/gmap3/src/main/java/org/wicketstuff/gmap/GMapHeaderContributor.java b/gmap3-parent/gmap3/src/main/java/org/wicketstuff/gmap/GMapHeaderContributor.java
index be9c9cf2a9..c1bb58b3d1 100644
--- a/gmap3-parent/gmap3/src/main/java/org/wicketstuff/gmap/GMapHeaderContributor.java
+++ b/gmap3-parent/gmap3/src/main/java/org/wicketstuff/gmap/GMapHeaderContributor.java
@@ -10,12 +10,21 @@ public class GMapHeaderContributor extends Behavior
private static final long serialVersionUID = 1L;
// URL for Google Maps' API endpoint.
- private static final String GMAP_API_URL = "%s://maps.google.com/maps/api/js?v=3&";
+ private static final String GMAP_API_URL = "%s://maps.googleapis.com/maps/api/js?v=3&";
private static final String HTTP = "http";
// We have some custom Javascript.
private String scheme;
private String sensor = "false";
+ private String apiKey = null;
+ /**
+ * @deprecated since 22th June 2016 Google Maps requires an API-key,
+ * therefore you should use
+ * {@link #GMapHeaderContributor(java.lang.String, java.lang.String) }
+ * instead of this constructor
+ * @see
+ * http://googlegeodevelopers.blogspot.de/2016/06/building-for-scale-updates-to-google.html
+ */
public GMapHeaderContributor()
{
this(HTTP, false);
@@ -32,6 +41,14 @@ public GMapHeaderContributor(final boolean sensor)
this(HTTP, sensor);
}
+ /**
+ * @deprecated since 22th June 2016 Google Maps requires an API-key,
+ * therefore you should use
+ * {@link #GMapHeaderContributor(java.lang.String, java.lang.String) }
+ * instead of this constructor
+ * @see
+ * http://googlegeodevelopers.blogspot.de/2016/06/building-for-scale-updates-to-google.html
+ */
public GMapHeaderContributor(final String scheme)
{
this(scheme, false);
@@ -44,10 +61,10 @@ public GMapHeaderContributor(final String scheme)
*
* @param scheme http or https?
* @param sensor this parameter will be ignored
- *
+ *
* @deprecated Since the sensor-parameter is no longer required from Google
- * you should use {@link #GMapHeaderContributor(java.lang.String) } instead of this
- * constructor
+ * you should use {@link #GMapHeaderContributor(java.lang.String) } instead
+ * of this constructor
*/
public GMapHeaderContributor(final String scheme, final boolean sensor)
{
@@ -58,12 +75,28 @@ public GMapHeaderContributor(final String scheme, final boolean sensor)
}
}
+
+ /**
+ * @param scheme http or https?
+ * @param apiKey your Google Maps API-key
+ */
+ public GMapHeaderContributor(final String scheme, final String apiKey)
+ {
+ this.scheme = scheme;
+ this.apiKey = apiKey;
+ }
+
@Override
public void renderHead(Component component, IHeaderResponse response)
{
super.renderHead(component, response);
response.render(JavaScriptHeaderItem.forReference(WicketGMapJsReference.INSTANCE));
- response.render(JavaScriptHeaderItem.forUrl(String.format(GMAP_API_URL, scheme)));
+ String url = String.format(GMAP_API_URL, scheme);
+ if (apiKey != null)
+ {
+ url = url + "apiKey=" + apiKey;
+ }
+ response.render(JavaScriptHeaderItem.forUrl(url));
}
/**
@@ -74,4 +107,5 @@ public String getSensor()
{
return sensor;
}
+
}
diff --git a/gmap3-parent/gmap3/src/main/java/org/wicketstuff/gmap/geocoder/Geocoder.java b/gmap3-parent/gmap3/src/main/java/org/wicketstuff/gmap/geocoder/Geocoder.java
index 8bb3232681..aa07f7a9c2 100644
--- a/gmap3-parent/gmap3/src/main/java/org/wicketstuff/gmap/geocoder/Geocoder.java
+++ b/gmap3-parent/gmap3/src/main/java/org/wicketstuff/gmap/geocoder/Geocoder.java
@@ -57,13 +57,19 @@ public class Geocoder implements Serializable
*/
private GeocoderResult geocoderResult;
private ObjectMapper objectMapper;
+ private String apiKey = null;
/**
* Default Constructor.
* Create an {@link ObjectMapper}.
- * The {@link ObjectMapper} ignore unknown properties when mapping from JSON to POJO.
+ * The {@link ObjectMapper} ignore unknown properties when mapping from JSON
+ * to POJO.
* Use {@link #Geocoder(ObjectMapper)} to customize
+ *
+ * @deprecated since 22th June 2016 Google Maps requires an API-key,
+ * therefore you should use {@link #Geocoder(java.lang.String) } instead of
+ * this constructor
*/
public Geocoder()
{
@@ -71,17 +77,33 @@ public Geocoder()
objectMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
}
+ public Geocoder(String apiKey)
+ {
+ this();
+ this.apiKey = apiKey;
+ }
+
/**
* Configuration Constructor.
* If you have to customize the default {@link ObjectMapper}
*
* @see Geocoder#Geocoder()
+ *
+ * @deprecated since 22th June 2016 Google Maps requires an API-key,
+ * therefore you should use {@link #Geocoder(com.fasterxml.jackson.databind.ObjectMapper, java.lang.String)
+ * } instead of this constructor
*/
public Geocoder(ObjectMapper mapper)
{
this.objectMapper = mapper;
}
+ public Geocoder(ObjectMapper mapper, String apiKey)
+ {
+ this(mapper);
+ this.apiKey = apiKey;
+ }
+
/**
* Decode an response of an geocoder request to POJOs.
* Following the successful mapping from JSON to POJO
@@ -142,6 +164,12 @@ public String encode(final String address)
StringBuilder sb = new StringBuilder("http://maps.googleapis.com/maps/api/geocode/");
sb.append(output);
sb.append("?");
+ if (apiKey != null)
+ {
+ sb.append("apiKey=");
+ sb.append(apiKey);
+ sb.append("&");
+ }
sb.append("address=").append(urlEncode(address));
return sb.toString();
}
diff --git a/gmap3-parent/gmap3/src/test/java/wicket/contrib/gmap/util/GMapTest.java b/gmap3-parent/gmap3/src/test/java/wicket/contrib/gmap/util/GMapTest.java
index 81a915b718..50f3df83d9 100644
--- a/gmap3-parent/gmap3/src/test/java/wicket/contrib/gmap/util/GMapTest.java
+++ b/gmap3-parent/gmap3/src/test/java/wicket/contrib/gmap/util/GMapTest.java
@@ -28,7 +28,7 @@ public void testIfBoundJSIsntRenderedIfBoundsPropertyIsntSet()
GMap map = new GMap("someId");
tester.startComponentInPage(map);
Assert.assertFalse(
- "If the property bounds is not set, it shoudn'd be render the JS-Methode",
+ "If the property bounds is not set, it shouldn't render the JS-method",
map.getJSinit().contains("fitBounds("));
}
@@ -48,7 +48,7 @@ public void testIfBoundJSIsRenderedIfBoundsPropertyIsSet()
));
tester.startComponentInPage(map);
Assert.assertTrue(
- "If the property bounds is not set, it shoudn'd be render the JS-Methode",
+ "If the property bounds is not set, it shouldn't render the JS-method",
map.getJSinit()//
.contains(
"fitBounds(new google.maps.LatLngBounds("
From ca34ed48f536e1c93760815b1c3263c239cf54af Mon Sep 17 00:00:00 2001
From: Andrea Del Bene
Date: Mon, 4 Jul 2016 15:01:03 +0200
Subject: [PATCH 006/182] Fix for serializers tests
---
.../org/wicketstuff/pageserializer/fast/FastSerializerTest.java | 2 +-
.../wicketstuff/pageserializer/kryo2/KryoSerializerTest.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/serializer-fast/src/test/java/org/wicketstuff/pageserializer/fast/FastSerializerTest.java b/serializer-fast/src/test/java/org/wicketstuff/pageserializer/fast/FastSerializerTest.java
index 6415561fc6..71c0ef78cf 100644
--- a/serializer-fast/src/test/java/org/wicketstuff/pageserializer/fast/FastSerializerTest.java
+++ b/serializer-fast/src/test/java/org/wicketstuff/pageserializer/fast/FastSerializerTest.java
@@ -64,7 +64,7 @@ public void homepageRendersSuccessfully()
Assert.assertNotNull("The produced data should not be null!", data);
// data length can fluctuate based on the object field values
- Assert.assertEquals("The produced data length is not correct!", 606, data.length);
+ Assert.assertEquals("The produced data length is not correct!", 608, data.length);
Object object = pageSerializer.deserialize(data);
Assert.assertTrue(
diff --git a/serializer-kryo2/src/test/java/org/wicketstuff/pageserializer/kryo2/KryoSerializerTest.java b/serializer-kryo2/src/test/java/org/wicketstuff/pageserializer/kryo2/KryoSerializerTest.java
index d9ba4c1fd5..dcad4db3a0 100644
--- a/serializer-kryo2/src/test/java/org/wicketstuff/pageserializer/kryo2/KryoSerializerTest.java
+++ b/serializer-kryo2/src/test/java/org/wicketstuff/pageserializer/kryo2/KryoSerializerTest.java
@@ -66,7 +66,7 @@ public void homepageRendersSuccessfully()
Assert.assertNotNull("The produced data should not be null!", data);
// data length can fluctuate based on the object field values
- Assert.assertEquals("The produced data length is not correct!", 651, data.length);
+ Assert.assertEquals("The produced data length is not correct!", 653, data.length);
Object object = pageSerializer.deserialize(data);
Assert.assertTrue(
From e9a0cd4202ba92c200b77306f8db5496caf8febd Mon Sep 17 00:00:00 2001
From: Andrea Del Bene
Date: Mon, 4 Jul 2016 18:07:55 +0200
Subject: [PATCH 007/182] Attempt to solve what it might be a synchronization
problem
---
.../async/components/ProgressButton.java | 14 +++++++-------
.../async/components/ProgressButtonTest.java | 2 --
.../org/wicketstuff/async/components/TestPage.java | 2 +-
3 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/async-tasks-parent/async-tasks-impl/src/main/java/org/wicketstuff/async/components/ProgressButton.java b/async-tasks-parent/async-tasks-impl/src/main/java/org/wicketstuff/async/components/ProgressButton.java
index fa05e69e2d..670c79df66 100644
--- a/async-tasks-parent/async-tasks-impl/src/main/java/org/wicketstuff/async/components/ProgressButton.java
+++ b/async-tasks-parent/async-tasks-impl/src/main/java/org/wicketstuff/async/components/ProgressButton.java
@@ -1,5 +1,11 @@
package org.wicketstuff.async.components;
+import java.lang.reflect.Method;
+import java.util.Collection;
+import java.util.HashMap;
+import java.util.HashSet;
+import java.util.Map;
+
import org.apache.wicket.Component;
import org.apache.wicket.Page;
import org.apache.wicket.ajax.AbstractAjaxTimerBehavior;
@@ -13,12 +19,6 @@
import org.apache.wicket.util.time.Duration;
import org.wicketstuff.async.task.AbstractTaskContainer;
-import java.lang.reflect.Method;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.Map;
-
/**
* A progress button which allows to control a {@link Runnable}. Each such button will refresh itself as given by
* by the {@link Duration} with which it was constructed. It represents a runnable by a {@link AbstractTaskContainer}.
@@ -34,7 +34,7 @@ public class ProgressButton extends AjaxFallbackButton {
private final IRunnableFactory runnableFactory;
private final RefreshBehavior refreshBehavior;
- private IModel extends AbstractTaskContainer> taskContainerModel;
+ private volatile IModel extends AbstractTaskContainer> taskContainerModel;
public ProgressButton(String id, Form> form, IModel extends AbstractTaskContainer> taskContainerModel, Duration duration) {
this(id, null, form, taskContainerModel, null, duration);
diff --git a/async-tasks-parent/async-tasks-impl/src/test/java/org/wicketstuff/async/components/ProgressButtonTest.java b/async-tasks-parent/async-tasks-impl/src/test/java/org/wicketstuff/async/components/ProgressButtonTest.java
index c008438221..7cb7babcec 100644
--- a/async-tasks-parent/async-tasks-impl/src/test/java/org/wicketstuff/async/components/ProgressButtonTest.java
+++ b/async-tasks-parent/async-tasks-impl/src/test/java/org/wicketstuff/async/components/ProgressButtonTest.java
@@ -92,9 +92,7 @@ public void testException() throws Exception {
formTester.submit("button");
assertTrue(page.isTaskStart());
-// assertFalse(page.isTaskSuccess());
assertFalse(page.isTaskCancel());
-// assertTrue(page.isTaskError());
}
@Test
diff --git a/async-tasks-parent/async-tasks-impl/src/test/java/org/wicketstuff/async/components/TestPage.java b/async-tasks-parent/async-tasks-impl/src/test/java/org/wicketstuff/async/components/TestPage.java
index dc7157fd93..248b4b42b0 100644
--- a/async-tasks-parent/async-tasks-impl/src/test/java/org/wicketstuff/async/components/TestPage.java
+++ b/async-tasks-parent/async-tasks-impl/src/test/java/org/wicketstuff/async/components/TestPage.java
@@ -18,7 +18,7 @@ public class TestPage extends WebPage implements IRunnableFactory {
private final ProgressButton button;
private final ProgressBar bar;
private final CountDownLatch latch = new CountDownLatch(1);
- private Runnable runnable;
+ private volatile Runnable runnable;
private boolean taskStart, taskSuccess, taskCancel, taskError;
From de82eb1f36d54711660ccd57a85769874fefcd6d Mon Sep 17 00:00:00 2001
From: kkaravitis
Date: Thu, 7 Jul 2016 18:49:15 +0300
Subject: [PATCH 008/182] #522
---
.../apache/wicket/portlet/PortletFilter.java | 25 +++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/portlet-parent/wicketstuff-portlet/src/main/java/org/apache/wicket/portlet/PortletFilter.java b/portlet-parent/wicketstuff-portlet/src/main/java/org/apache/wicket/portlet/PortletFilter.java
index 78545bafaf..a91213090b 100644
--- a/portlet-parent/wicketstuff-portlet/src/main/java/org/apache/wicket/portlet/PortletFilter.java
+++ b/portlet-parent/wicketstuff-portlet/src/main/java/org/apache/wicket/portlet/PortletFilter.java
@@ -37,6 +37,8 @@
import org.apache.wicket.request.cycle.RequestCycle;
import org.apache.wicket.request.cycle.RequestCycleContext;
import org.apache.wicket.request.handler.render.PageRenderer;
+import org.apache.wicket.request.http.WebResponse;
+import org.apache.wicket.request.http.flow.AbortWithHttpErrorCodeException;
import org.apache.wicket.settings.RequestCycleSettings.RenderStrategy;
import org.apache.wicket.util.crypt.Base64;
@@ -51,6 +53,8 @@
*/
public class PortletFilter extends WicketFilter {
public static final String SHARED_RESOURCE_URL_PORTLET_WINDOW_ID_PREFIX = "/ps:";
+
+ private static String NOT_MOUNTED_PATH = "notMountedPath";
private FilterConfig filterConfig;
@@ -133,4 +137,25 @@ public void doFilter(ServletRequest servletRequest, ServletResponse servletRespo
super.doFilter(httpServletRequest, httpServletResponse, filterChain);
}
+
+ protected boolean processRequestCycle(RequestCycle requestCycle, WebResponse webResponse,
+ HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse, final FilterChain chain)
+ throws IOException, ServletException {
+ // Assume we are able to handle the request
+ boolean res = true;
+
+ if (requestCycle.processRequestAndDetach()) {
+ webResponse.flush();
+ } else if (httpServletRequest.getPathInfo() != null
+ && httpServletRequest.getPathInfo().equals(httpServletRequest.getAttribute(NOT_MOUNTED_PATH))) {
+ throw new AbortWithHttpErrorCodeException(404, httpServletRequest.getPathInfo() + " is not mounted to any Page");
+ } else {
+ if (chain != null) {
+ httpServletRequest.setAttribute(NOT_MOUNTED_PATH, httpServletRequest.getPathInfo());
+ chain.doFilter(httpServletRequest, httpServletResponse);
+ }
+ res = false;
+ }
+ return res;
+ }
}
From a19d477b132bb36b7c9013852f79195ce9f7ea6a Mon Sep 17 00:00:00 2001
From: kkaravitis
Date: Thu, 7 Jul 2016 19:02:29 +0300
Subject: [PATCH 009/182] update version of examples
---
.../src/main/webapp/WEB-INF/liferay-plugin-package.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/portlet-parent/wicketstuff-portlet-examples/src/main/webapp/WEB-INF/liferay-plugin-package.xml b/portlet-parent/wicketstuff-portlet-examples/src/main/webapp/WEB-INF/liferay-plugin-package.xml
index 7cae2c7cc4..efe2b0ec16 100644
--- a/portlet-parent/wicketstuff-portlet-examples/src/main/webapp/WEB-INF/liferay-plugin-package.xml
+++ b/portlet-parent/wicketstuff-portlet-examples/src/main/webapp/WEB-INF/liferay-plugin-package.xml
@@ -3,7 +3,7 @@
wicketstuff-portlet-examples
- liferay/wicketstuff-portlet-examples/6.22.0/war
+ liferay/wicketstuff-portlet-examples/7.4.0/warportlet
From e63da3069fb20e8e3db0a645acf46d047aab0d11 Mon Sep 17 00:00:00 2001
From: kkaravitis
Date: Thu, 7 Jul 2016 19:06:06 +0300
Subject: [PATCH 010/182] #523
---
.../request/mapper/PortletSystemMapper.java | 55 ++++++++++++++++++-
1 file changed, 54 insertions(+), 1 deletion(-)
diff --git a/portlet-parent/wicketstuff-portlet/src/main/java/org/apache/wicket/portlet/request/mapper/PortletSystemMapper.java b/portlet-parent/wicketstuff-portlet/src/main/java/org/apache/wicket/portlet/request/mapper/PortletSystemMapper.java
index d772285b58..9d8d7efeab 100644
--- a/portlet-parent/wicketstuff-portlet/src/main/java/org/apache/wicket/portlet/request/mapper/PortletSystemMapper.java
+++ b/portlet-parent/wicketstuff-portlet/src/main/java/org/apache/wicket/portlet/request/mapper/PortletSystemMapper.java
@@ -1,13 +1,19 @@
package org.apache.wicket.portlet.request.mapper;
+import java.util.Iterator;
+
import org.apache.wicket.Application;
+import org.apache.wicket.Page;
import org.apache.wicket.SystemMapper;
import org.apache.wicket.core.request.mapper.BookmarkableMapper;
+import org.apache.wicket.core.request.mapper.HomePageMapper;
+import org.apache.wicket.core.request.mapper.MountedMapper;
+import org.apache.wicket.protocol.http.WebApplication;
import org.apache.wicket.request.IRequestHandler;
import org.apache.wicket.request.IRequestMapper;
import org.apache.wicket.request.Url;
-import org.apache.wicket.core.request.mapper.HomePageMapper;
import org.apache.wicket.request.component.IRequestablePage;
+import org.apache.wicket.request.mapper.CompoundRequestMapper;
import org.apache.wicket.request.mapper.info.PageInfo;
import org.apache.wicket.request.mapper.parameter.IPageParametersEncoder;
import org.apache.wicket.request.mapper.parameter.PageParameters;
@@ -26,12 +32,59 @@ public class PortletSystemMapper extends SystemMapper
private MapperDelegate delegate = new MapperDelegate();
+
+ /**
+ * Mounts a page class of the application to the given path.
+ * @param
+ *
+ * @param
+ * type of page
+ *
+ * @param application
+ *
+ * @param path
+ * the path to mount the page class on
+ * @param pageClass
+ * the page class to be mounted
+ */
+ public static MountedMapper mountPage(final WebApplication application, final String path, final Class pageClass)
+ {
+ MountedMapper mapper = new MountedMapper(path, pageClass) {
+ private MapperDelegate delegate = new MapperDelegate();
+
+ @Override
+ protected IRequestHandler processHybrid(PageInfo pageInfo,
+ Class extends IRequestablePage> pageClass,
+ PageParameters pageParameters, Integer renderCount) {
+
+ return delegate.processHybrid(pageInfo, pageClass, pageParameters, renderCount);
+ }
+ };
+ application.mount(mapper);
+
+ return mapper;
+ }
+
/**
* @param application
*/
public PortletSystemMapper(Application application)
{
super(application);
+ addMountedMappers(application);
+ }
+
+ protected void addMountedMappers(Application application) {
+ IRequestMapper rootMapper = application.getRootRequestMapper();
+ if (rootMapper instanceof CompoundRequestMapper) {
+ Iterator iterator = ((CompoundRequestMapper)rootMapper).iterator();
+ while (iterator.hasNext()) {
+ IRequestMapper requestMapper = iterator.next();
+ if (requestMapper instanceof MountedMapper && !(requestMapper instanceof HomePageMapper)) {
+ add(requestMapper);
+ }
+ }
+ }
}
/**
From 8f201fbb66ca4bc974194beac41abd8f580be1f0 Mon Sep 17 00:00:00 2001
From: Carl-Eric Menzel
Date: Fri, 15 Jul 2016 14:34:38 +0200
Subject: [PATCH 011/182] prevent default action when clicking sort header
In Wicket 6.x, "allowDefault" defaulted to false. In Wicket 7, "preventDefault"
is false, inverting this behavior. Since the page should not scroll when
clicking on a sort header, we need to update the AjaxAttributes here to prevent
the default.
---
.../com/inmethod/grid/common/SortableHeaderLinkPanel.java | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/inmethod-grid-parent/inmethod-grid/src/main/java/com/inmethod/grid/common/SortableHeaderLinkPanel.java b/inmethod-grid-parent/inmethod-grid/src/main/java/com/inmethod/grid/common/SortableHeaderLinkPanel.java
index c9ee893166..418b339bcd 100644
--- a/inmethod-grid-parent/inmethod-grid/src/main/java/com/inmethod/grid/common/SortableHeaderLinkPanel.java
+++ b/inmethod-grid-parent/inmethod-grid/src/main/java/com/inmethod/grid/common/SortableHeaderLinkPanel.java
@@ -2,6 +2,7 @@
import org.apache.wicket.ajax.AjaxEventBehavior;
import org.apache.wicket.ajax.AjaxRequestTarget;
+import org.apache.wicket.ajax.attributes.AjaxRequestAttributes;
import org.apache.wicket.markup.ComponentTag;
import org.apache.wicket.markup.html.panel.Panel;
@@ -58,6 +59,13 @@ protected void onEvent(AjaxRequestTarget target)
sortStateChanged(target);
}
+
+ @Override
+ protected void updateAjaxAttributes(AjaxRequestAttributes attributes)
+ {
+ super.updateAjaxAttributes(attributes);
+ attributes.setPreventDefault(true);
+ }
});
}
From 77d09316384a05397dc814ed25ab1894918b2bab Mon Sep 17 00:00:00 2001
From: Martin Tzvetanov Grigorov
Date: Sat, 16 Jul 2016 11:10:23 +0200
Subject: [PATCH 012/182] 'master' branch builds against Wicket 8.x now
---
pom.xml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/pom.xml b/pom.xml
index 403c61d94a..adb99c1eb2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -244,10 +244,10 @@
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOT
- 1.7
- 1.7
+ 1.8
+ 1.8UTF-8UTF-8
From d64eabc987ddeb977eb1a85828f05c288929127e Mon Sep 17 00:00:00 2001
From: Martin Tzvetanov Grigorov
Date: Sat, 16 Jul 2016 11:12:49 +0200
Subject: [PATCH 013/182] Set version to 8.0.0-SNAPSHOT
---
annotation/pom.xml | 2 +-
.../annotationeventdispatcher/pom.xml | 2 +-
annotationeventdispatcher-parent/pom.xml | 2 +-
async-tasks-parent/async-tasks-demo/pom.xml | 2 +-
async-tasks-parent/async-tasks-impl/pom.xml | 2 +-
async-tasks-parent/pom.xml | 2 +-
autocomplete-tagit-parent/autocomplete-tagit-examples/pom.xml | 2 +-
autocomplete-tagit-parent/autocomplete-tagit/pom.xml | 2 +-
autocomplete-tagit-parent/pom.xml | 2 +-
browserid-parent/browserid-examples/pom.xml | 2 +-
browserid-parent/browserid/pom.xml | 2 +-
browserid-parent/pom.xml | 2 +-
closure-compiler/pom.xml | 2 +-
dashboard-parent/dashboard-core/pom.xml | 2 +-
dashboard-parent/dashboard-examples/pom.xml | 2 +-
.../dashboard-widgets/dashboard-widgets-charts/pom.xml | 2 +-
.../dashboard-widgets/dashboard-widgets-jqplot/pom.xml | 2 +-
.../dashboard-widgets/dashboard-widgets-justgage/pom.xml | 2 +-
.../dashboard-widgets/dashboard-widgets-loremipsum/pom.xml | 2 +-
.../dashboard-widgets/dashboard-widgets-ofchart/pom.xml | 2 +-
dashboard-parent/dashboard-widgets/pom.xml | 2 +-
dashboard-parent/pom.xml | 2 +-
datastores-parent/datastore-cassandra/pom.xml | 2 +-
datastores-parent/datastore-common/pom.xml | 2 +-
datastores-parent/datastore-hazelcast/pom.xml | 2 +-
datastores-parent/datastore-ignite/pom.xml | 2 +-
datastores-parent/datastore-memcached/pom.xml | 2 +-
datastores-parent/datastore-redis/pom.xml | 2 +-
datastores-parent/pom.xml | 2 +-
datatables-parent/datatables-examples/pom.xml | 2 +-
datatables-parent/datatables/pom.xml | 2 +-
datatables-parent/pom.xml | 2 +-
editable-grid-parent/editable-grid-examples/pom.xml | 2 +-
editable-grid-parent/editable-grid/pom.xml | 2 +-
editable-grid-parent/pom.xml | 2 +-
flot-parent/flot-examples/pom.xml | 2 +-
flot-parent/flot/pom.xml | 2 +-
flot-parent/pom.xml | 2 +-
gae-initializer-parent/gae-initializer-example/pom.xml | 2 +-
gae-initializer-parent/gae-initializer/pom.xml | 2 +-
gae-initializer-parent/pom.xml | 2 +-
gmap3-parent/gmap3-examples/pom.xml | 2 +-
gmap3-parent/gmap3/pom.xml | 2 +-
gmap3-parent/pom.xml | 2 +-
googlecharts-parent/googlecharts-examples/pom.xml | 2 +-
googlecharts-parent/googlecharts/pom.xml | 2 +-
googlecharts-parent/pom.xml | 2 +-
htmlcompressor-parent/htmlcompressor-examples/pom.xml | 2 +-
htmlcompressor-parent/htmlcompressor/pom.xml | 2 +-
htmlcompressor-parent/pom.xml | 2 +-
inmethod-grid-parent/inmethod-grid-examples/pom.xml | 2 +-
inmethod-grid-parent/inmethod-grid/pom.xml | 2 +-
inmethod-grid-parent/pom.xml | 2 +-
input-events-parent/input-events-examples/pom.xml | 2 +-
input-events-parent/input-events/pom.xml | 2 +-
input-events-parent/pom.xml | 2 +-
jamon-parent/jamon-examples/pom.xml | 2 +-
jamon-parent/jamon/pom.xml | 2 +-
jamon-parent/pom.xml | 2 +-
jasperreports-parent/jasperreports-examples/pom.xml | 2 +-
jasperreports-parent/jasperreports/pom.xml | 2 +-
jasperreports-parent/pom.xml | 2 +-
.../javaee-inject-examples/javaee-inject-example-ear/pom.xml | 2 +-
.../javaee-inject-examples/javaee-inject-example-ejb/pom.xml | 2 +-
.../javaee-inject-examples/javaee-inject-example-war/pom.xml | 2 +-
javaee-inject-parent/javaee-inject-examples/pom.xml | 2 +-
javaee-inject-parent/javaee-inject/pom.xml | 2 +-
javaee-inject-parent/pom.xml | 2 +-
jee-web-parent/jee-web-examples/pom.xml | 2 +-
jee-web-parent/jee-web/pom.xml | 2 +-
jee-web-parent/pom.xml | 2 +-
jqplot-parent/jqplot-examples/pom.xml | 2 +-
jqplot-parent/jqplot/pom.xml | 2 +-
jqplot-parent/pom.xml | 2 +-
jquery-parent/jquery-examples/pom.xml | 2 +-
jquery-parent/jquery/pom.xml | 2 +-
jquery-parent/pom.xml | 2 +-
jwicket-parent/dropdown-menu/pom.xml | 2 +-
jwicket-parent/jwicket-core/pom.xml | 2 +-
jwicket-parent/jwicket-examples/pom.xml | 2 +-
.../jwicket-tooltip/jwicket-tooltip-beautytips/pom.xml | 2 +-
.../jwicket-tooltip/jwicket-tooltip-walterzorn/pom.xml | 2 +-
.../jwicket-tooltip/jwicket-tooltip-wtooltips/pom.xml | 2 +-
jwicket-parent/jwicket-tooltip/pom.xml | 2 +-
jwicket-parent/jwicket-ui/jwicket-ui-accordion/pom.xml | 2 +-
jwicket-parent/jwicket-ui/jwicket-ui-datepicker/pom.xml | 2 +-
jwicket-parent/jwicket-ui/jwicket-ui-dragdrop/pom.xml | 2 +-
jwicket-parent/jwicket-ui/jwicket-ui-effects/pom.xml | 2 +-
jwicket-parent/jwicket-ui/jwicket-ui-resize/pom.xml | 2 +-
jwicket-parent/jwicket-ui/jwicket-ui-sort/pom.xml | 2 +-
jwicket-parent/jwicket-ui/jwicket-ui-tooltip/pom.xml | 2 +-
jwicket-parent/jwicket-ui/pom.xml | 2 +-
jwicket-parent/pom.xml | 2 +-
lambda-parent/lambda-examples/pom.xml | 2 +-
lambda-parent/lambda/pom.xml | 2 +-
lambda-parent/pom.xml | 2 +-
lightbox2-parent/lightbox2-examples/pom.xml | 2 +-
lightbox2-parent/lightbox2/pom.xml | 2 +-
lightbox2-parent/pom.xml | 2 +-
mbeanview-parent/mbeanview-examples/pom.xml | 2 +-
mbeanview-parent/mbeanview/pom.xml | 2 +-
mbeanview-parent/pom.xml | 2 +-
minis-parent/minis-examples/pom.xml | 2 +-
minis-parent/minis/pom.xml | 2 +-
minis-parent/pom.xml | 2 +-
modalx-parent/modalx-examples/pom.xml | 2 +-
modalx-parent/modalx/pom.xml | 2 +-
modalx-parent/pom.xml | 2 +-
nashorn-parent/nashorn-examples/pom.xml | 2 +-
nashorn-parent/nashorn/pom.xml | 2 +-
nashorn-parent/pom.xml | 2 +-
objectautocomplete-parent/objectautocomplete-examples/pom.xml | 2 +-
objectautocomplete-parent/objectautocomplete/pom.xml | 2 +-
objectautocomplete-parent/pom.xml | 2 +-
offline-mode-parent/offline-mode-examples/pom.xml | 2 +-
offline-mode-parent/offline-mode/pom.xml | 2 +-
offline-mode-parent/pom.xml | 2 +-
openlayers-parent/openlayers-examples/pom.xml | 2 +-
openlayers-parent/openlayers-proxy/pom.xml | 2 +-
openlayers-parent/openlayers/pom.xml | 2 +-
openlayers-parent/pom.xml | 2 +-
openlayers3-parent/openlayers3-bootstrap/pom.xml | 2 +-
openlayers3-parent/openlayers3-examples/pom.xml | 2 +-
openlayers3-parent/openlayers3/pom.xml | 2 +-
openlayers3-parent/pom.xml | 2 +-
phonebook/pom.xml | 2 +-
plugin/pom.xml | 2 +-
pom.xml | 2 +-
portlet-parent/pom.xml | 2 +-
portlet-parent/wicketstuff-portlet-examples/pom.xml | 2 +-
portlet-parent/wicketstuff-portlet/pom.xml | 2 +-
progressbar-parent/pom.xml | 2 +-
progressbar-parent/progressbar-example/pom.xml | 2 +-
progressbar-parent/progressbar-spring/pom.xml | 2 +-
progressbar-parent/progressbar/pom.xml | 2 +-
push-parent/pom.xml | 2 +-
push-parent/push-cometd/pom.xml | 2 +-
push-parent/push-core/pom.xml | 2 +-
push-parent/push-examples/pom.xml | 2 +-
push-parent/push-timer/pom.xml | 2 +-
scala-extensions-parent/pom.xml | 2 +-
scala-extensions-parent/wicket-scala-archetype/pom.xml | 2 +-
scala-extensions-parent/wicket-scala-sample/pom.xml | 2 +-
scala-extensions-parent/wicket-scala/pom.xml | 2 +-
select2-parent/pom.xml | 2 +-
select2-parent/select2-examples/pom.xml | 2 +-
select2-parent/select2/pom.xml | 2 +-
serializer-common/pom.xml | 2 +-
serializer-fast/pom.xml | 2 +-
serializer-fast2/pom.xml | 2 +-
serializer-kryo/pom.xml | 2 +-
serializer-kryo2/pom.xml | 2 +-
serializer-ui/pom.xml | 2 +-
shiro-security/pom.xml | 2 +-
shiro-security/wicket-shiro-examples/pom.xml | 2 +-
shiro-security/wicket-shiro-examples/shiro-example-base/pom.xml | 2 +-
.../wicket-shiro-examples/shiro-example-realm/pom.xml | 2 +-
.../shiro-example-spring-hibernate-native/pom.xml | 2 +-
.../shiro-example-spring-hibernate/pom.xml | 2 +-
.../wicket-shiro-examples/shiro-example-spring-jdbc/pom.xml | 2 +-
shiro-security/wicket-shiro/pom.xml | 2 +-
simile-timeline-parent/pom.xml | 2 +-
simile-timeline-parent/simile-timeline/pom.xml | 2 +-
sitemap-xml-parent/pom.xml | 2 +-
sitemap-xml-parent/sitemap-xml-examples/pom.xml | 2 +-
sitemap-xml-parent/sitemap-xml/pom.xml | 2 +-
stateless-parent/pom.xml | 2 +-
stateless-parent/stateless-examples/pom.xml | 2 +-
stateless-parent/stateless/pom.xml | 2 +-
tinymce3-parent/pom.xml | 2 +-
tinymce3-parent/tinymce3-examples/pom.xml | 2 +-
tinymce3-parent/tinymce3/pom.xml | 2 +-
tinymce4-parent/pom.xml | 2 +-
tinymce4-parent/tinymce4-examples/pom.xml | 2 +-
tinymce4-parent/tinymce4/pom.xml | 2 +-
twitter-parent/pom.xml | 2 +-
twitter-parent/twitter-examples/pom.xml | 2 +-
twitter-parent/twitter/pom.xml | 2 +-
urlfragment-parent/pom.xml | 2 +-
urlfragment-parent/urlfragment-example/pom.xml | 2 +-
urlfragment-parent/urlfragment/pom.xml | 2 +-
whiteboard-parent/pom.xml | 2 +-
whiteboard-parent/whiteboard-examples/pom.xml | 2 +-
whiteboard-parent/whiteboard/pom.xml | 2 +-
wicket-bundle-parent/pom.xml | 2 +-
wicket-bundle-parent/wicket-bundle/pom.xml | 2 +-
wicket-bundle-parent/wicket-ioc-bundle/pom.xml | 2 +-
wicket-facebook-parent/pom.xml | 2 +-
wicket-facebook-parent/wicket-facebook-examples/pom.xml | 2 +-
wicket-facebook-parent/wicket-facebook/pom.xml | 2 +-
wicket-foundation/pom.xml | 2 +-
wicket-foundation/wicket-foundation-core/pom.xml | 2 +-
wicket-foundation/wicket-foundation-samples/pom.xml | 2 +-
wicket-html5-parent/pom.xml | 2 +-
wicket-html5-parent/wicket-html5-examples/pom.xml | 2 +-
wicket-html5-parent/wicket-html5/pom.xml | 2 +-
wicket-mount-parent/pom.xml | 2 +-
wicket-mount-parent/wicket-mount-core/pom.xml | 2 +-
wicket-mount-parent/wicket-mount-example/pom.xml | 2 +-
wicket-mount-parent/wicket-mount/pom.xml | 2 +-
wicket-osgi-parent/pom.xml | 2 +-
wicket-osgi-parent/wicket-osgi-test-service/pom.xml | 2 +-
wicket-osgi-parent/wicket-osgi-test-web/pom.xml | 2 +-
wicket-osgi-parent/wicket-osgi/pom.xml | 2 +-
wicket-poi-parent/pom.xml | 2 +-
wicket-poi-parent/wicket-poi-examples/pom.xml | 2 +-
wicket-poi-parent/wicket-poi/pom.xml | 2 +-
wicket-security-parent/pom.xml | 2 +-
wicket-security-parent/swarm-parent/hive/pom.xml | 2 +-
wicket-security-parent/swarm-parent/pom.xml | 2 +-
wicket-security-parent/swarm-parent/swarm/pom.xml | 2 +-
wicket-security-parent/wasp-parent/pom.xml | 2 +-
wicket-security-parent/wasp-parent/wasp/pom.xml | 2 +-
wicket-security-parent/wasp-parent/wicomsec/pom.xml | 2 +-
wicket-servlet3-parent/pom.xml | 2 +-
wicket-servlet3-parent/wicket-servlet3-auth/pom.xml | 2 +-
wicket-servlet3-parent/wicket-servlet3-examples/pom.xml | 2 +-
wicketstuff-glassfish4-integration/pom.xml | 2 +-
wicketstuff-lazymodel/pom.xml | 2 +-
wicketstuff-logback-parent/pom.xml | 2 +-
wicketstuff-logback-parent/wicketstuff-logback-examples/pom.xml | 2 +-
wicketstuff-logback-parent/wicketstuff-logback/pom.xml | 2 +-
wicketstuff-restannotations-parent/pom.xml | 2 +-
.../restannotations-examples/pom.xml | 2 +-
wicketstuff-restannotations-parent/restannotations-json/pom.xml | 2 +-
wicketstuff-restannotations-parent/restannotations/pom.xml | 2 +-
wicketstuff-selectize-parent/pom.xml | 2 +-
.../wicketstuff-selectize-examples/pom.xml | 2 +-
wicketstuff-selectize-parent/wicketstuff-selectize/pom.xml | 2 +-
wicketstuff-springreference-parent/pom.xml | 2 +-
.../wicketstuff-springreference-examples/pom.xml | 2 +-
.../wicketstuff-springreference/pom.xml | 2 +-
yui-parent/pom.xml | 2 +-
yui-parent/yui-calendar/pom.xml | 2 +-
yui-parent/yui-common/pom.xml | 2 +-
235 files changed, 235 insertions(+), 235 deletions(-)
diff --git a/annotation/pom.xml b/annotation/pom.xml
index 10a59bf4c7..54a3eed99f 100644
--- a/annotation/pom.xml
+++ b/annotation/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-annotation
diff --git a/annotationeventdispatcher-parent/annotationeventdispatcher/pom.xml b/annotationeventdispatcher-parent/annotationeventdispatcher/pom.xml
index ed425acba1..2677b68e70 100644
--- a/annotationeventdispatcher-parent/annotationeventdispatcher/pom.xml
+++ b/annotationeventdispatcher-parent/annotationeventdispatcher/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffwicketstuff-annotationeventdispatcher-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-annotationeventdispatcher
diff --git a/annotationeventdispatcher-parent/pom.xml b/annotationeventdispatcher-parent/pom.xml
index 2afabfcd98..c67fa20fcd 100644
--- a/annotationeventdispatcher-parent/pom.xml
+++ b/annotationeventdispatcher-parent/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-annotationeventdispatcher-parentAnnotation Event Dispatcher - Parent
diff --git a/async-tasks-parent/async-tasks-demo/pom.xml b/async-tasks-parent/async-tasks-demo/pom.xml
index 210d7222ac..2d8c6a85dd 100644
--- a/async-tasks-parent/async-tasks-demo/pom.xml
+++ b/async-tasks-parent/async-tasks-demo/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffasync-tasks-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTasync-task-demo
diff --git a/async-tasks-parent/async-tasks-impl/pom.xml b/async-tasks-parent/async-tasks-impl/pom.xml
index 0a0645df32..5aa0ceb6eb 100644
--- a/async-tasks-parent/async-tasks-impl/pom.xml
+++ b/async-tasks-parent/async-tasks-impl/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffasync-tasks-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTasync-task-impl
diff --git a/async-tasks-parent/pom.xml b/async-tasks-parent/pom.xml
index a66353ae8d..c7880c5f96 100644
--- a/async-tasks-parent/pom.xml
+++ b/async-tasks-parent/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTasync-tasks-parent
diff --git a/autocomplete-tagit-parent/autocomplete-tagit-examples/pom.xml b/autocomplete-tagit-parent/autocomplete-tagit-examples/pom.xml
index 063e3641d6..ec97e62af5 100644
--- a/autocomplete-tagit-parent/autocomplete-tagit-examples/pom.xml
+++ b/autocomplete-tagit-parent/autocomplete-tagit-examples/pom.xml
@@ -3,7 +3,7 @@
org.wicketstuffwicketstuff-autocomplete-tagit-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-autocomplete-tagit-examples
diff --git a/autocomplete-tagit-parent/autocomplete-tagit/pom.xml b/autocomplete-tagit-parent/autocomplete-tagit/pom.xml
index 0108a4dd6b..b31fafd4a1 100644
--- a/autocomplete-tagit-parent/autocomplete-tagit/pom.xml
+++ b/autocomplete-tagit-parent/autocomplete-tagit/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffwicketstuff-autocomplete-tagit-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-autocomplete-tagit
diff --git a/autocomplete-tagit-parent/pom.xml b/autocomplete-tagit-parent/pom.xml
index 4d19af8759..7cfe3d84e3 100644
--- a/autocomplete-tagit-parent/pom.xml
+++ b/autocomplete-tagit-parent/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-autocomplete-tagit-parentAutocomplete Tag It Parent
diff --git a/browserid-parent/browserid-examples/pom.xml b/browserid-parent/browserid-examples/pom.xml
index 930e1fcfd1..03826b13e1 100644
--- a/browserid-parent/browserid-examples/pom.xml
+++ b/browserid-parent/browserid-examples/pom.xml
@@ -3,7 +3,7 @@
org.wicketstuffwicketstuff-browserid-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-browserid-examples
diff --git a/browserid-parent/browserid/pom.xml b/browserid-parent/browserid/pom.xml
index c8fcbfacb6..1be6d3e99b 100644
--- a/browserid-parent/browserid/pom.xml
+++ b/browserid-parent/browserid/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffwicketstuff-browserid-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-browserid
diff --git a/browserid-parent/pom.xml b/browserid-parent/pom.xml
index d704051d4b..241637afba 100644
--- a/browserid-parent/pom.xml
+++ b/browserid-parent/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-browserid-parentBrowserId Parent
diff --git a/closure-compiler/pom.xml b/closure-compiler/pom.xml
index b535d4f449..4861e8c2e1 100644
--- a/closure-compiler/pom.xml
+++ b/closure-compiler/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-closure-compiler
diff --git a/dashboard-parent/dashboard-core/pom.xml b/dashboard-parent/dashboard-core/pom.xml
index 4a23688874..63e14c81cd 100644
--- a/dashboard-parent/dashboard-core/pom.xml
+++ b/dashboard-parent/dashboard-core/pom.xml
@@ -7,7 +7,7 @@
org.wicketstuffwicketstuff-dashboard-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-dashboard-core
diff --git a/dashboard-parent/dashboard-examples/pom.xml b/dashboard-parent/dashboard-examples/pom.xml
index aed76c6803..19f1225f30 100644
--- a/dashboard-parent/dashboard-examples/pom.xml
+++ b/dashboard-parent/dashboard-examples/pom.xml
@@ -7,7 +7,7 @@
org.wicketstuffwicketstuff-dashboard-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-dashboard-examples
diff --git a/dashboard-parent/dashboard-widgets/dashboard-widgets-charts/pom.xml b/dashboard-parent/dashboard-widgets/dashboard-widgets-charts/pom.xml
index 7aed3a0162..88858a4917 100644
--- a/dashboard-parent/dashboard-widgets/dashboard-widgets-charts/pom.xml
+++ b/dashboard-parent/dashboard-widgets/dashboard-widgets-charts/pom.xml
@@ -7,7 +7,7 @@
org.wicketstuffwicketstuff-dashboard-widgets
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-dashboard-widgets-charts
diff --git a/dashboard-parent/dashboard-widgets/dashboard-widgets-jqplot/pom.xml b/dashboard-parent/dashboard-widgets/dashboard-widgets-jqplot/pom.xml
index 16974c6ddf..8f40cc48cd 100644
--- a/dashboard-parent/dashboard-widgets/dashboard-widgets-jqplot/pom.xml
+++ b/dashboard-parent/dashboard-widgets/dashboard-widgets-jqplot/pom.xml
@@ -7,7 +7,7 @@
org.wicketstuffwicketstuff-dashboard-widgets
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-dashboard-widgets-jqplot
diff --git a/dashboard-parent/dashboard-widgets/dashboard-widgets-justgage/pom.xml b/dashboard-parent/dashboard-widgets/dashboard-widgets-justgage/pom.xml
index 748098f7a8..b6e8235e2e 100644
--- a/dashboard-parent/dashboard-widgets/dashboard-widgets-justgage/pom.xml
+++ b/dashboard-parent/dashboard-widgets/dashboard-widgets-justgage/pom.xml
@@ -7,7 +7,7 @@
org.wicketstuffwicketstuff-dashboard-widgets
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-dashboard-widgets-justgage
diff --git a/dashboard-parent/dashboard-widgets/dashboard-widgets-loremipsum/pom.xml b/dashboard-parent/dashboard-widgets/dashboard-widgets-loremipsum/pom.xml
index 579b4d38ef..1f5eef2087 100644
--- a/dashboard-parent/dashboard-widgets/dashboard-widgets-loremipsum/pom.xml
+++ b/dashboard-parent/dashboard-widgets/dashboard-widgets-loremipsum/pom.xml
@@ -7,7 +7,7 @@
org.wicketstuffwicketstuff-dashboard-widgets
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-dashboard-widgets-loremipsum
diff --git a/dashboard-parent/dashboard-widgets/dashboard-widgets-ofchart/pom.xml b/dashboard-parent/dashboard-widgets/dashboard-widgets-ofchart/pom.xml
index 835525a814..96cd4d2874 100644
--- a/dashboard-parent/dashboard-widgets/dashboard-widgets-ofchart/pom.xml
+++ b/dashboard-parent/dashboard-widgets/dashboard-widgets-ofchart/pom.xml
@@ -7,7 +7,7 @@
org.wicketstuffwicketstuff-dashboard-widgets
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-dashboard-widgets-ofchart
diff --git a/dashboard-parent/dashboard-widgets/pom.xml b/dashboard-parent/dashboard-widgets/pom.xml
index bc4a327bf7..a86fa75f1c 100644
--- a/dashboard-parent/dashboard-widgets/pom.xml
+++ b/dashboard-parent/dashboard-widgets/pom.xml
@@ -7,7 +7,7 @@
org.wicketstuffwicketstuff-dashboard-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-dashboard-widgets
diff --git a/dashboard-parent/pom.xml b/dashboard-parent/pom.xml
index 2e431da4fa..deadb1980e 100644
--- a/dashboard-parent/pom.xml
+++ b/dashboard-parent/pom.xml
@@ -7,7 +7,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-dashboard-parent
diff --git a/datastores-parent/datastore-cassandra/pom.xml b/datastores-parent/datastore-cassandra/pom.xml
index 35a4c49d64..f64f1dc3f2 100644
--- a/datastores-parent/datastore-cassandra/pom.xml
+++ b/datastores-parent/datastore-cassandra/pom.xml
@@ -3,7 +3,7 @@
org.wicketstuffdatastores-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOT4.0.0
diff --git a/datastores-parent/datastore-common/pom.xml b/datastores-parent/datastore-common/pom.xml
index 6e4a470955..a0f5d2b357 100644
--- a/datastores-parent/datastore-common/pom.xml
+++ b/datastores-parent/datastore-common/pom.xml
@@ -20,7 +20,7 @@
org.wicketstuffdatastores-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOT4.0.0
diff --git a/datastores-parent/datastore-hazelcast/pom.xml b/datastores-parent/datastore-hazelcast/pom.xml
index b27ad094e1..1b72599e2c 100644
--- a/datastores-parent/datastore-hazelcast/pom.xml
+++ b/datastores-parent/datastore-hazelcast/pom.xml
@@ -3,7 +3,7 @@
org.wicketstuffdatastores-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOT4.0.0
diff --git a/datastores-parent/datastore-ignite/pom.xml b/datastores-parent/datastore-ignite/pom.xml
index 767782659e..e5066cb6af 100644
--- a/datastores-parent/datastore-ignite/pom.xml
+++ b/datastores-parent/datastore-ignite/pom.xml
@@ -3,7 +3,7 @@
org.wicketstuffdatastores-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOT4.0.0
diff --git a/datastores-parent/datastore-memcached/pom.xml b/datastores-parent/datastore-memcached/pom.xml
index a71c8ae52c..4ba40354bb 100644
--- a/datastores-parent/datastore-memcached/pom.xml
+++ b/datastores-parent/datastore-memcached/pom.xml
@@ -20,7 +20,7 @@
org.wicketstuffdatastores-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOT4.0.0
diff --git a/datastores-parent/datastore-redis/pom.xml b/datastores-parent/datastore-redis/pom.xml
index 2eaf7976f3..3dd6fe3186 100644
--- a/datastores-parent/datastore-redis/pom.xml
+++ b/datastores-parent/datastore-redis/pom.xml
@@ -3,7 +3,7 @@
org.wicketstuffdatastores-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOT4.0.0
diff --git a/datastores-parent/pom.xml b/datastores-parent/pom.xml
index 9ae1634f85..66a2f9f1f8 100644
--- a/datastores-parent/pom.xml
+++ b/datastores-parent/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTdatastores-parent
diff --git a/datatables-parent/datatables-examples/pom.xml b/datatables-parent/datatables-examples/pom.xml
index ad3c01a1a8..5c4c5795da 100644
--- a/datatables-parent/datatables-examples/pom.xml
+++ b/datatables-parent/datatables-examples/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffdatatables-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTdatatables-examples
diff --git a/datatables-parent/datatables/pom.xml b/datatables-parent/datatables/pom.xml
index 70afab0d98..4fd5d9b8d2 100755
--- a/datatables-parent/datatables/pom.xml
+++ b/datatables-parent/datatables/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffdatatables-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-datatables
diff --git a/datatables-parent/pom.xml b/datatables-parent/pom.xml
index 89de79d499..980de2f79e 100644
--- a/datatables-parent/pom.xml
+++ b/datatables-parent/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTdatatables-parent
diff --git a/editable-grid-parent/editable-grid-examples/pom.xml b/editable-grid-parent/editable-grid-examples/pom.xml
index a5f5aa0b39..82ec8510a2 100644
--- a/editable-grid-parent/editable-grid-examples/pom.xml
+++ b/editable-grid-parent/editable-grid-examples/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffeditable-grid-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTeditable-grid-exampleswar
diff --git a/editable-grid-parent/editable-grid/pom.xml b/editable-grid-parent/editable-grid/pom.xml
index c8e65a0c0c..9d1e8d6dad 100644
--- a/editable-grid-parent/editable-grid/pom.xml
+++ b/editable-grid-parent/editable-grid/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffeditable-grid-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-editable-gridEditable Grid component for Apache Wicket
diff --git a/editable-grid-parent/pom.xml b/editable-grid-parent/pom.xml
index 34a0f41088..90a53be9c3 100644
--- a/editable-grid-parent/pom.xml
+++ b/editable-grid-parent/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTeditable-grid-parent
diff --git a/flot-parent/flot-examples/pom.xml b/flot-parent/flot-examples/pom.xml
index bea7eda941..a1242323a1 100644
--- a/flot-parent/flot-examples/pom.xml
+++ b/flot-parent/flot-examples/pom.xml
@@ -6,7 +6,7 @@
flot-parentorg.wicketstuff
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTflot-examples
diff --git a/flot-parent/flot/pom.xml b/flot-parent/flot/pom.xml
index 852279809c..077716efde 100644
--- a/flot-parent/flot/pom.xml
+++ b/flot-parent/flot/pom.xml
@@ -6,7 +6,7 @@
flot-parentorg.wicketstuff
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-flot
diff --git a/flot-parent/pom.xml b/flot-parent/pom.xml
index 42d1673c1c..f9919b0490 100644
--- a/flot-parent/pom.xml
+++ b/flot-parent/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTflot-parent
diff --git a/gae-initializer-parent/gae-initializer-example/pom.xml b/gae-initializer-parent/gae-initializer-example/pom.xml
index 1ee5857826..a617e498c7 100644
--- a/gae-initializer-parent/gae-initializer-example/pom.xml
+++ b/gae-initializer-parent/gae-initializer-example/pom.xml
@@ -6,7 +6,7 @@
gae-initializer-parentorg.wicketstuff
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTgae-initializer-example
diff --git a/gae-initializer-parent/gae-initializer/pom.xml b/gae-initializer-parent/gae-initializer/pom.xml
index d615e55dcf..842ac80785 100644
--- a/gae-initializer-parent/gae-initializer/pom.xml
+++ b/gae-initializer-parent/gae-initializer/pom.xml
@@ -6,7 +6,7 @@
gae-initializer-parentorg.wicketstuff
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-gae-initializer
diff --git a/gae-initializer-parent/pom.xml b/gae-initializer-parent/pom.xml
index 3790f207f0..874f857154 100644
--- a/gae-initializer-parent/pom.xml
+++ b/gae-initializer-parent/pom.xml
@@ -21,7 +21,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTgae-initializer-parent
diff --git a/gmap3-parent/gmap3-examples/pom.xml b/gmap3-parent/gmap3-examples/pom.xml
index de03571c75..da66be8cd3 100644
--- a/gmap3-parent/gmap3-examples/pom.xml
+++ b/gmap3-parent/gmap3-examples/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffgmap3-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-gmap3-examples
diff --git a/gmap3-parent/gmap3/pom.xml b/gmap3-parent/gmap3/pom.xml
index 591845d252..6fce265990 100644
--- a/gmap3-parent/gmap3/pom.xml
+++ b/gmap3-parent/gmap3/pom.xml
@@ -21,7 +21,7 @@ limitations under the License.
org.wicketstuffgmap3-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-gmap3
diff --git a/gmap3-parent/pom.xml b/gmap3-parent/pom.xml
index e3df6c0c1c..a77df5199f 100644
--- a/gmap3-parent/pom.xml
+++ b/gmap3-parent/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTgmap3-parent
diff --git a/googlecharts-parent/googlecharts-examples/pom.xml b/googlecharts-parent/googlecharts-examples/pom.xml
index 296a079da7..3a0a227562 100644
--- a/googlecharts-parent/googlecharts-examples/pom.xml
+++ b/googlecharts-parent/googlecharts-examples/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffgooglecharts-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTgooglecharts-examples
diff --git a/googlecharts-parent/googlecharts/pom.xml b/googlecharts-parent/googlecharts/pom.xml
index bf6f6734df..c875fe37e9 100644
--- a/googlecharts-parent/googlecharts/pom.xml
+++ b/googlecharts-parent/googlecharts/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffgooglecharts-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-googlechartsjar
diff --git a/googlecharts-parent/pom.xml b/googlecharts-parent/pom.xml
index 9420e5a4e8..7eb6bbe025 100644
--- a/googlecharts-parent/pom.xml
+++ b/googlecharts-parent/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTgooglecharts-parent
diff --git a/htmlcompressor-parent/htmlcompressor-examples/pom.xml b/htmlcompressor-parent/htmlcompressor-examples/pom.xml
index 3dc5325fbc..1287e1cdaf 100644
--- a/htmlcompressor-parent/htmlcompressor-examples/pom.xml
+++ b/htmlcompressor-parent/htmlcompressor-examples/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-htmlcompressor-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-htmlcompressor-examples
diff --git a/htmlcompressor-parent/htmlcompressor/pom.xml b/htmlcompressor-parent/htmlcompressor/pom.xml
index 5f185e9a29..456357dd1a 100644
--- a/htmlcompressor-parent/htmlcompressor/pom.xml
+++ b/htmlcompressor-parent/htmlcompressor/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-htmlcompressor-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-htmlcompressor
diff --git a/htmlcompressor-parent/pom.xml b/htmlcompressor-parent/pom.xml
index e5569ca0bd..e179032454 100644
--- a/htmlcompressor-parent/pom.xml
+++ b/htmlcompressor-parent/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-htmlcompressor-parent
diff --git a/inmethod-grid-parent/inmethod-grid-examples/pom.xml b/inmethod-grid-parent/inmethod-grid-examples/pom.xml
index 0cf2516ca6..2a84b9323f 100644
--- a/inmethod-grid-parent/inmethod-grid-examples/pom.xml
+++ b/inmethod-grid-parent/inmethod-grid-examples/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffinmethod-grid-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-inmethod-grid-examples
diff --git a/inmethod-grid-parent/inmethod-grid/pom.xml b/inmethod-grid-parent/inmethod-grid/pom.xml
index 3415bdddaa..981461ae13 100644
--- a/inmethod-grid-parent/inmethod-grid/pom.xml
+++ b/inmethod-grid-parent/inmethod-grid/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffinmethod-grid-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-inmethod-grid
diff --git a/inmethod-grid-parent/pom.xml b/inmethod-grid-parent/pom.xml
index 46844b0adc..b628021e1e 100644
--- a/inmethod-grid-parent/pom.xml
+++ b/inmethod-grid-parent/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTinmethod-grid-parent
diff --git a/input-events-parent/input-events-examples/pom.xml b/input-events-parent/input-events-examples/pom.xml
index 3480b243dd..0d4266f782 100644
--- a/input-events-parent/input-events-examples/pom.xml
+++ b/input-events-parent/input-events-examples/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffinput-events-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTinput-events-examples
diff --git a/input-events-parent/input-events/pom.xml b/input-events-parent/input-events/pom.xml
index 2d968c8c2c..eee291a1f2 100644
--- a/input-events-parent/input-events/pom.xml
+++ b/input-events-parent/input-events/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffinput-events-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-input-events
diff --git a/input-events-parent/pom.xml b/input-events-parent/pom.xml
index f7df1393b1..7f59487d3e 100644
--- a/input-events-parent/pom.xml
+++ b/input-events-parent/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTinput-events-parent
diff --git a/jamon-parent/jamon-examples/pom.xml b/jamon-parent/jamon-examples/pom.xml
index 4046df193d..149edd331f 100644
--- a/jamon-parent/jamon-examples/pom.xml
+++ b/jamon-parent/jamon-examples/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffwicketstuff-jamon-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTjamon-examplesJamon examples
diff --git a/jamon-parent/jamon/pom.xml b/jamon-parent/jamon/pom.xml
index 8d15f13d2c..3957396224 100644
--- a/jamon-parent/jamon/pom.xml
+++ b/jamon-parent/jamon/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffwicketstuff-jamon-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-jamonJamon
diff --git a/jamon-parent/pom.xml b/jamon-parent/pom.xml
index 9dec0f84e0..528336857b 100644
--- a/jamon-parent/pom.xml
+++ b/jamon-parent/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-jamon-parentpom
diff --git a/jasperreports-parent/jasperreports-examples/pom.xml b/jasperreports-parent/jasperreports-examples/pom.xml
index 26a35b2b43..cb6b9bc70e 100644
--- a/jasperreports-parent/jasperreports-examples/pom.xml
+++ b/jasperreports-parent/jasperreports-examples/pom.xml
@@ -7,7 +7,7 @@
org.wicketstuffjasperreports-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTjasperreports-examples
diff --git a/jasperreports-parent/jasperreports/pom.xml b/jasperreports-parent/jasperreports/pom.xml
index 5a7f851a2d..a7f35208a5 100644
--- a/jasperreports-parent/jasperreports/pom.xml
+++ b/jasperreports-parent/jasperreports/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffjasperreports-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-jasperreports
diff --git a/jasperreports-parent/pom.xml b/jasperreports-parent/pom.xml
index 4316c5db03..69e6d7ed14 100644
--- a/jasperreports-parent/pom.xml
+++ b/jasperreports-parent/pom.xml
@@ -7,7 +7,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTjasperreports-parent
diff --git a/javaee-inject-parent/javaee-inject-examples/javaee-inject-example-ear/pom.xml b/javaee-inject-parent/javaee-inject-examples/javaee-inject-example-ear/pom.xml
index 6059ff9eab..e43bfb5083 100644
--- a/javaee-inject-parent/javaee-inject-examples/javaee-inject-example-ear/pom.xml
+++ b/javaee-inject-parent/javaee-inject-examples/javaee-inject-example-ear/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffjavaee-inject-examples
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTjavaee-inject-example-earear
diff --git a/javaee-inject-parent/javaee-inject-examples/javaee-inject-example-ejb/pom.xml b/javaee-inject-parent/javaee-inject-examples/javaee-inject-example-ejb/pom.xml
index e6ae9ad226..f8f406730a 100644
--- a/javaee-inject-parent/javaee-inject-examples/javaee-inject-example-ejb/pom.xml
+++ b/javaee-inject-parent/javaee-inject-examples/javaee-inject-example-ejb/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffjavaee-inject-examples
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTjavaee-inject-example-ejbejb
diff --git a/javaee-inject-parent/javaee-inject-examples/javaee-inject-example-war/pom.xml b/javaee-inject-parent/javaee-inject-examples/javaee-inject-example-war/pom.xml
index 8ec3369754..740c304ace 100644
--- a/javaee-inject-parent/javaee-inject-examples/javaee-inject-example-war/pom.xml
+++ b/javaee-inject-parent/javaee-inject-examples/javaee-inject-example-war/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffjavaee-inject-examples
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTjavaee-inject-example-warwar
diff --git a/javaee-inject-parent/javaee-inject-examples/pom.xml b/javaee-inject-parent/javaee-inject-examples/pom.xml
index 8662078870..f5673a0e53 100644
--- a/javaee-inject-parent/javaee-inject-examples/pom.xml
+++ b/javaee-inject-parent/javaee-inject-examples/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffjavaee-inject-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTjavaee-inject-examplespom
diff --git a/javaee-inject-parent/javaee-inject/pom.xml b/javaee-inject-parent/javaee-inject/pom.xml
index aa40f45d10..beed7f61eb 100644
--- a/javaee-inject-parent/javaee-inject/pom.xml
+++ b/javaee-inject-parent/javaee-inject/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffjavaee-inject-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-javaee-injectjar
diff --git a/javaee-inject-parent/pom.xml b/javaee-inject-parent/pom.xml
index c1f5524179..6c1296df50 100644
--- a/javaee-inject-parent/pom.xml
+++ b/javaee-inject-parent/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTjavaee-inject-parentpom
diff --git a/jee-web-parent/jee-web-examples/pom.xml b/jee-web-parent/jee-web-examples/pom.xml
index 0b67def582..231b7cbd89 100644
--- a/jee-web-parent/jee-web-examples/pom.xml
+++ b/jee-web-parent/jee-web-examples/pom.xml
@@ -3,7 +3,7 @@
org.wicketstuffjee-web-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-jee-web-exampleswar
diff --git a/jee-web-parent/jee-web/pom.xml b/jee-web-parent/jee-web/pom.xml
index bfd51b9921..a246e4b365 100644
--- a/jee-web-parent/jee-web/pom.xml
+++ b/jee-web-parent/jee-web/pom.xml
@@ -3,7 +3,7 @@
org.wicketstuffjee-web-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-jee-webjar
diff --git a/jee-web-parent/pom.xml b/jee-web-parent/pom.xml
index 25d9adef3b..9408bbb846 100644
--- a/jee-web-parent/pom.xml
+++ b/jee-web-parent/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTjee-web-parentpom
diff --git a/jqplot-parent/jqplot-examples/pom.xml b/jqplot-parent/jqplot-examples/pom.xml
index e60e5e9b99..b6526f4d96 100644
--- a/jqplot-parent/jqplot-examples/pom.xml
+++ b/jqplot-parent/jqplot-examples/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffjqplot-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTjqplot-examples
diff --git a/jqplot-parent/jqplot/pom.xml b/jqplot-parent/jqplot/pom.xml
index 918263bda4..b321f4881a 100644
--- a/jqplot-parent/jqplot/pom.xml
+++ b/jqplot-parent/jqplot/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffjqplot-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTjqplot
diff --git a/jqplot-parent/pom.xml b/jqplot-parent/pom.xml
index b86a6fa9d9..be46c8e1b9 100644
--- a/jqplot-parent/pom.xml
+++ b/jqplot-parent/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTjqplot-parent
diff --git a/jquery-parent/jquery-examples/pom.xml b/jquery-parent/jquery-examples/pom.xml
index cbbc6adfa2..81c141483e 100644
--- a/jquery-parent/jquery-examples/pom.xml
+++ b/jquery-parent/jquery-examples/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffjquery-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTjquery-examples
diff --git a/jquery-parent/jquery/pom.xml b/jquery-parent/jquery/pom.xml
index e7feb4da36..5a91e7213d 100755
--- a/jquery-parent/jquery/pom.xml
+++ b/jquery-parent/jquery/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffjquery-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-jquery
diff --git a/jquery-parent/pom.xml b/jquery-parent/pom.xml
index 957d2310dd..232a115a3f 100644
--- a/jquery-parent/pom.xml
+++ b/jquery-parent/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTjquery-parent
diff --git a/jwicket-parent/dropdown-menu/pom.xml b/jwicket-parent/dropdown-menu/pom.xml
index 749913c3c0..ea9af80506 100644
--- a/jwicket-parent/dropdown-menu/pom.xml
+++ b/jwicket-parent/dropdown-menu/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffwicketstuff-jwicket-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOT../pom.xml
diff --git a/jwicket-parent/jwicket-core/pom.xml b/jwicket-parent/jwicket-core/pom.xml
index 7158c9fef6..1e92dec9ca 100644
--- a/jwicket-parent/jwicket-core/pom.xml
+++ b/jwicket-parent/jwicket-core/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffwicketstuff-jwicket-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOT../pom.xml
diff --git a/jwicket-parent/jwicket-examples/pom.xml b/jwicket-parent/jwicket-examples/pom.xml
index 36971e75bb..9e76fbddf2 100644
--- a/jwicket-parent/jwicket-examples/pom.xml
+++ b/jwicket-parent/jwicket-examples/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffwicketstuff-jwicket-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-jwicket-examples
diff --git a/jwicket-parent/jwicket-tooltip/jwicket-tooltip-beautytips/pom.xml b/jwicket-parent/jwicket-tooltip/jwicket-tooltip-beautytips/pom.xml
index 558aa551b1..e5d6113a5c 100644
--- a/jwicket-parent/jwicket-tooltip/jwicket-tooltip-beautytips/pom.xml
+++ b/jwicket-parent/jwicket-tooltip/jwicket-tooltip-beautytips/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffwicketstuff-jwicket-tooltip
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOT../pom.xml
diff --git a/jwicket-parent/jwicket-tooltip/jwicket-tooltip-walterzorn/pom.xml b/jwicket-parent/jwicket-tooltip/jwicket-tooltip-walterzorn/pom.xml
index e65c728f51..81ae38060c 100644
--- a/jwicket-parent/jwicket-tooltip/jwicket-tooltip-walterzorn/pom.xml
+++ b/jwicket-parent/jwicket-tooltip/jwicket-tooltip-walterzorn/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffwicketstuff-jwicket-tooltip
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOT../pom.xml
diff --git a/jwicket-parent/jwicket-tooltip/jwicket-tooltip-wtooltips/pom.xml b/jwicket-parent/jwicket-tooltip/jwicket-tooltip-wtooltips/pom.xml
index e8392fe138..9bc617cdac 100644
--- a/jwicket-parent/jwicket-tooltip/jwicket-tooltip-wtooltips/pom.xml
+++ b/jwicket-parent/jwicket-tooltip/jwicket-tooltip-wtooltips/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffwicketstuff-jwicket-tooltip
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOT../pom.xml
diff --git a/jwicket-parent/jwicket-tooltip/pom.xml b/jwicket-parent/jwicket-tooltip/pom.xml
index 89b76cff1f..b93c79133c 100644
--- a/jwicket-parent/jwicket-tooltip/pom.xml
+++ b/jwicket-parent/jwicket-tooltip/pom.xml
@@ -22,7 +22,7 @@
org.wicketstuffwicketstuff-jwicket-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOT../pom.xml
diff --git a/jwicket-parent/jwicket-ui/jwicket-ui-accordion/pom.xml b/jwicket-parent/jwicket-ui/jwicket-ui-accordion/pom.xml
index a2047e24c6..b810044b1b 100644
--- a/jwicket-parent/jwicket-ui/jwicket-ui-accordion/pom.xml
+++ b/jwicket-parent/jwicket-ui/jwicket-ui-accordion/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffwicketstuff-jwicket-ui
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOT../pom.xml
diff --git a/jwicket-parent/jwicket-ui/jwicket-ui-datepicker/pom.xml b/jwicket-parent/jwicket-ui/jwicket-ui-datepicker/pom.xml
index c01dad6994..014a856244 100644
--- a/jwicket-parent/jwicket-ui/jwicket-ui-datepicker/pom.xml
+++ b/jwicket-parent/jwicket-ui/jwicket-ui-datepicker/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffwicketstuff-jwicket-ui
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOT../pom.xml
diff --git a/jwicket-parent/jwicket-ui/jwicket-ui-dragdrop/pom.xml b/jwicket-parent/jwicket-ui/jwicket-ui-dragdrop/pom.xml
index f8c23bda03..35581c6221 100644
--- a/jwicket-parent/jwicket-ui/jwicket-ui-dragdrop/pom.xml
+++ b/jwicket-parent/jwicket-ui/jwicket-ui-dragdrop/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffwicketstuff-jwicket-ui
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOT../pom.xml
diff --git a/jwicket-parent/jwicket-ui/jwicket-ui-effects/pom.xml b/jwicket-parent/jwicket-ui/jwicket-ui-effects/pom.xml
index 3ef727ff5a..d2c491bf79 100644
--- a/jwicket-parent/jwicket-ui/jwicket-ui-effects/pom.xml
+++ b/jwicket-parent/jwicket-ui/jwicket-ui-effects/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffwicketstuff-jwicket-ui
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOT../pom.xml
diff --git a/jwicket-parent/jwicket-ui/jwicket-ui-resize/pom.xml b/jwicket-parent/jwicket-ui/jwicket-ui-resize/pom.xml
index afb1f785b0..9043792742 100644
--- a/jwicket-parent/jwicket-ui/jwicket-ui-resize/pom.xml
+++ b/jwicket-parent/jwicket-ui/jwicket-ui-resize/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffwicketstuff-jwicket-ui
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOT../pom.xml
diff --git a/jwicket-parent/jwicket-ui/jwicket-ui-sort/pom.xml b/jwicket-parent/jwicket-ui/jwicket-ui-sort/pom.xml
index d016c352d4..7bce5282ad 100644
--- a/jwicket-parent/jwicket-ui/jwicket-ui-sort/pom.xml
+++ b/jwicket-parent/jwicket-ui/jwicket-ui-sort/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffwicketstuff-jwicket-ui
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOT../pom.xml
diff --git a/jwicket-parent/jwicket-ui/jwicket-ui-tooltip/pom.xml b/jwicket-parent/jwicket-ui/jwicket-ui-tooltip/pom.xml
index 62616a2790..5642af7508 100644
--- a/jwicket-parent/jwicket-ui/jwicket-ui-tooltip/pom.xml
+++ b/jwicket-parent/jwicket-ui/jwicket-ui-tooltip/pom.xml
@@ -15,7 +15,7 @@
wicketstuff-jwicket-uiorg.wicketstuff
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOT../pom.xmlwicketstuff-jwicket-ui-tooltip
diff --git a/jwicket-parent/jwicket-ui/pom.xml b/jwicket-parent/jwicket-ui/pom.xml
index 2429ba51c9..e1e55f3cfd 100644
--- a/jwicket-parent/jwicket-ui/pom.xml
+++ b/jwicket-parent/jwicket-ui/pom.xml
@@ -22,7 +22,7 @@
org.wicketstuffwicketstuff-jwicket-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-jwicket-ui
diff --git a/jwicket-parent/pom.xml b/jwicket-parent/pom.xml
index 2d770fe20c..568a4d9c97 100644
--- a/jwicket-parent/pom.xml
+++ b/jwicket-parent/pom.xml
@@ -22,7 +22,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-jwicket-parent
diff --git a/lambda-parent/lambda-examples/pom.xml b/lambda-parent/lambda-examples/pom.xml
index 37a50c5a42..83786d8226 100644
--- a/lambda-parent/lambda-examples/pom.xml
+++ b/lambda-parent/lambda-examples/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffwicketstuff-lambda-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-lambda-examples
diff --git a/lambda-parent/lambda/pom.xml b/lambda-parent/lambda/pom.xml
index 44249679e9..6781aaa56c 100644
--- a/lambda-parent/lambda/pom.xml
+++ b/lambda-parent/lambda/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffwicketstuff-lambda-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-lambda
diff --git a/lambda-parent/pom.xml b/lambda-parent/pom.xml
index e699929211..a99b013e7a 100644
--- a/lambda-parent/pom.xml
+++ b/lambda-parent/pom.xml
@@ -7,7 +7,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-lambda-parent
diff --git a/lightbox2-parent/lightbox2-examples/pom.xml b/lightbox2-parent/lightbox2-examples/pom.xml
index 55f2e7a2dd..01eb12432e 100644
--- a/lightbox2-parent/lightbox2-examples/pom.xml
+++ b/lightbox2-parent/lightbox2-examples/pom.xml
@@ -5,7 +5,7 @@
org.wicketstufflightbox2-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTlightbox2-examples
diff --git a/lightbox2-parent/lightbox2/pom.xml b/lightbox2-parent/lightbox2/pom.xml
index aec5806900..8f4c4f790b 100644
--- a/lightbox2-parent/lightbox2/pom.xml
+++ b/lightbox2-parent/lightbox2/pom.xml
@@ -5,7 +5,7 @@
org.wicketstufflightbox2-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTlightbox2
diff --git a/lightbox2-parent/pom.xml b/lightbox2-parent/pom.xml
index c6d63eb636..83a08a5f29 100644
--- a/lightbox2-parent/pom.xml
+++ b/lightbox2-parent/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTlightbox2-parent
diff --git a/mbeanview-parent/mbeanview-examples/pom.xml b/mbeanview-parent/mbeanview-examples/pom.xml
index 73f8849824..2ca02c84f5 100644
--- a/mbeanview-parent/mbeanview-examples/pom.xml
+++ b/mbeanview-parent/mbeanview-examples/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffmbeanview-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTmbeanview-examples
diff --git a/mbeanview-parent/mbeanview/pom.xml b/mbeanview-parent/mbeanview/pom.xml
index 3db09d78a5..97e6e18eb5 100644
--- a/mbeanview-parent/mbeanview/pom.xml
+++ b/mbeanview-parent/mbeanview/pom.xml
@@ -3,7 +3,7 @@
org.wicketstuffmbeanview-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-mbeanview
diff --git a/mbeanview-parent/pom.xml b/mbeanview-parent/pom.xml
index e5edb7e10b..310a735c06 100644
--- a/mbeanview-parent/pom.xml
+++ b/mbeanview-parent/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTmbeanview-parent
diff --git a/minis-parent/minis-examples/pom.xml b/minis-parent/minis-examples/pom.xml
index f1a49728dd..933efb5a44 100644
--- a/minis-parent/minis-examples/pom.xml
+++ b/minis-parent/minis-examples/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffminis-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-minis-examples
diff --git a/minis-parent/minis/pom.xml b/minis-parent/minis/pom.xml
index 24db0dae81..10339cad39 100644
--- a/minis-parent/minis/pom.xml
+++ b/minis-parent/minis/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffminis-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-minis
diff --git a/minis-parent/pom.xml b/minis-parent/pom.xml
index d8e69dd9b1..2e838cae64 100644
--- a/minis-parent/pom.xml
+++ b/minis-parent/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTminis-parent
diff --git a/modalx-parent/modalx-examples/pom.xml b/modalx-parent/modalx-examples/pom.xml
index cce4d190f1..be1809e4e7 100644
--- a/modalx-parent/modalx-examples/pom.xml
+++ b/modalx-parent/modalx-examples/pom.xml
@@ -3,7 +3,7 @@
org.wicketstuffmodalx-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTmodalx-examples
diff --git a/modalx-parent/modalx/pom.xml b/modalx-parent/modalx/pom.xml
index 3ce0d08156..392e314a87 100644
--- a/modalx-parent/modalx/pom.xml
+++ b/modalx-parent/modalx/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffmodalx-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTmodalx
diff --git a/modalx-parent/pom.xml b/modalx-parent/pom.xml
index 9e0434686c..ac5b9a046b 100644
--- a/modalx-parent/pom.xml
+++ b/modalx-parent/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTmodalx-parentModalX Parent
diff --git a/nashorn-parent/nashorn-examples/pom.xml b/nashorn-parent/nashorn-examples/pom.xml
index 30b4db9ffd..488e3e5484 100644
--- a/nashorn-parent/nashorn-examples/pom.xml
+++ b/nashorn-parent/nashorn-examples/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffwicketstuff-nashorn-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-nashorn-examples
diff --git a/nashorn-parent/nashorn/pom.xml b/nashorn-parent/nashorn/pom.xml
index f2a9154ae5..3c78ae0222 100644
--- a/nashorn-parent/nashorn/pom.xml
+++ b/nashorn-parent/nashorn/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffwicketstuff-nashorn-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-nashorn
diff --git a/nashorn-parent/pom.xml b/nashorn-parent/pom.xml
index da30f38d7d..02b722c08c 100644
--- a/nashorn-parent/pom.xml
+++ b/nashorn-parent/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-nashorn-parent
diff --git a/objectautocomplete-parent/objectautocomplete-examples/pom.xml b/objectautocomplete-parent/objectautocomplete-examples/pom.xml
index 5c0651e0bc..02eef59656 100644
--- a/objectautocomplete-parent/objectautocomplete-examples/pom.xml
+++ b/objectautocomplete-parent/objectautocomplete-examples/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffwicketstuff-objectautocomplete-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-objectautocomplete-examples
diff --git a/objectautocomplete-parent/objectautocomplete/pom.xml b/objectautocomplete-parent/objectautocomplete/pom.xml
index ad0d546d16..3b4fd6c96a 100644
--- a/objectautocomplete-parent/objectautocomplete/pom.xml
+++ b/objectautocomplete-parent/objectautocomplete/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffwicketstuff-objectautocomplete-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-objectautocomplete
diff --git a/objectautocomplete-parent/pom.xml b/objectautocomplete-parent/pom.xml
index e59e204d94..793901273a 100644
--- a/objectautocomplete-parent/pom.xml
+++ b/objectautocomplete-parent/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-objectautocomplete-parent
diff --git a/offline-mode-parent/offline-mode-examples/pom.xml b/offline-mode-parent/offline-mode-examples/pom.xml
index fd70152a08..bdf07f793f 100644
--- a/offline-mode-parent/offline-mode-examples/pom.xml
+++ b/offline-mode-parent/offline-mode-examples/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffwicketstuff-offline-mode-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-offline-mode-examples
diff --git a/offline-mode-parent/offline-mode/pom.xml b/offline-mode-parent/offline-mode/pom.xml
index 5e0f78fdf6..57eef6ec22 100644
--- a/offline-mode-parent/offline-mode/pom.xml
+++ b/offline-mode-parent/offline-mode/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffwicketstuff-offline-mode-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-offline-mode
diff --git a/offline-mode-parent/pom.xml b/offline-mode-parent/pom.xml
index cd1ba95ec5..684d020fc3 100644
--- a/offline-mode-parent/pom.xml
+++ b/offline-mode-parent/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-offline-mode-parent
diff --git a/openlayers-parent/openlayers-examples/pom.xml b/openlayers-parent/openlayers-examples/pom.xml
index 8939e5c023..9213afadb2 100644
--- a/openlayers-parent/openlayers-examples/pom.xml
+++ b/openlayers-parent/openlayers-examples/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffopenlayers-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTopenlayers-examples
diff --git a/openlayers-parent/openlayers-proxy/pom.xml b/openlayers-parent/openlayers-proxy/pom.xml
index 28df739fa7..53196ecbe8 100644
--- a/openlayers-parent/openlayers-proxy/pom.xml
+++ b/openlayers-parent/openlayers-proxy/pom.xml
@@ -20,7 +20,7 @@
org.wicketstuffopenlayers-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-openlayers-proxy
diff --git a/openlayers-parent/openlayers/pom.xml b/openlayers-parent/openlayers/pom.xml
index 6714191940..86c2fa5dd3 100644
--- a/openlayers-parent/openlayers/pom.xml
+++ b/openlayers-parent/openlayers/pom.xml
@@ -20,7 +20,7 @@
org.wicketstuffopenlayers-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-openlayers
diff --git a/openlayers-parent/pom.xml b/openlayers-parent/pom.xml
index 172b210411..fa24c05e56 100644
--- a/openlayers-parent/pom.xml
+++ b/openlayers-parent/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTopenlayers-parent
diff --git a/openlayers3-parent/openlayers3-bootstrap/pom.xml b/openlayers3-parent/openlayers3-bootstrap/pom.xml
index afc8a3a950..12e4501168 100644
--- a/openlayers3-parent/openlayers3-bootstrap/pom.xml
+++ b/openlayers3-parent/openlayers3-bootstrap/pom.xml
@@ -20,7 +20,7 @@
org.wicketstuffopenlayers3-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-openlayers3-bootstrap
diff --git a/openlayers3-parent/openlayers3-examples/pom.xml b/openlayers3-parent/openlayers3-examples/pom.xml
index 49d4e587ed..e65202df2b 100644
--- a/openlayers3-parent/openlayers3-examples/pom.xml
+++ b/openlayers3-parent/openlayers3-examples/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffopenlayers3-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTopenlayers3-examples
diff --git a/openlayers3-parent/openlayers3/pom.xml b/openlayers3-parent/openlayers3/pom.xml
index 61a5dd73fb..fcd551c36e 100644
--- a/openlayers3-parent/openlayers3/pom.xml
+++ b/openlayers3-parent/openlayers3/pom.xml
@@ -20,7 +20,7 @@
org.wicketstuffopenlayers3-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-openlayers3
diff --git a/openlayers3-parent/pom.xml b/openlayers3-parent/pom.xml
index 3586175057..b43822467a 100644
--- a/openlayers3-parent/pom.xml
+++ b/openlayers3-parent/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTopenlayers3-parent
diff --git a/phonebook/pom.xml b/phonebook/pom.xml
index 0aa8b1ca08..f9046efcb8 100644
--- a/phonebook/pom.xml
+++ b/phonebook/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-phonebook
diff --git a/plugin/pom.xml b/plugin/pom.xml
index 6db45e8182..b96e432d18 100644
--- a/plugin/pom.xml
+++ b/plugin/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-plugin
diff --git a/pom.xml b/pom.xml
index adb99c1eb2..687e5fab68 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,7 +7,7 @@
org.wicketstuffwicketstuff-corepom
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTWicketStuff Core Parent
WicketStuff Core Parent is the parent project for all of the core WicketStuff projects. It tries
diff --git a/portlet-parent/pom.xml b/portlet-parent/pom.xml
index f9411e917c..e0f1607ed2 100644
--- a/portlet-parent/pom.xml
+++ b/portlet-parent/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-portlet-parentPortlet Parent
diff --git a/portlet-parent/wicketstuff-portlet-examples/pom.xml b/portlet-parent/wicketstuff-portlet-examples/pom.xml
index 271f7d149d..b453c7288b 100644
--- a/portlet-parent/wicketstuff-portlet-examples/pom.xml
+++ b/portlet-parent/wicketstuff-portlet-examples/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffwicketstuff-portlet-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-portlet-examples
diff --git a/portlet-parent/wicketstuff-portlet/pom.xml b/portlet-parent/wicketstuff-portlet/pom.xml
index b38fff576f..7a4f0d5b84 100644
--- a/portlet-parent/wicketstuff-portlet/pom.xml
+++ b/portlet-parent/wicketstuff-portlet/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffwicketstuff-portlet-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-portlet
diff --git a/progressbar-parent/pom.xml b/progressbar-parent/pom.xml
index 582c6c9766..33b180f97c 100644
--- a/progressbar-parent/pom.xml
+++ b/progressbar-parent/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTprogressbar-parent
diff --git a/progressbar-parent/progressbar-example/pom.xml b/progressbar-parent/progressbar-example/pom.xml
index e95f2e4143..b6afaa6d81 100644
--- a/progressbar-parent/progressbar-example/pom.xml
+++ b/progressbar-parent/progressbar-example/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffprogressbar-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTprogressbar-example
diff --git a/progressbar-parent/progressbar-spring/pom.xml b/progressbar-parent/progressbar-spring/pom.xml
index 8f2e02f081..e95a125ff3 100644
--- a/progressbar-parent/progressbar-spring/pom.xml
+++ b/progressbar-parent/progressbar-spring/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffprogressbar-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-progressbar-springTaskService for use with user submitted background tasks and the progress bar. Could be used with Spring or any other application framework.
diff --git a/progressbar-parent/progressbar/pom.xml b/progressbar-parent/progressbar/pom.xml
index 785566b488..8f4d3c2619 100644
--- a/progressbar-parent/progressbar/pom.xml
+++ b/progressbar-parent/progressbar/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffprogressbar-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-progressbar
diff --git a/push-parent/pom.xml b/push-parent/pom.xml
index e98549b4fb..18bd99f9a1 100644
--- a/push-parent/pom.xml
+++ b/push-parent/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTpush-parent
diff --git a/push-parent/push-cometd/pom.xml b/push-parent/push-cometd/pom.xml
index 5f89b74017..e0d750bcda 100644
--- a/push-parent/push-cometd/pom.xml
+++ b/push-parent/push-cometd/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffpush-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-push-cometd
diff --git a/push-parent/push-core/pom.xml b/push-parent/push-core/pom.xml
index dfb7f9f8a0..dde7be0598 100644
--- a/push-parent/push-core/pom.xml
+++ b/push-parent/push-core/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffpush-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-push-core
diff --git a/push-parent/push-examples/pom.xml b/push-parent/push-examples/pom.xml
index 8fc458e10b..ded3fa997d 100644
--- a/push-parent/push-examples/pom.xml
+++ b/push-parent/push-examples/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffpush-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-push-examples
diff --git a/push-parent/push-timer/pom.xml b/push-parent/push-timer/pom.xml
index 5af5fab271..90e1a50035 100644
--- a/push-parent/push-timer/pom.xml
+++ b/push-parent/push-timer/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffpush-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-push-timer
diff --git a/scala-extensions-parent/pom.xml b/scala-extensions-parent/pom.xml
index 92dcd1db39..1cb5d321ae 100644
--- a/scala-extensions-parent/pom.xml
+++ b/scala-extensions-parent/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTorg.wicketstuff.scala
diff --git a/scala-extensions-parent/wicket-scala-archetype/pom.xml b/scala-extensions-parent/wicket-scala-archetype/pom.xml
index e876a637c8..edfd374134 100644
--- a/scala-extensions-parent/wicket-scala-archetype/pom.xml
+++ b/scala-extensions-parent/wicket-scala-archetype/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuff.scalascala-extensions-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTmaven-archetype
diff --git a/scala-extensions-parent/wicket-scala-sample/pom.xml b/scala-extensions-parent/wicket-scala-sample/pom.xml
index 92a0dbdd80..5129cbe32c 100644
--- a/scala-extensions-parent/wicket-scala-sample/pom.xml
+++ b/scala-extensions-parent/wicket-scala-sample/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuff.scalascala-extensions-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-sample
diff --git a/scala-extensions-parent/wicket-scala/pom.xml b/scala-extensions-parent/wicket-scala/pom.xml
index d4a769a829..e83deea58b 100644
--- a/scala-extensions-parent/wicket-scala/pom.xml
+++ b/scala-extensions-parent/wicket-scala/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuff.scalascala-extensions-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-scala
diff --git a/select2-parent/pom.xml b/select2-parent/pom.xml
index bd04c8ba43..6fc17f77c0 100755
--- a/select2-parent/pom.xml
+++ b/select2-parent/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-select2-parentpom
diff --git a/select2-parent/select2-examples/pom.xml b/select2-parent/select2-examples/pom.xml
index a55740a187..92ed8599a8 100755
--- a/select2-parent/select2-examples/pom.xml
+++ b/select2-parent/select2-examples/pom.xml
@@ -4,7 +4,7 @@
wicketstuff-select2-parentorg.wicketstuff
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-select2-exampleswar
diff --git a/select2-parent/select2/pom.xml b/select2-parent/select2/pom.xml
index 4af99095d7..58cb353a3c 100755
--- a/select2-parent/select2/pom.xml
+++ b/select2-parent/select2/pom.xml
@@ -21,7 +21,7 @@
org.wicketstuffwicketstuff-select2-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOT4.0.0wicketstuff-select2
diff --git a/serializer-common/pom.xml b/serializer-common/pom.xml
index efc8c3a0e7..83c18a1198 100644
--- a/serializer-common/pom.xml
+++ b/serializer-common/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-serializer-common
diff --git a/serializer-fast/pom.xml b/serializer-fast/pom.xml
index c6450236fd..8fc701c184 100644
--- a/serializer-fast/pom.xml
+++ b/serializer-fast/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-serializer-fast
diff --git a/serializer-fast2/pom.xml b/serializer-fast2/pom.xml
index 262893686c..0ffe1f9bf1 100644
--- a/serializer-fast2/pom.xml
+++ b/serializer-fast2/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-serializer-fast2
diff --git a/serializer-kryo/pom.xml b/serializer-kryo/pom.xml
index c7f340a2f2..94c04aa6b7 100644
--- a/serializer-kryo/pom.xml
+++ b/serializer-kryo/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-serializer-kryo
diff --git a/serializer-kryo2/pom.xml b/serializer-kryo2/pom.xml
index fd675f3703..e543bd31c5 100644
--- a/serializer-kryo2/pom.xml
+++ b/serializer-kryo2/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-serializer-kryo2
diff --git a/serializer-ui/pom.xml b/serializer-ui/pom.xml
index b26907d1de..8a80ed28cb 100644
--- a/serializer-ui/pom.xml
+++ b/serializer-ui/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-serializer-ui
diff --git a/shiro-security/pom.xml b/shiro-security/pom.xml
index c68a3c0dc7..f424224be5 100644
--- a/shiro-security/pom.xml
+++ b/shiro-security/pom.xml
@@ -23,7 +23,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicket-shiro-parent
diff --git a/shiro-security/wicket-shiro-examples/pom.xml b/shiro-security/wicket-shiro-examples/pom.xml
index 943552d0c7..2beb37fb88 100644
--- a/shiro-security/wicket-shiro-examples/pom.xml
+++ b/shiro-security/wicket-shiro-examples/pom.xml
@@ -22,7 +22,7 @@
org.wicketstuffwicket-shiro-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicket-shiro-examples
diff --git a/shiro-security/wicket-shiro-examples/shiro-example-base/pom.xml b/shiro-security/wicket-shiro-examples/shiro-example-base/pom.xml
index 6263e93761..b9a624ae2c 100644
--- a/shiro-security/wicket-shiro-examples/shiro-example-base/pom.xml
+++ b/shiro-security/wicket-shiro-examples/shiro-example-base/pom.xml
@@ -23,7 +23,7 @@
org.wicketstuffwicket-shiro-examples
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicket-shiro-example-base
diff --git a/shiro-security/wicket-shiro-examples/shiro-example-realm/pom.xml b/shiro-security/wicket-shiro-examples/shiro-example-realm/pom.xml
index a8de1de78a..238df8f941 100644
--- a/shiro-security/wicket-shiro-examples/shiro-example-realm/pom.xml
+++ b/shiro-security/wicket-shiro-examples/shiro-example-realm/pom.xml
@@ -23,7 +23,7 @@
org.wicketstuffwicket-shiro-examples
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicket-shiro-example-realm
diff --git a/shiro-security/wicket-shiro-examples/shiro-example-spring-hibernate-native/pom.xml b/shiro-security/wicket-shiro-examples/shiro-example-spring-hibernate-native/pom.xml
index 7fffd61561..d3eb258305 100644
--- a/shiro-security/wicket-shiro-examples/shiro-example-spring-hibernate-native/pom.xml
+++ b/shiro-security/wicket-shiro-examples/shiro-example-spring-hibernate-native/pom.xml
@@ -23,7 +23,7 @@
org.wicketstuffwicket-shiro-examples
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicket-shiro-example-spring-hibernate-native
diff --git a/shiro-security/wicket-shiro-examples/shiro-example-spring-hibernate/pom.xml b/shiro-security/wicket-shiro-examples/shiro-example-spring-hibernate/pom.xml
index 19dc977199..644345d019 100644
--- a/shiro-security/wicket-shiro-examples/shiro-example-spring-hibernate/pom.xml
+++ b/shiro-security/wicket-shiro-examples/shiro-example-spring-hibernate/pom.xml
@@ -23,7 +23,7 @@
org.wicketstuffwicket-shiro-examples
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicket-shiro-example-spring-hibernate
diff --git a/shiro-security/wicket-shiro-examples/shiro-example-spring-jdbc/pom.xml b/shiro-security/wicket-shiro-examples/shiro-example-spring-jdbc/pom.xml
index 4ada856fc6..3272d20d50 100644
--- a/shiro-security/wicket-shiro-examples/shiro-example-spring-jdbc/pom.xml
+++ b/shiro-security/wicket-shiro-examples/shiro-example-spring-jdbc/pom.xml
@@ -23,7 +23,7 @@
org.wicketstuffwicket-shiro-examples
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicket-shiro-example-spring-jdbc
diff --git a/shiro-security/wicket-shiro/pom.xml b/shiro-security/wicket-shiro/pom.xml
index dd5e4b7b6b..1c92919f9a 100644
--- a/shiro-security/wicket-shiro/pom.xml
+++ b/shiro-security/wicket-shiro/pom.xml
@@ -21,7 +21,7 @@
org.wicketstuffwicket-shiro-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-shiro
diff --git a/simile-timeline-parent/pom.xml b/simile-timeline-parent/pom.xml
index aa0ab076c5..9d3eab6e25 100644
--- a/simile-timeline-parent/pom.xml
+++ b/simile-timeline-parent/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTsimile-timeline-parent
diff --git a/simile-timeline-parent/simile-timeline/pom.xml b/simile-timeline-parent/simile-timeline/pom.xml
index 0525bd637f..a334d54d1b 100644
--- a/simile-timeline-parent/simile-timeline/pom.xml
+++ b/simile-timeline-parent/simile-timeline/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffsimile-timeline-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-simile-timeline
diff --git a/sitemap-xml-parent/pom.xml b/sitemap-xml-parent/pom.xml
index fb537ae677..1300c4151e 100644
--- a/sitemap-xml-parent/pom.xml
+++ b/sitemap-xml-parent/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTsitemap-xml-parent
diff --git a/sitemap-xml-parent/sitemap-xml-examples/pom.xml b/sitemap-xml-parent/sitemap-xml-examples/pom.xml
index 19979d350e..c278631040 100644
--- a/sitemap-xml-parent/sitemap-xml-examples/pom.xml
+++ b/sitemap-xml-parent/sitemap-xml-examples/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffsitemap-xml-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTsitemap-xml-exampleswicketstuff-sitemap-xml-examples
diff --git a/sitemap-xml-parent/sitemap-xml/pom.xml b/sitemap-xml-parent/sitemap-xml/pom.xml
index 2d3ed8aca1..56ba2eb956 100644
--- a/sitemap-xml-parent/sitemap-xml/pom.xml
+++ b/sitemap-xml-parent/sitemap-xml/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffsitemap-xml-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-sitemap-xmljar
diff --git a/stateless-parent/pom.xml b/stateless-parent/pom.xml
index 9e69883466..6000358b87 100644
--- a/stateless-parent/pom.xml
+++ b/stateless-parent/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-stateless-parent
diff --git a/stateless-parent/stateless-examples/pom.xml b/stateless-parent/stateless-examples/pom.xml
index 9a182e2e5d..df42f2b1ff 100644
--- a/stateless-parent/stateless-examples/pom.xml
+++ b/stateless-parent/stateless-examples/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffwicketstuff-stateless-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-stateless-examples
diff --git a/stateless-parent/stateless/pom.xml b/stateless-parent/stateless/pom.xml
index f3b708a99a..2b6f00f1d8 100644
--- a/stateless-parent/stateless/pom.xml
+++ b/stateless-parent/stateless/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffwicketstuff-stateless-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-stateless
diff --git a/tinymce3-parent/pom.xml b/tinymce3-parent/pom.xml
index 45e9f5254e..baba952672 100644
--- a/tinymce3-parent/pom.xml
+++ b/tinymce3-parent/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTtinymce3-parent
diff --git a/tinymce3-parent/tinymce3-examples/pom.xml b/tinymce3-parent/tinymce3-examples/pom.xml
index 79dc61aaf3..8a0bcb02be 100644
--- a/tinymce3-parent/tinymce3-examples/pom.xml
+++ b/tinymce3-parent/tinymce3-examples/pom.xml
@@ -16,7 +16,7 @@
org.wicketstufftinymce3-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTtinymce3-examples
diff --git a/tinymce3-parent/tinymce3/pom.xml b/tinymce3-parent/tinymce3/pom.xml
index 009cbca54f..45ee99c6be 100644
--- a/tinymce3-parent/tinymce3/pom.xml
+++ b/tinymce3-parent/tinymce3/pom.xml
@@ -16,7 +16,7 @@
org.wicketstufftinymce3-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-tinymce3
diff --git a/tinymce4-parent/pom.xml b/tinymce4-parent/pom.xml
index ad838574a3..1a6ecd92e9 100644
--- a/tinymce4-parent/pom.xml
+++ b/tinymce4-parent/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTtinymce4-parent
diff --git a/tinymce4-parent/tinymce4-examples/pom.xml b/tinymce4-parent/tinymce4-examples/pom.xml
index dc9c86cb8f..79f47bc986 100644
--- a/tinymce4-parent/tinymce4-examples/pom.xml
+++ b/tinymce4-parent/tinymce4-examples/pom.xml
@@ -16,7 +16,7 @@
org.wicketstufftinymce4-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTtinymce4-examples
diff --git a/tinymce4-parent/tinymce4/pom.xml b/tinymce4-parent/tinymce4/pom.xml
index 460435ba92..f02cf2e3c9 100644
--- a/tinymce4-parent/tinymce4/pom.xml
+++ b/tinymce4-parent/tinymce4/pom.xml
@@ -16,7 +16,7 @@
org.wicketstufftinymce4-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-tinymce4
diff --git a/twitter-parent/pom.xml b/twitter-parent/pom.xml
index 3575b2ccbf..e579b8fb03 100644
--- a/twitter-parent/pom.xml
+++ b/twitter-parent/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTtwitter-parent
diff --git a/twitter-parent/twitter-examples/pom.xml b/twitter-parent/twitter-examples/pom.xml
index 11eb5c5e3a..ec68aceaf1 100644
--- a/twitter-parent/twitter-examples/pom.xml
+++ b/twitter-parent/twitter-examples/pom.xml
@@ -3,7 +3,7 @@
twitter-parentorg.wicketstuff
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-twitter-exampleswar
diff --git a/twitter-parent/twitter/pom.xml b/twitter-parent/twitter/pom.xml
index 2ea914eaea..c8a535405a 100644
--- a/twitter-parent/twitter/pom.xml
+++ b/twitter-parent/twitter/pom.xml
@@ -3,7 +3,7 @@
twitter-parentorg.wicketstuff
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-twitter
diff --git a/urlfragment-parent/pom.xml b/urlfragment-parent/pom.xml
index ff54192c51..a4b679d7e8 100644
--- a/urlfragment-parent/pom.xml
+++ b/urlfragment-parent/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-urlfragment-parent
diff --git a/urlfragment-parent/urlfragment-example/pom.xml b/urlfragment-parent/urlfragment-example/pom.xml
index 7c4e75cc54..c2ae2b9df8 100644
--- a/urlfragment-parent/urlfragment-example/pom.xml
+++ b/urlfragment-parent/urlfragment-example/pom.xml
@@ -23,7 +23,7 @@
org.wicketstuffwicketstuff-urlfragment-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-urlfragment-examples
diff --git a/urlfragment-parent/urlfragment/pom.xml b/urlfragment-parent/urlfragment/pom.xml
index 405bc75908..f6943d15e4 100644
--- a/urlfragment-parent/urlfragment/pom.xml
+++ b/urlfragment-parent/urlfragment/pom.xml
@@ -21,7 +21,7 @@
org.wicketstuffwicketstuff-urlfragment-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOT4.0.0wicketstuff-urlfragment
diff --git a/whiteboard-parent/pom.xml b/whiteboard-parent/pom.xml
index 66c5ecd3c2..e97363d8b9 100644
--- a/whiteboard-parent/pom.xml
+++ b/whiteboard-parent/pom.xml
@@ -7,7 +7,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-whiteboard-parent
diff --git a/whiteboard-parent/whiteboard-examples/pom.xml b/whiteboard-parent/whiteboard-examples/pom.xml
index 3808fbdc32..cb00310582 100644
--- a/whiteboard-parent/whiteboard-examples/pom.xml
+++ b/whiteboard-parent/whiteboard-examples/pom.xml
@@ -7,7 +7,7 @@
wicketstuff-whiteboard-parentorg.wicketstuff
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-whiteboard-examples
diff --git a/whiteboard-parent/whiteboard/pom.xml b/whiteboard-parent/whiteboard/pom.xml
index 7eb267e939..1583c49e15 100644
--- a/whiteboard-parent/whiteboard/pom.xml
+++ b/whiteboard-parent/whiteboard/pom.xml
@@ -7,7 +7,7 @@
wicketstuff-whiteboard-parentorg.wicketstuff
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-whiteboard
diff --git a/wicket-bundle-parent/pom.xml b/wicket-bundle-parent/pom.xml
index cd73b734aa..cd883e8c29 100644
--- a/wicket-bundle-parent/pom.xml
+++ b/wicket-bundle-parent/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicket-bundle-parent
diff --git a/wicket-bundle-parent/wicket-bundle/pom.xml b/wicket-bundle-parent/wicket-bundle/pom.xml
index 03cd77faa8..995bf11a5a 100644
--- a/wicket-bundle-parent/wicket-bundle/pom.xml
+++ b/wicket-bundle-parent/wicket-bundle/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffwicket-bundle-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-bundle
diff --git a/wicket-bundle-parent/wicket-ioc-bundle/pom.xml b/wicket-bundle-parent/wicket-ioc-bundle/pom.xml
index ff794dd146..4dc08f7e79 100644
--- a/wicket-bundle-parent/wicket-ioc-bundle/pom.xml
+++ b/wicket-bundle-parent/wicket-ioc-bundle/pom.xml
@@ -3,7 +3,7 @@
wicket-bundle-parentorg.wicketstuff
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-ioc-bundlebundle
diff --git a/wicket-facebook-parent/pom.xml b/wicket-facebook-parent/pom.xml
index 2674b5d72e..22dbca18ca 100644
--- a/wicket-facebook-parent/pom.xml
+++ b/wicket-facebook-parent/pom.xml
@@ -4,7 +4,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTWicket Facebook :: Parent
diff --git a/wicket-facebook-parent/wicket-facebook-examples/pom.xml b/wicket-facebook-parent/wicket-facebook-examples/pom.xml
index 69b8bc03cd..287654be98 100644
--- a/wicket-facebook-parent/wicket-facebook-examples/pom.xml
+++ b/wicket-facebook-parent/wicket-facebook-examples/pom.xml
@@ -4,7 +4,7 @@
wicket-facebook-parentorg.wicketstuff
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicket-facebook-examplesWicket Facebook Examples
diff --git a/wicket-facebook-parent/wicket-facebook/pom.xml b/wicket-facebook-parent/wicket-facebook/pom.xml
index bab423e611..fe5315a44b 100644
--- a/wicket-facebook-parent/wicket-facebook/pom.xml
+++ b/wicket-facebook-parent/wicket-facebook/pom.xml
@@ -4,7 +4,7 @@
wicket-facebook-parentorg.wicketstuff
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicket-facebookWicket Facebook
diff --git a/wicket-foundation/pom.xml b/wicket-foundation/pom.xml
index f2763f5f80..c2e4fae39b 100644
--- a/wicket-foundation/pom.xml
+++ b/wicket-foundation/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTorg.wicketstuff.foundation
diff --git a/wicket-foundation/wicket-foundation-core/pom.xml b/wicket-foundation/wicket-foundation-core/pom.xml
index 3726a86e93..81106494e5 100644
--- a/wicket-foundation/wicket-foundation-core/pom.xml
+++ b/wicket-foundation/wicket-foundation-core/pom.xml
@@ -7,7 +7,7 @@
org.wicketstuff.foundationwicket-foundation-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicket-foundation-core
diff --git a/wicket-foundation/wicket-foundation-samples/pom.xml b/wicket-foundation/wicket-foundation-samples/pom.xml
index 34b077d8d8..dbf36a4560 100644
--- a/wicket-foundation/wicket-foundation-samples/pom.xml
+++ b/wicket-foundation/wicket-foundation-samples/pom.xml
@@ -7,7 +7,7 @@
wicket-foundation-parentorg.wicketstuff.foundation
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicket-foundation-samples
diff --git a/wicket-html5-parent/pom.xml b/wicket-html5-parent/pom.xml
index 78bf184d2f..1953673663 100644
--- a/wicket-html5-parent/pom.xml
+++ b/wicket-html5-parent/pom.xml
@@ -7,7 +7,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-html5-parent
diff --git a/wicket-html5-parent/wicket-html5-examples/pom.xml b/wicket-html5-parent/wicket-html5-examples/pom.xml
index 24e081927f..6d24ca4b7e 100644
--- a/wicket-html5-parent/wicket-html5-examples/pom.xml
+++ b/wicket-html5-parent/wicket-html5-examples/pom.xml
@@ -7,7 +7,7 @@
org.wicketstuffwicketstuff-html5-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-html5-examples
diff --git a/wicket-html5-parent/wicket-html5/pom.xml b/wicket-html5-parent/wicket-html5/pom.xml
index 5a6a082861..f1f99f5c79 100644
--- a/wicket-html5-parent/wicket-html5/pom.xml
+++ b/wicket-html5-parent/wicket-html5/pom.xml
@@ -7,7 +7,7 @@
org.wicketstuffwicketstuff-html5-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-html5
diff --git a/wicket-mount-parent/pom.xml b/wicket-mount-parent/pom.xml
index 3e8ea5547d..81d326d4fb 100644
--- a/wicket-mount-parent/pom.xml
+++ b/wicket-mount-parent/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicket-mount-parent
diff --git a/wicket-mount-parent/wicket-mount-core/pom.xml b/wicket-mount-parent/wicket-mount-core/pom.xml
index f17634ece2..24d9d29352 100644
--- a/wicket-mount-parent/wicket-mount-core/pom.xml
+++ b/wicket-mount-parent/wicket-mount-core/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicket-mount-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOT4.0.0
diff --git a/wicket-mount-parent/wicket-mount-example/pom.xml b/wicket-mount-parent/wicket-mount-example/pom.xml
index 9bb94e06f2..eb1d171b03 100644
--- a/wicket-mount-parent/wicket-mount-example/pom.xml
+++ b/wicket-mount-parent/wicket-mount-example/pom.xml
@@ -5,7 +5,7 @@
wicket-mount-parentorg.wicketstuff
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTorg.wicketstuff
diff --git a/wicket-mount-parent/wicket-mount/pom.xml b/wicket-mount-parent/wicket-mount/pom.xml
index 175f34cc2b..069944181e 100644
--- a/wicket-mount-parent/wicket-mount/pom.xml
+++ b/wicket-mount-parent/wicket-mount/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicket-mount-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOT4.0.0wicket-mount
diff --git a/wicket-osgi-parent/pom.xml b/wicket-osgi-parent/pom.xml
index d011fae003..8c46e97a97 100644
--- a/wicket-osgi-parent/pom.xml
+++ b/wicket-osgi-parent/pom.xml
@@ -3,7 +3,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicket-osgi-parentWicket OSGi Parent
diff --git a/wicket-osgi-parent/wicket-osgi-test-service/pom.xml b/wicket-osgi-parent/wicket-osgi-test-service/pom.xml
index 29fb9d1a61..c626d5b905 100644
--- a/wicket-osgi-parent/wicket-osgi-test-service/pom.xml
+++ b/wicket-osgi-parent/wicket-osgi-test-service/pom.xml
@@ -3,7 +3,7 @@
wicket-osgi-parentorg.wicketstuff
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicket-osgi-test-servicebundle
diff --git a/wicket-osgi-parent/wicket-osgi-test-web/pom.xml b/wicket-osgi-parent/wicket-osgi-test-web/pom.xml
index d77f07cb52..e4fa3a2f17 100644
--- a/wicket-osgi-parent/wicket-osgi-test-web/pom.xml
+++ b/wicket-osgi-parent/wicket-osgi-test-web/pom.xml
@@ -3,7 +3,7 @@
wicket-osgi-parentorg.wicketstuff
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicket-osgi-test-webbundle
diff --git a/wicket-osgi-parent/wicket-osgi/pom.xml b/wicket-osgi-parent/wicket-osgi/pom.xml
index a7e60ba4ed..15e75bb7ea 100644
--- a/wicket-osgi-parent/wicket-osgi/pom.xml
+++ b/wicket-osgi-parent/wicket-osgi/pom.xml
@@ -3,7 +3,7 @@
wicket-osgi-parentorg.wicketstuff
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-osgibundle
diff --git a/wicket-poi-parent/pom.xml b/wicket-poi-parent/pom.xml
index 16543c633b..eb1e7bbc91 100644
--- a/wicket-poi-parent/pom.xml
+++ b/wicket-poi-parent/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicket-poi-parent
diff --git a/wicket-poi-parent/wicket-poi-examples/pom.xml b/wicket-poi-parent/wicket-poi-examples/pom.xml
index f9fc9dd403..82979284c1 100644
--- a/wicket-poi-parent/wicket-poi-examples/pom.xml
+++ b/wicket-poi-parent/wicket-poi-examples/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicket-poi-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicket-poi-examples
diff --git a/wicket-poi-parent/wicket-poi/pom.xml b/wicket-poi-parent/wicket-poi/pom.xml
index 4af7efc915..8b36264584 100644
--- a/wicket-poi-parent/wicket-poi/pom.xml
+++ b/wicket-poi-parent/wicket-poi/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicket-poi-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-poi
diff --git a/wicket-security-parent/pom.xml b/wicket-security-parent/pom.xml
index 3a960f8164..b6a108b0f3 100644
--- a/wicket-security-parent/pom.xml
+++ b/wicket-security-parent/pom.xml
@@ -19,7 +19,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOT4.0.0wicket-security-parent
diff --git a/wicket-security-parent/swarm-parent/hive/pom.xml b/wicket-security-parent/swarm-parent/hive/pom.xml
index 333ad3e0f5..7652602619 100644
--- a/wicket-security-parent/swarm-parent/hive/pom.xml
+++ b/wicket-security-parent/swarm-parent/hive/pom.xml
@@ -20,7 +20,7 @@
org.wicketstuffwicket-security-swarm-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-security-hivejar
diff --git a/wicket-security-parent/swarm-parent/pom.xml b/wicket-security-parent/swarm-parent/pom.xml
index 5a987ec9f7..1162019045 100644
--- a/wicket-security-parent/swarm-parent/pom.xml
+++ b/wicket-security-parent/swarm-parent/pom.xml
@@ -20,7 +20,7 @@
org.wicketstuffwicket-security-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicket-security-swarm-parentpom
diff --git a/wicket-security-parent/swarm-parent/swarm/pom.xml b/wicket-security-parent/swarm-parent/swarm/pom.xml
index f3cd2ff213..a4c3c940b7 100644
--- a/wicket-security-parent/swarm-parent/swarm/pom.xml
+++ b/wicket-security-parent/swarm-parent/swarm/pom.xml
@@ -20,7 +20,7 @@
org.wicketstuffwicket-security-swarm-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-security-swarmjar
diff --git a/wicket-security-parent/wasp-parent/pom.xml b/wicket-security-parent/wasp-parent/pom.xml
index 3a174a64c4..b72bc7dc0d 100644
--- a/wicket-security-parent/wasp-parent/pom.xml
+++ b/wicket-security-parent/wasp-parent/pom.xml
@@ -20,7 +20,7 @@
org.wicketstuffwicket-security-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicket-security-wasp-parentpom
diff --git a/wicket-security-parent/wasp-parent/wasp/pom.xml b/wicket-security-parent/wasp-parent/wasp/pom.xml
index eee302bf22..68a2bd25db 100644
--- a/wicket-security-parent/wasp-parent/wasp/pom.xml
+++ b/wicket-security-parent/wasp-parent/wasp/pom.xml
@@ -20,7 +20,7 @@
org.wicketstuffwicket-security-wasp-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-security-waspjar
diff --git a/wicket-security-parent/wasp-parent/wicomsec/pom.xml b/wicket-security-parent/wasp-parent/wicomsec/pom.xml
index cf44a59edb..204a861888 100644
--- a/wicket-security-parent/wasp-parent/wicomsec/pom.xml
+++ b/wicket-security-parent/wasp-parent/wicomsec/pom.xml
@@ -20,7 +20,7 @@
org.wicketstuffwicket-security-wasp-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-security-wicomsecjar
diff --git a/wicket-servlet3-parent/pom.xml b/wicket-servlet3-parent/pom.xml
index f52cbf9737..50eeabf37b 100644
--- a/wicket-servlet3-parent/pom.xml
+++ b/wicket-servlet3-parent/pom.xml
@@ -7,7 +7,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-servlet3-parent
diff --git a/wicket-servlet3-parent/wicket-servlet3-auth/pom.xml b/wicket-servlet3-parent/wicket-servlet3-auth/pom.xml
index 441f0e48e3..44e8dacb0e 100644
--- a/wicket-servlet3-parent/wicket-servlet3-auth/pom.xml
+++ b/wicket-servlet3-parent/wicket-servlet3-auth/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffwicketstuff-servlet3-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-servlet3-auth
diff --git a/wicket-servlet3-parent/wicket-servlet3-examples/pom.xml b/wicket-servlet3-parent/wicket-servlet3-examples/pom.xml
index 91aa331a60..ec265d0511 100644
--- a/wicket-servlet3-parent/wicket-servlet3-examples/pom.xml
+++ b/wicket-servlet3-parent/wicket-servlet3-examples/pom.xml
@@ -7,7 +7,7 @@
org.wicketstuffwicketstuff-servlet3-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-servlet3-examples
diff --git a/wicketstuff-glassfish4-integration/pom.xml b/wicketstuff-glassfish4-integration/pom.xml
index 02786e08ab..741b5f5754 100644
--- a/wicketstuff-glassfish4-integration/pom.xml
+++ b/wicketstuff-glassfish4-integration/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-glassfish4-integrationjar
diff --git a/wicketstuff-lazymodel/pom.xml b/wicketstuff-lazymodel/pom.xml
index 8efff58efe..c2ce0becad 100644
--- a/wicketstuff-lazymodel/pom.xml
+++ b/wicketstuff-lazymodel/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-lazymodel
diff --git a/wicketstuff-logback-parent/pom.xml b/wicketstuff-logback-parent/pom.xml
index ca46146241..c0f273c6ee 100644
--- a/wicketstuff-logback-parent/pom.xml
+++ b/wicketstuff-logback-parent/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-logback-parent
diff --git a/wicketstuff-logback-parent/wicketstuff-logback-examples/pom.xml b/wicketstuff-logback-parent/wicketstuff-logback-examples/pom.xml
index 7150b73ba1..d81eb1a86c 100644
--- a/wicketstuff-logback-parent/wicketstuff-logback-examples/pom.xml
+++ b/wicketstuff-logback-parent/wicketstuff-logback-examples/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-logback-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-logback-examples
diff --git a/wicketstuff-logback-parent/wicketstuff-logback/pom.xml b/wicketstuff-logback-parent/wicketstuff-logback/pom.xml
index 8f30e23869..81b1d4e8db 100644
--- a/wicketstuff-logback-parent/wicketstuff-logback/pom.xml
+++ b/wicketstuff-logback-parent/wicketstuff-logback/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-logback-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-logback
diff --git a/wicketstuff-restannotations-parent/pom.xml b/wicketstuff-restannotations-parent/pom.xml
index 528d908c24..ae9e779da6 100644
--- a/wicketstuff-restannotations-parent/pom.xml
+++ b/wicketstuff-restannotations-parent/pom.xml
@@ -16,7 +16,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-restannotations-parent
diff --git a/wicketstuff-restannotations-parent/restannotations-examples/pom.xml b/wicketstuff-restannotations-parent/restannotations-examples/pom.xml
index e8ac888742..2d6fa4ef8e 100644
--- a/wicketstuff-restannotations-parent/restannotations-examples/pom.xml
+++ b/wicketstuff-restannotations-parent/restannotations-examples/pom.xml
@@ -17,7 +17,7 @@
wicketstuff-restannotations-parentorg.wicketstuff
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTorg.wicketstuff
diff --git a/wicketstuff-restannotations-parent/restannotations-json/pom.xml b/wicketstuff-restannotations-parent/restannotations-json/pom.xml
index fa54bf79eb..53f09fa9f0 100644
--- a/wicketstuff-restannotations-parent/restannotations-json/pom.xml
+++ b/wicketstuff-restannotations-parent/restannotations-json/pom.xml
@@ -17,7 +17,7 @@
wicketstuff-restannotations-parentorg.wicketstuff
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-restannotations-json
diff --git a/wicketstuff-restannotations-parent/restannotations/pom.xml b/wicketstuff-restannotations-parent/restannotations/pom.xml
index aef50bca28..83f775600f 100644
--- a/wicketstuff-restannotations-parent/restannotations/pom.xml
+++ b/wicketstuff-restannotations-parent/restannotations/pom.xml
@@ -17,7 +17,7 @@
wicketstuff-restannotations-parentorg.wicketstuff
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-restannotations
diff --git a/wicketstuff-selectize-parent/pom.xml b/wicketstuff-selectize-parent/pom.xml
index 5137ad79cc..1b68c3f224 100644
--- a/wicketstuff-selectize-parent/pom.xml
+++ b/wicketstuff-selectize-parent/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-selectize-parent
diff --git a/wicketstuff-selectize-parent/wicketstuff-selectize-examples/pom.xml b/wicketstuff-selectize-parent/wicketstuff-selectize-examples/pom.xml
index 425f919804..0fa23fa832 100644
--- a/wicketstuff-selectize-parent/wicketstuff-selectize-examples/pom.xml
+++ b/wicketstuff-selectize-parent/wicketstuff-selectize-examples/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-selectize-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-selectize-examples
diff --git a/wicketstuff-selectize-parent/wicketstuff-selectize/pom.xml b/wicketstuff-selectize-parent/wicketstuff-selectize/pom.xml
index 3ad11fcd7a..762ecb7ea4 100644
--- a/wicketstuff-selectize-parent/wicketstuff-selectize/pom.xml
+++ b/wicketstuff-selectize-parent/wicketstuff-selectize/pom.xml
@@ -6,7 +6,7 @@
org.wicketstuffwicketstuff-selectize-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-selectize
diff --git a/wicketstuff-springreference-parent/pom.xml b/wicketstuff-springreference-parent/pom.xml
index 334a7011d4..65b88866eb 100644
--- a/wicketstuff-springreference-parent/pom.xml
+++ b/wicketstuff-springreference-parent/pom.xml
@@ -7,7 +7,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-springreference-parent
diff --git a/wicketstuff-springreference-parent/wicketstuff-springreference-examples/pom.xml b/wicketstuff-springreference-parent/wicketstuff-springreference-examples/pom.xml
index b2a76ea648..c44aef682d 100644
--- a/wicketstuff-springreference-parent/wicketstuff-springreference-examples/pom.xml
+++ b/wicketstuff-springreference-parent/wicketstuff-springreference-examples/pom.xml
@@ -7,7 +7,7 @@
org.wicketstuffwicketstuff-springreference-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-springreference-examples
diff --git a/wicketstuff-springreference-parent/wicketstuff-springreference/pom.xml b/wicketstuff-springreference-parent/wicketstuff-springreference/pom.xml
index 4379957aa9..d3e2faa728 100644
--- a/wicketstuff-springreference-parent/wicketstuff-springreference/pom.xml
+++ b/wicketstuff-springreference-parent/wicketstuff-springreference/pom.xml
@@ -7,7 +7,7 @@
org.wicketstuffwicketstuff-springreference-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-springreference
diff --git a/yui-parent/pom.xml b/yui-parent/pom.xml
index 771a311b8e..a16004cc78 100644
--- a/yui-parent/pom.xml
+++ b/yui-parent/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffwicketstuff-core
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOTwicketstuff-yui-parent
diff --git a/yui-parent/yui-calendar/pom.xml b/yui-parent/yui-calendar/pom.xml
index cd681e5f64..44bea27cb9 100644
--- a/yui-parent/yui-calendar/pom.xml
+++ b/yui-parent/yui-calendar/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffwicketstuff-yui-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOT4.0.0
diff --git a/yui-parent/yui-common/pom.xml b/yui-parent/yui-common/pom.xml
index cee864f0f0..9c10bbbabc 100644
--- a/yui-parent/yui-common/pom.xml
+++ b/yui-parent/yui-common/pom.xml
@@ -5,7 +5,7 @@
org.wicketstuffwicketstuff-yui-parent
- 7.4.0-SNAPSHOT
+ 8.0.0-SNAPSHOT4.0.0
From 1e837240b060c443cc89306f3b25f58776b1a582 Mon Sep 17 00:00:00 2001
From: Martin Tzvetanov Grigorov
Date: Sat, 16 Jul 2016 11:16:15 +0200
Subject: [PATCH 014/182] [annotationeventdispatcher] Fix the build against
Wicket 8.x
---
.../event/annotation/AnnotationEventSink.java | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/annotationeventdispatcher-parent/annotationeventdispatcher/src/main/java/org/wicketstuff/event/annotation/AnnotationEventSink.java b/annotationeventdispatcher-parent/annotationeventdispatcher/src/main/java/org/wicketstuff/event/annotation/AnnotationEventSink.java
index 90d4b14c46..337cba5790 100644
--- a/annotationeventdispatcher-parent/annotationeventdispatcher/src/main/java/org/wicketstuff/event/annotation/AnnotationEventSink.java
+++ b/annotationeventdispatcher-parent/annotationeventdispatcher/src/main/java/org/wicketstuff/event/annotation/AnnotationEventSink.java
@@ -29,7 +29,7 @@
import org.apache.wicket.Application;
import org.apache.wicket.Component;
import org.apache.wicket.event.IEvent;
-import org.apache.wicket.request.RequestHandlerStack.ReplaceHandlerException;
+import org.apache.wicket.request.RequestHandlerExecutor;
import org.apache.wicket.util.collections.ClassMetaCache;
import org.apache.wicket.util.visit.Visit;
@@ -135,7 +135,7 @@ private void onEvent(final Set onEventMethods, final Object sink, final
{
for (Method method : onEventMethods)
{
- if (canCallListenerInterface(sink, method))
+ if (canCallListenerInterface(sink))
{
OnEvent onEvent = method.getAnnotation(OnEvent.class);
if (isPayloadApplicableToHandler(onEvent, payload))
@@ -164,9 +164,9 @@ else if (onEvent.stop())
}
} catch (InvocationTargetException e)
{
- if (e.getCause() instanceof ReplaceHandlerException)
+ if (e.getCause() instanceof RequestHandlerExecutor.ReplaceHandlerException)
{
- throw ((ReplaceHandlerException)e.getCause());
+ throw ((RequestHandlerExecutor.ReplaceHandlerException)e.getCause());
}
else
{
@@ -178,13 +178,13 @@ else if (onEvent.stop())
}
}
- private boolean canCallListenerInterface(final Object obj, final Method method)
+ private boolean canCallListenerInterface(final Object obj)
{
boolean canCall = true;
if (obj instanceof Component)
{
Component c = (Component) obj;
- canCall = c.canCallListenerInterface(method);
+ canCall = c.canCallListenerInterface();
}
return canCall;
}
From f7933ae44107ff6cacc5cec5a79f67afb5694259 Mon Sep 17 00:00:00 2001
From: Martin Tzvetanov Grigorov
Date: Sat, 16 Jul 2016 11:23:03 +0200
Subject: [PATCH 015/182] [async-tasks] Fix the build against Wicket 8.x
---
.../async/components/ProgressButton.java | 37 ++++++++++---------
.../async/components/TestPage.java | 9 +++--
2 files changed, 24 insertions(+), 22 deletions(-)
diff --git a/async-tasks-parent/async-tasks-impl/src/main/java/org/wicketstuff/async/components/ProgressButton.java b/async-tasks-parent/async-tasks-impl/src/main/java/org/wicketstuff/async/components/ProgressButton.java
index 670c79df66..3562a9b08c 100644
--- a/async-tasks-parent/async-tasks-impl/src/main/java/org/wicketstuff/async/components/ProgressButton.java
+++ b/async-tasks-parent/async-tasks-impl/src/main/java/org/wicketstuff/async/components/ProgressButton.java
@@ -5,6 +5,7 @@
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
+import java.util.Optional;
import org.apache.wicket.Component;
import org.apache.wicket.Page;
@@ -129,24 +130,24 @@ boolean canInterrupt() {
}
@Override
- protected void onSubmit(AjaxRequestTarget target, Form> form) {
- super.onSubmit(target, form);
+ protected void onSubmit(Optional targetOptional) {
+ super.onSubmit(targetOptional);
if (canStart() || canRestart()) {
getTaskContainer().submit(runnableFactory.getRunnable());
- onTaskStart(target);
+ onTaskStart(targetOptional);
} else if (canInterrupt()) {
getTaskContainer().cancel();
} else {
return;
}
- if (target != null) {
+ targetOptional.ifPresent(target -> {
activateRefresh(target);
renderAll(target);
- }
+ });
- concludeIfApplicable(target);
+ concludeIfApplicable(targetOptional);
}
private void activateRefresh(AjaxRequestTarget target) {
@@ -167,21 +168,21 @@ private void activateRefresh(AjaxRequestTarget target) {
* @param target The Ajax request target.
*/
protected void refresh(AjaxRequestTarget target) {
- concludeIfApplicable(target);
+ concludeIfApplicable(Optional.of(target));
renderAll(target);
}
- private void concludeIfApplicable(AjaxRequestTarget target) {
+ private void concludeIfApplicable(Optional targetOptional) {
if (!getTaskContainer().isRunning()) {
- if (target != null) {
+ targetOptional.ifPresent(target -> {
refreshBehavior.stop(target);
- }
+ });
if (getTaskContainer().isFailed()) {
- onTaskError(target);
+ onTaskError(targetOptional);
} else if (!getTaskContainer().isCancelled()) {
- onTaskSuccess(target);
+ onTaskSuccess(targetOptional);
} else {
- onTaskCancel(target);
+ onTaskCancel(targetOptional);
}
}
}
@@ -209,7 +210,7 @@ protected void onTimer(AjaxRequestTarget target) {
}
@Override
- public boolean canCallListenerInterface(Component component, Method method) {
+ public boolean canCallListenerInterface(Component component) {
// Skip check for the component being enabled
return component.isVisibleInHierarchy();
}
@@ -357,7 +358,7 @@ public void removeRefreshDependant(Component refreshDependant) {
*
* @param ajaxRequestTarget The Ajax request target. Might be {@code null}.
*/
- protected void onTaskStart(AjaxRequestTarget ajaxRequestTarget) {
+ protected void onTaskStart(Optional ajaxRequestTarget) {
}
/**
@@ -367,7 +368,7 @@ protected void onTaskStart(AjaxRequestTarget ajaxRequestTarget) {
*
* @param ajaxRequestTarget The Ajax request target.
*/
- protected void onTaskSuccess(AjaxRequestTarget ajaxRequestTarget) {
+ protected void onTaskSuccess(Optional ajaxRequestTarget) {
}
/**
@@ -377,7 +378,7 @@ protected void onTaskSuccess(AjaxRequestTarget ajaxRequestTarget) {
*
* @param ajaxRequestTarget The Ajax request target. Might be {@code null}.
*/
- protected void onTaskCancel(AjaxRequestTarget ajaxRequestTarget) {
+ protected void onTaskCancel(Optional ajaxRequestTarget) {
}
/**
@@ -387,6 +388,6 @@ protected void onTaskCancel(AjaxRequestTarget ajaxRequestTarget) {
*
* @param ajaxRequestTarget The Ajax request target.
*/
- protected void onTaskError(AjaxRequestTarget ajaxRequestTarget) {
+ protected void onTaskError(Optional ajaxRequestTarget) {
}
}
diff --git a/async-tasks-parent/async-tasks-impl/src/test/java/org/wicketstuff/async/components/TestPage.java b/async-tasks-parent/async-tasks-impl/src/test/java/org/wicketstuff/async/components/TestPage.java
index 248b4b42b0..33040708f9 100644
--- a/async-tasks-parent/async-tasks-impl/src/test/java/org/wicketstuff/async/components/TestPage.java
+++ b/async-tasks-parent/async-tasks-impl/src/test/java/org/wicketstuff/async/components/TestPage.java
@@ -1,5 +1,6 @@
package org.wicketstuff.async.components;
+import java.util.Optional;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
@@ -29,22 +30,22 @@ public TestPage() {
form = new Form("form");
button = new ProgressButton("button", form, Model.of(taskContainer), this, Duration.milliseconds(300L)) {
@Override
- protected void onTaskStart(AjaxRequestTarget ajaxRequestTarget) {
+ protected void onTaskStart(Optional ajaxRequestTarget) {
taskStart = true;
}
@Override
- protected void onTaskSuccess(AjaxRequestTarget ajaxRequestTarget) {
+ protected void onTaskSuccess(Optional ajaxRequestTarget) {
taskSuccess = true;
}
@Override
- protected void onTaskCancel(AjaxRequestTarget ajaxRequestTarget) {
+ protected void onTaskCancel(Optional ajaxRequestTarget) {
taskCancel = true;
}
@Override
- protected void onTaskError(AjaxRequestTarget ajaxRequestTarget) {
+ protected void onTaskError(Optional ajaxRequestTarget) {
taskError = true;
}
};
From e9f81573c74e6691f8e0ceb7fc35564d228b2f37 Mon Sep 17 00:00:00 2001
From: Martin Tzvetanov Grigorov
Date: Sat, 16 Jul 2016 11:25:32 +0200
Subject: [PATCH 016/182] [gae-initializer] Fix build against Wicket 8.x
---
.../main/java/org/wicketstuff/gae/GaePageManagerProvider.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gae-initializer-parent/gae-initializer/src/main/java/org/wicketstuff/gae/GaePageManagerProvider.java b/gae-initializer-parent/gae-initializer/src/main/java/org/wicketstuff/gae/GaePageManagerProvider.java
index 774f9a9cb7..0e014e5f91 100644
--- a/gae-initializer-parent/gae-initializer/src/main/java/org/wicketstuff/gae/GaePageManagerProvider.java
+++ b/gae-initializer-parent/gae-initializer/src/main/java/org/wicketstuff/gae/GaePageManagerProvider.java
@@ -29,7 +29,7 @@ public GaePageManagerProvider(Application application,
}
@Override
- public IPageManager get(IPageManagerContext pageManagerContext)
+ public IPageManager apply(IPageManagerContext pageManagerContext)
{
IDataStore dataStore = new HttpSessionDataStore(pageManagerContext, evictionStrategy);
From e98f440793cf75ce78af25e8af2712bbe01fd1d0 Mon Sep 17 00:00:00 2001
From: Martin Tzvetanov Grigorov
Date: Sat, 16 Jul 2016 11:38:25 +0200
Subject: [PATCH 017/182] [gmap3] Fix GMap3 build against Wicket 8.x
---
.../examples/gmap/geocode/HomePage.java | 2 +-
.../examples/gmap/many/ManyPage.java | 11 +-
.../examples/gmap/many/ManyPanel.java | 11 +-
.../main/java/org/wicketstuff/gmap/GMap.java | 183 +++++++++---------
.../org/wicketstuff/gmap/api/GInfoWindow.java | 9 +-
.../org/wicketstuff/gmap/api/GMarker.java | 12 +-
.../org/wicketstuff/gmap/api/GOverlay.java | 20 +-
7 files changed, 123 insertions(+), 125 deletions(-)
diff --git a/gmap3-parent/gmap3-examples/src/main/java/org/wicketstuff/examples/gmap/geocode/HomePage.java b/gmap3-parent/gmap3-examples/src/main/java/org/wicketstuff/examples/gmap/geocode/HomePage.java
index f19090a477..4db4af5897 100644
--- a/gmap3-parent/gmap3-examples/src/main/java/org/wicketstuff/examples/gmap/geocode/HomePage.java
+++ b/gmap3-parent/gmap3-examples/src/main/java/org/wicketstuff/examples/gmap/geocode/HomePage.java
@@ -72,7 +72,7 @@ public void onGeoCode(AjaxRequestTarget target, GeocoderStatus status, String ad
private static final long serialVersionUID = 1L;
@Override
- protected void onSubmit(AjaxRequestTarget target, Form> form)
+ protected void onSubmit(AjaxRequestTarget target)
{
try
{
diff --git a/gmap3-parent/gmap3-examples/src/main/java/org/wicketstuff/examples/gmap/many/ManyPage.java b/gmap3-parent/gmap3-examples/src/main/java/org/wicketstuff/examples/gmap/many/ManyPage.java
index bbb23ce1ca..ec4ac84917 100644
--- a/gmap3-parent/gmap3-examples/src/main/java/org/wicketstuff/examples/gmap/many/ManyPage.java
+++ b/gmap3-parent/gmap3-examples/src/main/java/org/wicketstuff/examples/gmap/many/ManyPage.java
@@ -1,5 +1,7 @@
package org.wicketstuff.examples.gmap.many;
+import java.util.Optional;
+
import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.ajax.markup.html.AjaxFallbackLink;
import org.apache.wicket.markup.html.WebMarkupContainer;
@@ -24,14 +26,11 @@ public ManyPage()
private static final long serialVersionUID = 1L;
@Override
- public void onClick(AjaxRequestTarget target)
+ public void onClick(Optional target)
{
ManyPage.this.addPanel();
- if (target != null)
- {
- target.add(container);
- }
+ target.ifPresent(t -> t.add(container));
}
};
add(create);
@@ -70,4 +69,4 @@ protected void closing(AjaxRequestTarget target)
};
repeating.add(newPanel);
}
-}
\ No newline at end of file
+}
diff --git a/gmap3-parent/gmap3-examples/src/main/java/org/wicketstuff/examples/gmap/many/ManyPanel.java b/gmap3-parent/gmap3-examples/src/main/java/org/wicketstuff/examples/gmap/many/ManyPanel.java
index 011b0658f3..5419c1f5fb 100644
--- a/gmap3-parent/gmap3-examples/src/main/java/org/wicketstuff/examples/gmap/many/ManyPanel.java
+++ b/gmap3-parent/gmap3-examples/src/main/java/org/wicketstuff/examples/gmap/many/ManyPanel.java
@@ -1,11 +1,10 @@
package org.wicketstuff.examples.gmap.many;
import org.apache.wicket.ajax.AjaxRequestTarget;
-import org.apache.wicket.ajax.markup.html.AjaxFallbackLink;
+import org.apache.wicket.ajax.markup.html.AjaxLink;
import org.apache.wicket.markup.html.WebMarkupContainer;
import org.apache.wicket.markup.html.panel.Panel;
import org.wicketstuff.gmap.GMap;
-import org.wicketstuff.gmap.GMap.PanDirectionBehavior;
import org.wicketstuff.gmap.api.GMapType;
public abstract class ManyPanel extends Panel
@@ -22,7 +21,7 @@ public ManyPanel(String id)
gMap.setZoom(7);
gMap.setOutputMarkupId(true);
add(gMap);
- final AjaxFallbackLink normal = new AjaxFallbackLink("normal")
+ final AjaxLink normal = new AjaxLink("normal")
{
private static final long serialVersionUID = 1L;
@@ -33,7 +32,7 @@ public void onClick(AjaxRequestTarget target)
}
};
add(normal);
- final AjaxFallbackLink satellite = new AjaxFallbackLink("satellite")
+ final AjaxLink satellite = new AjaxLink("satellite")
{
private static final long serialVersionUID = 1L;
@@ -44,7 +43,7 @@ public void onClick(AjaxRequestTarget target)
}
};
add(satellite);
- final AjaxFallbackLink hybrid = new AjaxFallbackLink("hybrid")
+ final AjaxLink hybrid = new AjaxLink("hybrid")
{
private static final long serialVersionUID = 1L;
@@ -81,7 +80,7 @@ public void onClick(AjaxRequestTarget target)
w.add(gMap.new PanDirectionBehavior("onclick", 1, 0));
nw.add(gMap.new PanDirectionBehavior("onclick", 1, 1));
- AjaxFallbackLink
*
- * @return
+ * @return options {@link Map} created
*/
protected Map getOptions()
{
@@ -104,8 +104,8 @@ protected Map getOptions()
* This is where you can grab the URL query and fragment parameters, your site was requested
* with. You can use {@link #urlFragment()} inside this method.
*
- * @param requestParameters
- * @param target
+ * @param requestParameters parameters set on this page
+ * @param target {@link AjaxRequestTarget} can be used for page updating
*/
protected abstract void onParameterIncome(IRequestParameters requestParameters,
AjaxRequestTarget target);
@@ -151,7 +151,7 @@ public void renderHead(IHeaderResponse response)
* Returns a {@link UrlFragment} connected to the current {@link AjaxRequestTarget}. Use the
* {@link UrlFragment} to update the URL fragment in the browser after the current AJAX event.
*
- * @return
+ * @return created {@link UrlFragment} for chaining
*/
protected UrlFragment urlFragment()
{
diff --git a/urlfragment-parent/urlfragment/src/main/java/org/wicketstuff/urlfragment/BookmarkableAjaxButton.java b/urlfragment-parent/urlfragment/src/main/java/org/wicketstuff/urlfragment/BookmarkableAjaxButton.java
index 73bc3a07b8..46ef82c215 100644
--- a/urlfragment-parent/urlfragment/src/main/java/org/wicketstuff/urlfragment/BookmarkableAjaxButton.java
+++ b/urlfragment-parent/urlfragment/src/main/java/org/wicketstuff/urlfragment/BookmarkableAjaxButton.java
@@ -23,7 +23,7 @@
/**
* This is an {@link AjaxButton} with the ability to set and remove URL fragment parameters.
*
- * You can set or remove parameters using {@link #setFragmentParameter(String, String)} or
+ * You can set or remove parameters using {@link #setFragmentParameter(String, Object)} or
* {@link #removeFragmentParameter(String)} during your handling of the submit and error event.
*
*
@@ -73,16 +73,14 @@ protected void onError(AjaxRequestTarget target)
/**
* Override to handle the submit event. You can use {@link #urlFragment()} inside this method.
*
- * @param target
- * @param form
+ * @param target {@link AjaxRequestTarget} can be used to perform update
*/
protected abstract void onBookmarkableSubmit(AjaxRequestTarget target);
/**
* Override to handle the error event. You can use {@link #urlFragment()} inside this method.
*
- * @param target
- * @param form
+ * @param target {@link AjaxRequestTarget} can be used to perform update
*/
protected abstract void onBookmarkableError(AjaxRequestTarget target);
@@ -120,7 +118,7 @@ public void removeFragmentParameter(String parameterName)
* Returns a {@link UrlFragment} connected to the current {@link AjaxRequestTarget}. Use the
* {@link UrlFragment} to update the URL fragment in the browser after the current AJAX event.
*
- * @return
+ * @return created {@link UrlFragment} for chaining
*/
protected UrlFragment urlFragment()
{
diff --git a/urlfragment-parent/urlfragment/src/main/java/org/wicketstuff/urlfragment/BookmarkableAjaxLink.java b/urlfragment-parent/urlfragment/src/main/java/org/wicketstuff/urlfragment/BookmarkableAjaxLink.java
index b5b242f22b..67d2eb823d 100644
--- a/urlfragment-parent/urlfragment/src/main/java/org/wicketstuff/urlfragment/BookmarkableAjaxLink.java
+++ b/urlfragment-parent/urlfragment/src/main/java/org/wicketstuff/urlfragment/BookmarkableAjaxLink.java
@@ -24,12 +24,12 @@
*
* You can provide a default parameter to the constructors so it will be set automatically during
* event handling. You can also set or remove parameters by yourself using
- * {@link #setFragmentParameter(String, String)} or {@link #removeFragmentParameter(String)}.
+ * {@link #setFragmentParameter(String, Object)} or {@link #removeFragmentParameter(String)}.
*
*
* @author Martin Knopf
*
- * @param
+ * @param the type of Model object
*/
public abstract class BookmarkableAjaxLink extends AjaxLink implements IBookmarkableComponent
{
@@ -43,7 +43,7 @@ public abstract class BookmarkableAjaxLink extends AjaxLink implements IBo
/**
* Constructor.
*
- * @param id
+ * @param id id of the link being created
*/
public BookmarkableAjaxLink(String id)
{
@@ -53,8 +53,8 @@ public BookmarkableAjaxLink(String id)
/**
* Constructor.
*
- * @param id
- * @param model
+ * @param id id of the link being created
+ * @param model {@link IModel} to be set as model object
*/
public BookmarkableAjaxLink(String id, IModel model)
{
@@ -65,9 +65,9 @@ public BookmarkableAjaxLink(String id, IModel model)
* Constructor. Sets given URL fragment parameter in the browser during the click event. Be
* aware that the given parameter name and value will not be set if they are empty.
*
- * @param id
- * @param parameterName
- * @param parameterValue
+ * @param id id of the link being created
+ * @param parameterName the name of the default parameter for this link
+ * @param parameterValue the value of the default parameter for this link
*/
public BookmarkableAjaxLink(String id, String parameterName, String parameterValue)
{
@@ -81,10 +81,10 @@ public BookmarkableAjaxLink(String id, String parameterName, String parameterVal
* the given parameter name and value will not be set if either one is empty and that the
* parameter will be overwritten if it already exists.
*
- * @param id
- * @param model
- * @param parameterName
- * @param parameterValue
+ * @param id id of the link being created
+ * @param model {@link IModel} to be set as model object
+ * @param parameterName the name of the default parameter for this link
+ * @param parameterValue the value of the default parameter for this link
*/
public BookmarkableAjaxLink(String id, IModel model, String parameterName,
String parameterValue)
@@ -110,7 +110,7 @@ public void onClick(AjaxRequestTarget target)
* Handles the click event. Your default URL fragment parameter was already set automatically if
* it wasn't empty. You can use {@link #urlFragment()} inside this method.
*
- * @param target
+ * @param target {@link AjaxRequestTarget} can be used to perform update
*/
public abstract void onBookmarkableClick(AjaxRequestTarget target);
@@ -148,7 +148,7 @@ public void removeFragmentParameter(String parameterName)
* Returns a {@link UrlFragment} connected to the current {@link AjaxRequestTarget}. Use the
* {@link UrlFragment} to update the URL fragment in the browser after the current AJAX event.
*
- * @return
+ * @return created {@link UrlFragment} for chaining
*/
protected UrlFragment urlFragment()
{
diff --git a/urlfragment-parent/urlfragment/src/main/java/org/wicketstuff/urlfragment/CrawlableAsyncUrlFragmentAwarePage.java b/urlfragment-parent/urlfragment/src/main/java/org/wicketstuff/urlfragment/CrawlableAsyncUrlFragmentAwarePage.java
index 0074cc0d48..e6a60a8785 100644
--- a/urlfragment-parent/urlfragment/src/main/java/org/wicketstuff/urlfragment/CrawlableAsyncUrlFragmentAwarePage.java
+++ b/urlfragment-parent/urlfragment/src/main/java/org/wicketstuff/urlfragment/CrawlableAsyncUrlFragmentAwarePage.java
@@ -59,7 +59,7 @@ protected void onInitialize()
* '_escaped_fragment_' URL query parameter. All escaped URL fragment parameters were put in the
* given {@link PageParameters}.
*
- * @param parameters
+ * @param parameters {@link PageParameters} received
*/
protected abstract void onEscapedFragmentIncome(PageParameters parameters);
}
diff --git a/urlfragment-parent/urlfragment/src/main/java/org/wicketstuff/urlfragment/UrlFragment.java b/urlfragment-parent/urlfragment/src/main/java/org/wicketstuff/urlfragment/UrlFragment.java
index e8ad74872b..d3e76c4e4c 100644
--- a/urlfragment-parent/urlfragment/src/main/java/org/wicketstuff/urlfragment/UrlFragment.java
+++ b/urlfragment-parent/urlfragment/src/main/java/org/wicketstuff/urlfragment/UrlFragment.java
@@ -34,8 +34,8 @@ public UrlFragment(IPartialPageRequestHandler handler)
/**
* Sets the value of window.location.hash to the given String.
*
- * @param urlFragment
- * @return
+ * @param urlFragment JS function to handle location hash
+ * @return this for chaining
*/
public UrlFragment set(Object urlFragment)
{
@@ -48,9 +48,9 @@ public UrlFragment set(Object urlFragment)
/**
* Sets the value of window.location.hash to the given key-value-pair.
*
- * @param parameterName
- * @param parameterValue
- * @return
+ * @param parameterName the name to be set
+ * @param parameterValue the value of the parameter being set
+ * @return this for chaining
*/
public UrlFragment set(String parameterName, Object parameterValue)
{
@@ -63,9 +63,9 @@ public UrlFragment set(String parameterName, Object parameterValue)
/**
* Puts the given key-value-pair into window.location.hash.
*
- * @param parameterName
- * @param parameterValue
- * @return
+ * @param parameterName the name to be set
+ * @param parameterValue the value of the parameter being set
+ * @return this for chaining
*/
public UrlFragment putParameter(String parameterName, Object parameterValue)
{
@@ -79,10 +79,10 @@ public UrlFragment putParameter(String parameterName, Object parameterValue)
* Puts the given key-value-pair into window.location.hash. If the key already exists the value
* will be appended to the existing value with the given delimiter.
*
- * @param parameterName
- * @param parameterValue
- * @param valueDelimiter
- * @return
+ * @param parameterName the name to be set
+ * @param parameterValue the value of the parameter being set
+ * @param valueDelimiter parameter value delimiter to set multiple values
+ * @return this for chaining
*/
public UrlFragment putParameter(String parameterName, Object parameterValue,
String valueDelimiter)
@@ -97,8 +97,8 @@ public UrlFragment putParameter(String parameterName, Object parameterValue,
* Removes the key-value-pair from window.location.hash that is identified by the given
* parameter name.
*
- * @param parameterName
- * @return
+ * @param parameterName the name to be removed
+ * @return this for chaining
*/
public UrlFragment removeParameter(String parameterName)
{
diff --git a/urlfragment-parent/urlfragment/src/main/java/org/wicketstuff/urlfragment/UrlParametersReceivingBehavior.java b/urlfragment-parent/urlfragment/src/main/java/org/wicketstuff/urlfragment/UrlParametersReceivingBehavior.java
index df668e243f..bf52cc8576 100644
--- a/urlfragment-parent/urlfragment/src/main/java/org/wicketstuff/urlfragment/UrlParametersReceivingBehavior.java
+++ b/urlfragment-parent/urlfragment/src/main/java/org/wicketstuff/urlfragment/UrlParametersReceivingBehavior.java
@@ -150,7 +150,7 @@ protected abstract void onParameterArrival(IRequestParameters requestParameters,
*
* @param scope
* the scope of the {@link PackageResourceReference}
- * @return
+ * @return {@link HeaderItem} for chaining
*/
protected static HeaderItem getJS(Class> scope)
{
From 14bd24f0c17faf98a30d6087ada37358cc0146ca Mon Sep 17 00:00:00 2001
From: Martin Tzvetanov Grigorov
Date: Sun, 17 Jul 2016 11:49:26 +0200
Subject: [PATCH 024/182] [input-events] Fix build against Wicket 8.x
---
.../src/main/java/inputexample/HomePage.java | 19 ++-----------------
1 file changed, 2 insertions(+), 17 deletions(-)
diff --git a/input-events-parent/input-events-examples/src/main/java/inputexample/HomePage.java b/input-events-parent/input-events-examples/src/main/java/inputexample/HomePage.java
index 466157a799..7832a3bfcb 100644
--- a/input-events-parent/input-events-examples/src/main/java/inputexample/HomePage.java
+++ b/input-events-parent/input-events-examples/src/main/java/inputexample/HomePage.java
@@ -13,7 +13,6 @@
import org.apache.wicket.model.Model;
import org.apache.wicket.model.PropertyModel;
import org.apache.wicket.request.mapper.parameter.PageParameters;
-
import wicket.contrib.input.events.EventType;
import wicket.contrib.input.events.InputBehavior;
import wicket.contrib.input.events.key.KeyType;
@@ -144,16 +143,11 @@ protected Boolean getDisable_in_input()
private static final long serialVersionUID = 1L;
@Override
- public void onSubmit(AjaxRequestTarget target, Form> form)
+ public void onSubmit(AjaxRequestTarget target)
{
counter++;
target.add(counterLabel);
}
-
- @Override
- protected void onError(AjaxRequestTarget target, Form> form)
- {
- }
};
increaseButton.add(new InputBehavior(new KeyType[] { KeyType.Up }, EventType.click));
ajaxContainer.add(increaseButton);
@@ -164,19 +158,10 @@ protected void onError(AjaxRequestTarget target, Form> form)
private static final long serialVersionUID = 1L;
@Override
- protected void onSubmit(AjaxRequestTarget target, Form> form)
+ protected void onSubmit(AjaxRequestTarget target)
{
- if (target == null)
- {
- throw new NullPointerException("This must be an AJAX request.");
- }
target.add(ajaxContainer);
}
-
- @Override
- protected void onError(AjaxRequestTarget target, Form> form)
- {
- }
};
ajaxContainer.add(refreshButton);
}
From a410009c98eea89b9814cd1e54316ecc18c46850 Mon Sep 17 00:00:00 2001
From: Martin Tzvetanov Grigorov
Date: Sun, 17 Jul 2016 11:52:18 +0200
Subject: [PATCH 025/182] [jquery] Fix build against Wicket 8.x
---
.../main/java/org/wicketstuff/jquery/dnd/DnDBehaviour.java | 4 ++--
.../java/org/wicketstuff/jquery/dnd/DnDSortableBehavior.java | 3 +--
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/jquery-parent/jquery/src/main/java/org/wicketstuff/jquery/dnd/DnDBehaviour.java b/jquery-parent/jquery/src/main/java/org/wicketstuff/jquery/dnd/DnDBehaviour.java
index 24c9187149..340ad0fc1e 100644
--- a/jquery-parent/jquery/src/main/java/org/wicketstuff/jquery/dnd/DnDBehaviour.java
+++ b/jquery-parent/jquery/src/main/java/org/wicketstuff/jquery/dnd/DnDBehaviour.java
@@ -1,9 +1,9 @@
package org.wicketstuff.jquery.dnd;
import org.apache.wicket.Component;
+import org.apache.wicket.IRequestListener;
import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.ajax.attributes.AjaxRequestAttributes;
-import org.apache.wicket.behavior.IBehaviorListener;
import org.apache.wicket.markup.head.IHeaderResponse;
import org.apache.wicket.markup.head.JavaScriptHeaderItem;
import org.apache.wicket.request.Request;
@@ -16,7 +16,7 @@
* This implementation is really too simple, only supporting one drop-container etc, but it is an ok
* startingpoint to extend the functionality.
*/
-public class DnDBehaviour extends JQueryBehavior implements IBehaviorListener
+public class DnDBehaviour extends JQueryBehavior
{
private static final long serialVersionUID = 1L;
private Options droppableOptions;
diff --git a/jquery-parent/jquery/src/main/java/org/wicketstuff/jquery/dnd/DnDSortableBehavior.java b/jquery-parent/jquery/src/main/java/org/wicketstuff/jquery/dnd/DnDSortableBehavior.java
index f1333cea45..7ca37c21f8 100644
--- a/jquery-parent/jquery/src/main/java/org/wicketstuff/jquery/dnd/DnDSortableBehavior.java
+++ b/jquery-parent/jquery/src/main/java/org/wicketstuff/jquery/dnd/DnDSortableBehavior.java
@@ -23,7 +23,6 @@
import org.apache.wicket.MarkupContainer;
import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.behavior.AttributeAppender;
-import org.apache.wicket.behavior.IBehaviorListener;
import org.apache.wicket.markup.head.IHeaderResponse;
import org.apache.wicket.markup.head.JavaScriptHeaderItem;
import org.apache.wicket.markup.head.StringHeaderItem;
@@ -38,7 +37,7 @@
// TODO: disable callback to serverside if clientsideonly
@SuppressWarnings("serial")
-public class DnDSortableBehavior extends JQueryBehavior implements IBehaviorListener
+public class DnDSortableBehavior extends JQueryBehavior
{
public static final ResourceReference DNDSORTABLEBEHAVIOR_JS = new PackageResourceReference(
DnDSortableBehavior.class, DnDSortableBehavior.class.getSimpleName() + ".js");
From 33f82786e38faaf10100f846f1d4fdbf899f4adb Mon Sep 17 00:00:00 2001
From: Martin Tzvetanov Grigorov
Date: Sun, 17 Jul 2016 12:05:59 +0200
Subject: [PATCH 026/182] [jwicket] Fix build against Wicket 8.x
---
.../jwicket/demo/DraggableElement.java | 4 +-
.../wicketstuff/jwicket/demo/TestPage.java | 45 ++++++++++++-------
2 files changed, 32 insertions(+), 17 deletions(-)
diff --git a/jwicket-parent/jwicket-examples/src/main/java/org/wicketstuff/jwicket/demo/DraggableElement.java b/jwicket-parent/jwicket-examples/src/main/java/org/wicketstuff/jwicket/demo/DraggableElement.java
index 1e68e31d67..e1f19762b6 100644
--- a/jwicket-parent/jwicket-examples/src/main/java/org/wicketstuff/jwicket/demo/DraggableElement.java
+++ b/jwicket-parent/jwicket-examples/src/main/java/org/wicketstuff/jwicket/demo/DraggableElement.java
@@ -2,7 +2,7 @@
import org.apache.wicket.ajax.AjaxRequestTarget;
-import org.apache.wicket.ajax.markup.html.AjaxFallbackLink;
+import org.apache.wicket.ajax.markup.html.AjaxLink;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.model.IModel;
import org.apache.wicket.model.Model;
@@ -85,7 +85,7 @@ public DraggableElement(final String id, final IModel model) {
}
- private class DraggableLink extends AjaxFallbackLink implements IDraggable {
+ private class DraggableLink extends AjaxLink implements IDraggable {
private static final long serialVersionUID = 1L;
private boolean ignoreClick = false;
diff --git a/jwicket-parent/jwicket-examples/src/main/java/org/wicketstuff/jwicket/demo/TestPage.java b/jwicket-parent/jwicket-examples/src/main/java/org/wicketstuff/jwicket/demo/TestPage.java
index 551cb1de09..9da457a53b 100644
--- a/jwicket-parent/jwicket-examples/src/main/java/org/wicketstuff/jwicket/demo/TestPage.java
+++ b/jwicket-parent/jwicket-examples/src/main/java/org/wicketstuff/jwicket/demo/TestPage.java
@@ -1,12 +1,17 @@
package org.wicketstuff.jwicket.demo;
+import java.text.SimpleDateFormat;
+import java.util.ArrayList;
+import java.util.Calendar;
+import java.util.Date;
+import java.util.List;
+
import org.apache.wicket.Application;
import org.apache.wicket.AttributeModifier;
import org.apache.wicket.Component;
import org.apache.wicket.WicketRuntimeException;
import org.apache.wicket.ajax.AjaxRequestTarget;
-import org.apache.wicket.ajax.markup.html.AjaxFallbackLink;
import org.apache.wicket.ajax.markup.html.AjaxLink;
import org.apache.wicket.markup.html.WebMarkupContainer;
import org.apache.wicket.markup.html.WebPage;
@@ -24,20 +29,30 @@
import org.wicketstuff.jwicket.ui.datepicker.DatePicker;
import org.wicketstuff.jwicket.ui.dragdrop.DraggableBehavior;
import org.wicketstuff.jwicket.ui.dragdrop.DraggablesAcceptedByDroppable;
-import org.wicketstuff.jwicket.ui.effect.*;
+import org.wicketstuff.jwicket.ui.effect.AbstractJqueryUiEffect;
+import org.wicketstuff.jwicket.ui.effect.Blind;
+import org.wicketstuff.jwicket.ui.effect.Bounce;
import org.wicketstuff.jwicket.ui.effect.Bounce.BounceMode;
+import org.wicketstuff.jwicket.ui.effect.Clip;
+import org.wicketstuff.jwicket.ui.effect.Drop;
+import org.wicketstuff.jwicket.ui.effect.EffectDirection;
+import org.wicketstuff.jwicket.ui.effect.EffectHorVerDirection;
+import org.wicketstuff.jwicket.ui.effect.EffectMode;
+import org.wicketstuff.jwicket.ui.effect.Explode;
+import org.wicketstuff.jwicket.ui.effect.Fold;
+import org.wicketstuff.jwicket.ui.effect.Highlight;
+import org.wicketstuff.jwicket.ui.effect.Puff;
+import org.wicketstuff.jwicket.ui.effect.Pulsate;
+import org.wicketstuff.jwicket.ui.effect.Scale;
import org.wicketstuff.jwicket.ui.effect.Scale.ScaleDirection;
import org.wicketstuff.jwicket.ui.effect.Scale.ScaleElement;
+import org.wicketstuff.jwicket.ui.effect.Shake;
+import org.wicketstuff.jwicket.ui.effect.Slide;
+import org.wicketstuff.jwicket.ui.effect.Transfer;
import org.wicketstuff.menu.IMenuLink;
import org.wicketstuff.menu.Menu;
import org.wicketstuff.menu.MenuBarPanel;
-import java.text.SimpleDateFormat;
-import java.util.ArrayList;
-import java.util.Calendar;
-import java.util.Date;
-import java.util.List;
-
public class TestPage extends WebPage {
private static final long serialVersionUID = -4903898352269701250L;
@@ -138,12 +153,12 @@ public AbstractLink getLink(String id) {
});
- Menu menu1 = new Menu(new Model("Pages"), itemsForMenu1);
+ Menu menu1 = new Menu(new Model<>("Pages"), itemsForMenu1);
/* End of menu 1 */
/* Menu 2 with some AJAX links for drag/drop and resize control */
- final Menu menu2 = new Menu(new Model("Ajax Control"));
+ final Menu menu2 = new Menu(new Model<>("Ajax Control"));
// Enable/disable dragging
menu2.addMenuItem(new IMenuLink() {
@@ -158,7 +173,7 @@ public Component getDisplayComponent(String id) {
@Override
public AbstractLink getLink(String id) {
- return new AjaxFallbackLink(id) {
+ return new AjaxLink(id) {
private static final long serialVersionUID = 1L;
@Override
@@ -202,7 +217,7 @@ public Component getDisplayComponent(String id) {
@Override
public AbstractLink getLink(String id) {
- return new AjaxFallbackLink(id) {
+ return new AjaxLink(id) {
private static final long serialVersionUID = 1L;
@Override
@@ -244,7 +259,7 @@ public Component getDisplayComponent(String id) {
@Override
public AbstractLink getLink(String id) {
- return new AjaxFallbackLink(id) {
+ return new AjaxLink(id) {
private static final long serialVersionUID = 1L;
@Override
@@ -281,7 +296,7 @@ public Component getDisplayComponent(String id) {
@Override
public AbstractLink getLink(String id) {
- return new AjaxFallbackLink(id) {
+ return new AjaxLink(id) {
private static final long serialVersionUID = 1L;
@Override
@@ -629,4 +644,4 @@ protected void onSelect(final AjaxRequestTarget target, final String pickedDate,
add(inlineDatePickerContainer);
}
-}
\ No newline at end of file
+}
From 01e50982ecaf239b28663f95324cc78009f91a94 Mon Sep 17 00:00:00 2001
From: Martin Tzvetanov Grigorov
Date: Sun, 17 Jul 2016 12:26:19 +0200
Subject: [PATCH 027/182] [mbeanview] Fix build against Wicket 8.x
---
.../java/org/wicketstuff/mbeanview/MBeansPanel.java | 10 +++++-----
.../org/wicketstuff/mbeanview/OperationsPanel.java | 4 ++--
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/mbeanview-parent/mbeanview/src/main/java/org/wicketstuff/mbeanview/MBeansPanel.java b/mbeanview-parent/mbeanview/src/main/java/org/wicketstuff/mbeanview/MBeansPanel.java
index d474b64988..ddf233fa08 100644
--- a/mbeanview-parent/mbeanview/src/main/java/org/wicketstuff/mbeanview/MBeansPanel.java
+++ b/mbeanview-parent/mbeanview/src/main/java/org/wicketstuff/mbeanview/MBeansPanel.java
@@ -21,12 +21,12 @@
import java.io.StringWriter;
import java.util.ArrayList;
import java.util.Collections;
-import java.util.Comparator;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
+import java.util.Optional;
import java.util.TreeSet;
import javax.management.MBeanAttributeInfo;
@@ -136,7 +136,7 @@ protected String getClosedStyleClass()
}
@Override
- protected void onClick(AjaxRequestTarget target)
+ protected void onClick(Optional target)
{
if (selected != null) {
updateNode(selected, target);
@@ -147,7 +147,7 @@ protected void onClick(AjaxRequestTarget target)
Component newView = getModelObject().newView(VIEW_PANEL_ID);
newView.setOutputMarkupId(true);
MBeansPanel.this.replace(newView);
- target.add(newView);
+ target.ifPresent(t -> t.add(newView));
}
};
}
@@ -291,7 +291,7 @@ protected List createChildren() throws Exception
}
/**
- * @see https://blogs.oracle.com/lmalventosa/entry/jconsole_mbeans_tab_mbean_tree
+ * @see < a href="https://blogs.oracle.com/lmalventosa/entry/jconsole_mbeans_tab_mbean_tree">JConsole MBean tree>
*/
private List createKeyNodes(String query, List paths) throws Exception
{
@@ -777,4 +777,4 @@ public IModel model(MbeanNode object)
return Model.of(object);
}
}
-}
\ No newline at end of file
+}
diff --git a/mbeanview-parent/mbeanview/src/main/java/org/wicketstuff/mbeanview/OperationsPanel.java b/mbeanview-parent/mbeanview/src/main/java/org/wicketstuff/mbeanview/OperationsPanel.java
index 7d8df38cd4..3c17f72532 100644
--- a/mbeanview-parent/mbeanview/src/main/java/org/wicketstuff/mbeanview/OperationsPanel.java
+++ b/mbeanview-parent/mbeanview/src/main/java/org/wicketstuff/mbeanview/OperationsPanel.java
@@ -197,9 +197,9 @@ public String[] getSignatures()
}
@Override
- protected void onSubmit(AjaxRequestTarget target, Form> form)
+ protected void onSubmit(AjaxRequestTarget target)
{
- Object returnObj = null;
+ Object returnObj;
try
{
returnObj = server.getObject().invoke(objectName, info.getName(),
From 73b365aab29ea0dfbedcbfa28252e17e70cdd259 Mon Sep 17 00:00:00 2001
From: Martin Tzvetanov Grigorov
Date: Sun, 17 Jul 2016 12:29:29 +0200
Subject: [PATCH 028/182] [modalx] Fix build against Wicket 8.x
---
.../main/java/org/wicketstuff/modalx/ModalFormPanel.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/modalx-parent/modalx/src/main/java/org/wicketstuff/modalx/ModalFormPanel.java b/modalx-parent/modalx/src/main/java/org/wicketstuff/modalx/ModalFormPanel.java
index b59147653e..26781cdf60 100644
--- a/modalx-parent/modalx/src/main/java/org/wicketstuff/modalx/ModalFormPanel.java
+++ b/modalx-parent/modalx/src/main/java/org/wicketstuff/modalx/ModalFormPanel.java
@@ -59,7 +59,7 @@ public void addControlComponents()
private static final long serialVersionUID = 1L;
@Override
- public void onSubmit(AjaxRequestTarget target, Form> form)
+ public void onSubmit(AjaxRequestTarget target)
{
modalResult = MR_OK;
target.add(feedbackPanel);
@@ -68,7 +68,7 @@ public void onSubmit(AjaxRequestTarget target, Form> form)
}
@Override
- public void onError(AjaxRequestTarget target, Form> form)
+ public void onError(AjaxRequestTarget target)
{
target.add(feedbackPanel);
}
@@ -80,14 +80,14 @@ public void onError(AjaxRequestTarget target, Form> form)
private static final long serialVersionUID = 1L;
@Override
- protected void onSubmit(AjaxRequestTarget target, Form> form)
+ protected void onSubmit(AjaxRequestTarget target)
{
modalResult = MR_CANCEL;
onCancel(target);
}
@Override
- protected void onError(AjaxRequestTarget target, Form> form)
+ protected void onError(AjaxRequestTarget target)
{
target.add(feedbackPanel);
}
From e777a2b3038ad31d2fbbf029e45743ab438bc386 Mon Sep 17 00:00:00 2001
From: Martin Tzvetanov Grigorov
Date: Sun, 17 Jul 2016 12:32:26 +0200
Subject: [PATCH 029/182] [objectautocomplete] Fix build against Wicket 8.x
---
.../ObjectAutoCompleteField.java | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/objectautocomplete-parent/objectautocomplete/src/main/java/org/wicketstuff/objectautocomplete/ObjectAutoCompleteField.java b/objectautocomplete-parent/objectautocomplete/src/main/java/org/wicketstuff/objectautocomplete/ObjectAutoCompleteField.java
index 7ddee2a155..07733581af 100644
--- a/objectautocomplete-parent/objectautocomplete/src/main/java/org/wicketstuff/objectautocomplete/ObjectAutoCompleteField.java
+++ b/objectautocomplete-parent/objectautocomplete/src/main/java/org/wicketstuff/objectautocomplete/ObjectAutoCompleteField.java
@@ -45,6 +45,7 @@
import java.util.Iterator;
import java.util.List;
import java.util.Map;
+import java.util.Optional;
import java.util.Set;
/**
@@ -230,7 +231,7 @@ public boolean isVisible()
private static final long serialVersionUID = 1L;
@Override
- public void onClick(AjaxRequestTarget target)
+ public void onClick(Optional target)
{
changeToSearchMode(target);
}
@@ -258,14 +259,14 @@ else if (!pBuilder.unchangeable)
if (pBuilder.searchOnClick)
{
deleteLink.setVisible(false);
- objectReadOnlyComponent.add(new AjaxEventBehavior("onclick")
+ objectReadOnlyComponent.add(new AjaxEventBehavior("click")
{
private static final long serialVersionUID = 1L;
@Override
protected void onEvent(AjaxRequestTarget target)
{
- changeToSearchMode(target);
+ changeToSearchMode(Optional.of(target));
}
});
}
@@ -274,19 +275,18 @@ protected void onEvent(AjaxRequestTarget target)
add(wac);
}
- private void changeToSearchMode(AjaxRequestTarget target)
+ private void changeToSearchMode(Optional targetOptional)
{
backupObjectId = selectedObjectId;
backupText = searchTextField.getModelObject();
selectedObjectId = null;
ObjectAutoCompleteField.this.setModelObject(null);
- if (target != null)
- {
+ targetOptional.ifPresent(target -> {
target.add(ObjectAutoCompleteField.this);
String id = searchTextField.getMarkupId();
target.appendJavaScript("Wicket.DOM.get('" + id + "').focus();" + "Wicket.DOM.get('" + id +
"').select();");
- }
+ });
}
/**
From 4d9c976b92741ff72f5c0103ec20324939e1f000 Mon Sep 17 00:00:00 2001
From: Martin Tzvetanov Grigorov
Date: Sun, 17 Jul 2016 12:50:57 +0200
Subject: [PATCH 030/182] Do not fail the build on Javadoc errors
---
pom.xml | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/pom.xml b/pom.xml
index 687e5fab68..af3c59e82d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -93,13 +93,15 @@
org.apache.maven.pluginsmaven-javadoc-plugin
- 2.10.3
+ 2.10.4false128m256mtruetrue
+ false
+ -Xdoclint:none
http://docs.oracle.com/javase/7/docs/api
http://docs.oracle.com/javaee/7/api
@@ -853,7 +855,7 @@
org.apache.maven.pluginsmaven-javadoc-plugin
- 2.10.3
+ 2.10.4false128m
@@ -867,6 +869,8 @@
http://docs.spring.io/spring/docs/3.0.x/javadoc-api
http://logback.qos.ch/apidocs
+ false
+ -Xdoclint:none${javadoc.disabled}
@@ -1047,7 +1051,7 @@
org.apache.maven.pluginsmaven-compiler-plugin
- 3.3
+ 3.5.1${maven.compiler.target}
From 4aa7d9276a305aed513dcfd68c53888d7c77be19 Mon Sep 17 00:00:00 2001
From: Martin Tzvetanov Grigorov
Date: Sun, 17 Jul 2016 12:51:17 +0200
Subject: [PATCH 031/182] [openlayers 2.x] Fix the build against Wicket 8.x
---
.../openlayers/AjaxOpenLayersMap.java | 98 ++++++-------------
.../wicketstuff/openlayers/OpenLayersMap.java | 64 +++++-------
.../openlayers/api/InfoWindow.java | 27 +++--
3 files changed, 65 insertions(+), 124 deletions(-)
diff --git a/openlayers-parent/openlayers/src/main/java/org/wicketstuff/openlayers/AjaxOpenLayersMap.java b/openlayers-parent/openlayers/src/main/java/org/wicketstuff/openlayers/AjaxOpenLayersMap.java
index bb00365b82..4223bd5142 100644
--- a/openlayers-parent/openlayers/src/main/java/org/wicketstuff/openlayers/AjaxOpenLayersMap.java
+++ b/openlayers-parent/openlayers/src/main/java/org/wicketstuff/openlayers/AjaxOpenLayersMap.java
@@ -157,11 +157,8 @@ public Bounds getBounds()
public void setCenter(LonLat center)
{
this.center = center;
-
- AjaxRequestTarget ajaxRequestTarget = getRequestCycle().find(AjaxRequestTarget.class);
- if (ajaxRequestTarget != null) {
- ajaxRequestTarget.appendJavaScript(getJSSetCenter());
- }
+
+ getRequestCycle().find(AjaxRequestTarget.class).ifPresent(target -> target.appendJavaScript(getJSSetCenter()));
}
public LonLat getCenter()
@@ -172,10 +169,7 @@ public LonLat getCenter()
public void setZoom(Integer zoom)
{
this.zoom = zoom;
- AjaxRequestTarget ajaxRequestTarget = getRequestCycle().find(AjaxRequestTarget.class);
- if (ajaxRequestTarget != null) {
- ajaxRequestTarget.appendJavaScript(getJSSetCenter());
- }
+ getRequestCycle().find(AjaxRequestTarget.class).ifPresent(target -> target.appendJavaScript(getJSSetCenter()));
}
public Integer getZoom()
@@ -187,10 +181,7 @@ public void setCenter(LonLat center, Integer zoom)
{
this.center = center;
this.zoom = zoom;
- AjaxRequestTarget ajaxRequestTarget = getRequestCycle().find(AjaxRequestTarget.class);
- if (ajaxRequestTarget != null) {
- ajaxRequestTarget.appendJavaScript(getJSSetCenter());
- }
+ getRequestCycle().find(AjaxRequestTarget.class).ifPresent(target -> target.appendJavaScript(getJSSetCenter()));
}
private String getJSSetCenter()
@@ -234,10 +225,7 @@ private String getJSSetBusinessLogicProjection()
public IOpenLayersMap addControl(IJavascriptComponent control)
{
controls.add(control);
- AjaxRequestTarget ajaxRequestTarget = getRequestCycle().find(AjaxRequestTarget.class);
- if (ajaxRequestTarget != null) {
- ajaxRequestTarget.appendJavaScript(control.getJSadd(this));
- }
+ getRequestCycle().find(AjaxRequestTarget.class).ifPresent(target -> target.appendJavaScript(control.getJSadd(this)));
return this;
}
@@ -259,10 +247,8 @@ public IOpenLayersMap addOverlay(Overlay overlay)
{
add(behavior);
}
- AjaxRequestTarget ajaxRequestTarget = getRequestCycle().find(AjaxRequestTarget.class);
- if (ajaxRequestTarget != null) {
- ajaxRequestTarget.appendJavaScript(getJsOverlay(overlay));
- }
+ getRequestCycle().find(AjaxRequestTarget.class).ifPresent(target ->
+ target.appendJavaScript(getJsOverlay(overlay)));
return this;
}
@@ -276,10 +262,7 @@ public IOpenLayersMap addOverlay(Overlay overlay)
public IOpenLayersMap addLayer(Layer layer)
{
layers.add(layer);
- AjaxRequestTarget ajaxRequestTarget = getRequestCycle().find(AjaxRequestTarget.class);
- if (ajaxRequestTarget != null) {
- ajaxRequestTarget.appendJavaScript(layer.getJSAddLayer(this));
- }
+ getRequestCycle().find(AjaxRequestTarget.class).ifPresent(target -> target.appendJavaScript(layer.getJSAddLayer(this)));
return this;
}
@@ -294,11 +277,8 @@ public IOpenLayersMap addFeature(Feature feature)
{
features.add(feature);
feature.setMap(this);
- AjaxRequestTarget ajaxRequestTarget = getRequestCycle().find(AjaxRequestTarget.class);
- if (ajaxRequestTarget != null) {
- ajaxRequestTarget.appendJavaScript(
- feature.getJSAddFeature(this, getFeatureVector(feature.getDisplayInLayer())));
- }
+ getRequestCycle().find(AjaxRequestTarget.class).ifPresent(target ->
+ target.appendJavaScript(feature.getJSAddFeature(this, getFeatureVector(feature.getDisplayInLayer()))));
return this;
}
@@ -312,10 +292,8 @@ public IOpenLayersMap addFeature(Feature feature)
public IOpenLayersMap addFeatureStyle(FeatureStyle featureStyle)
{
featureStyles.add(featureStyle);
- AjaxRequestTarget ajaxRequestTarget = getRequestCycle().find(AjaxRequestTarget.class);
- if (ajaxRequestTarget != null) {
- ajaxRequestTarget.appendJavaScript(featureStyle.getJSAddStyle(this));
- }
+ getRequestCycle().find(AjaxRequestTarget.class).ifPresent(target ->
+ target.appendJavaScript(featureStyle.getJSAddStyle(this)));
return this;
}
@@ -325,10 +303,8 @@ public IOpenLayersMap removeFeatureStyle(FeatureStyle featureStyle)
{
featureStyles.remove(featureStyle);
}
- AjaxRequestTarget ajaxRequestTarget = getRequestCycle().find(AjaxRequestTarget.class);
- if (ajaxRequestTarget != null) {
- ajaxRequestTarget.appendJavaScript(featureStyle.getJSRemoveStyle(this));
- }
+ getRequestCycle().find(AjaxRequestTarget.class).ifPresent(target ->
+ target.appendJavaScript(featureStyle.getJSRemoveStyle(this)));
return this;
}
@@ -347,10 +323,8 @@ public IOpenLayersMap clearOverlays()
}
}
overlays.clear();
- AjaxRequestTarget ajaxRequestTarget = getRequestCycle().find(AjaxRequestTarget.class);
- if (ajaxRequestTarget != null) {
- ajaxRequestTarget.appendJavaScript(getJSinvoke("clearOverlays()"));
- }
+ getRequestCycle().find(AjaxRequestTarget.class).ifPresent(target ->
+ target.appendJavaScript(getJSinvoke("clearOverlays()")));
return this;
}
@@ -481,10 +455,8 @@ private String getJsOverlay(Overlay overlay)
public IOpenLayersMap removeControl(IJavascriptComponent control)
{
controls.remove(control);
- AjaxRequestTarget ajaxRequestTarget = getRequestCycle().find(AjaxRequestTarget.class);
- if (ajaxRequestTarget != null) {
- ajaxRequestTarget.appendJavaScript(control.getJSremove(this));
- }
+ getRequestCycle().find(AjaxRequestTarget.class).ifPresent(target ->
+ target.appendJavaScript(control.getJSremove(this)));
return this;
}
@@ -505,10 +477,8 @@ public IOpenLayersMap removeOverlay(Overlay overlay)
{
remove(behavior);
}
- AjaxRequestTarget ajaxRequestTarget = getRequestCycle().find(AjaxRequestTarget.class);
- if (ajaxRequestTarget != null) {
- ajaxRequestTarget.appendJavaScript(overlay.getJSremove(this));
- }
+ getRequestCycle().find(AjaxRequestTarget.class).ifPresent(target ->
+ target.appendJavaScript(overlay.getJSremove(this)));
return this;
}
@@ -525,11 +495,8 @@ public IOpenLayersMap removeFeature(Feature feature)
{
features.remove(feature);
}
- AjaxRequestTarget ajaxRequestTarget = getRequestCycle().find(AjaxRequestTarget.class);
- if (ajaxRequestTarget != null) {
- ajaxRequestTarget.appendJavaScript(
- feature.getJSRemoveFeature(this, getFeatureVector(feature.getDisplayInLayer())));
- }
+ getRequestCycle().find(AjaxRequestTarget.class).ifPresent(target -> target.appendJavaScript(
+ feature.getJSRemoveFeature(this, getFeatureVector(feature.getDisplayInLayer()))));
return this;
}
@@ -589,10 +556,8 @@ public void setOverlays(List overlays)
public void setBusinessLogicProjection(String businessLogicProjection)
{
this.businessLogicProjection = businessLogicProjection;
- AjaxRequestTarget ajaxRequestTarget = getRequestCycle().find(AjaxRequestTarget.class);
- if (ajaxRequestTarget != null) {
- ajaxRequestTarget.appendJavaScript(getJSSetBusinessLogicProjection());
- }
+ getRequestCycle().find(AjaxRequestTarget.class).ifPresent(target ->
+ target.appendJavaScript(getJSSetBusinessLogicProjection()));
}
public String getBusinessLogicProjection()
@@ -624,9 +589,8 @@ public String getMarkersLayerName()
public void setVisibleOnlyLayers(String... names)
{
- AjaxRequestTarget ajaxRequestTarget = getRequestCycle().find(AjaxRequestTarget.class);
- if (ajaxRequestTarget != null) {
- List invisibleNames = new ArrayList();
+ getRequestCycle().find(AjaxRequestTarget.class).ifPresent(target -> {
+ List invisibleNames = new ArrayList<>();
invisibleNames.add(markersLayerName);
invisibleNames.addAll(featureVectors.keySet());
StringBuffer visibleLayers = new StringBuffer();
@@ -653,10 +617,10 @@ public void setVisibleOnlyLayers(String... names)
invisibleLayers.append(layerId);
}
}
- ajaxRequestTarget.appendJavaScript(
+ target.appendJavaScript(
getJSinvoke("setLayersVisibility([" + visibleLayers.toString() + "], [" +
invisibleLayers.toString() + "])"));
- }
+ });
}
public void toggleLayer(String name)
@@ -664,10 +628,8 @@ public void toggleLayer(String name)
String layerId = findLayerId(name);
if (layerId != null)
{
- AjaxRequestTarget ajaxRequestTarget = getRequestCycle().find(AjaxRequestTarget.class);
- if (ajaxRequestTarget != null) {
- ajaxRequestTarget.appendJavaScript(getJSinvoke("toggleLayer(" + layerId + ")"));
- }
+ getRequestCycle().find(AjaxRequestTarget.class).ifPresent(target ->
+ target.appendJavaScript(getJSinvoke("toggleLayer(" + layerId + ")")));
}
}
diff --git a/openlayers-parent/openlayers/src/main/java/org/wicketstuff/openlayers/OpenLayersMap.java b/openlayers-parent/openlayers/src/main/java/org/wicketstuff/openlayers/OpenLayersMap.java
index b5b723d2be..16f9a9d32a 100644
--- a/openlayers-parent/openlayers/src/main/java/org/wicketstuff/openlayers/OpenLayersMap.java
+++ b/openlayers-parent/openlayers/src/main/java/org/wicketstuff/openlayers/OpenLayersMap.java
@@ -53,6 +53,7 @@
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
+import java.util.Optional;
/**
* Wicket component to embed Openlayers Maps into your
@@ -413,18 +414,18 @@ public void renderHead(Component c, IHeaderResponse response)
}
- AjaxRequestTarget target = getRequestCycle().find(AjaxRequestTarget.class);
+ Optional target = getRequestCycle().find(AjaxRequestTarget.class);
- if (target != null && findPage() != null)
+ if (target.isPresent() && findPage() != null)
{
- target.appendJavaScript(control.getJSadd(OpenLayersMap.this));
+ target.get().appendJavaScript(control.getJSadd(OpenLayersMap.this));
if (jsReferences != null && jsReferences.length > 0)
{
for (JavaScriptResourceReference javascriptResourceReference : jsReferences)
{
- target.getHeaderResponse().render(JavaScriptHeaderItem.forReference(
+ target.get().getHeaderResponse().render(JavaScriptHeaderItem.forReference(
javascriptResourceReference));
}
}
@@ -444,18 +445,14 @@ public void renderHead(Component c, IHeaderResponse response)
public OpenLayersMap addOverlay(Overlay overlay)
{
overlays.add(overlay);
- for (OverlayListenerBehavior behavior : overlay.getBehaviors())
- {
- add(behavior);
- }
+ overlay.getBehaviors().forEach(this::add);
if (findPage() != null)
{
- AjaxRequestTarget ajaxRequestTarget = getRequestCycle().find(AjaxRequestTarget.class);
- if (ajaxRequestTarget != null) {
- String jsToRun = getJsOverlay(overlay);
- ajaxRequestTarget.appendJavaScript(jsToRun);
- }
+ getRequestCycle().find(AjaxRequestTarget.class).ifPresent(target -> {
+ String jsToRun = getJsOverlay(overlay);
+ target.appendJavaScript(jsToRun);
+ });
}
return this;
@@ -479,10 +476,8 @@ public OpenLayersMap clearOverlays()
if (findPage() != null)
{
- AjaxRequestTarget ajaxRequestTarget = getRequestCycle().find(AjaxRequestTarget.class);
- if (ajaxRequestTarget != null) {
- ajaxRequestTarget.appendJavaScript(getJSinvoke("clearOverlays()"));
- }
+ getRequestCycle().find(AjaxRequestTarget.class).ifPresent(target ->
+ target.appendJavaScript(getJSinvoke("clearOverlays()")));
}
return this;
}
@@ -749,10 +744,8 @@ public OpenLayersMap removeControl(IJavascriptComponent control)
if (findPage() != null)
{
- AjaxRequestTarget ajaxRequestTarget = getRequestCycle().find(AjaxRequestTarget.class);
- if (ajaxRequestTarget != null) {
- ajaxRequestTarget.appendJavaScript(control.getJSremove(OpenLayersMap.this));
- }
+ getRequestCycle().find(AjaxRequestTarget.class).ifPresent(target ->
+ target.appendJavaScript(control.getJSremove(OpenLayersMap.this)));
}
return this;
@@ -771,17 +764,12 @@ public OpenLayersMap removeOverlay(Overlay overlay)
{
overlays.remove(overlay);
}
- for (OverlayListenerBehavior behavior : overlay.getBehaviors())
- {
- remove(behavior);
- }
+ overlay.getBehaviors().forEach(this::remove);
if (findPage() != null)
{
- AjaxRequestTarget ajaxRequestTarget = getRequestCycle().find(AjaxRequestTarget.class);
- if (ajaxRequestTarget != null) {
- ajaxRequestTarget.appendJavaScript(overlay.getJSremove(OpenLayersMap.this));
- }
+ getRequestCycle().find(AjaxRequestTarget.class).ifPresent(target ->
+ target.appendJavaScript(overlay.getJSremove(OpenLayersMap.this)));
}
return this;
@@ -802,10 +790,8 @@ public void setCenter(LonLat center, Integer zoom)
if (findPage() != null)
{
- AjaxRequestTarget ajaxRequestTarget = getRequestCycle().find(AjaxRequestTarget.class);
- if (ajaxRequestTarget != null) {
- ajaxRequestTarget.appendJavaScript(getJSsetCenter(center, zoom));
- }
+ getRequestCycle().find(AjaxRequestTarget.class).ifPresent(target ->
+ target.appendJavaScript(getJSsetCenter(center, zoom)));
}
}
}
@@ -837,10 +823,8 @@ public void setZoom(Integer level)
if (findPage() != null)
{
- AjaxRequestTarget ajaxRequestTarget = getRequestCycle().find(AjaxRequestTarget.class);
- if (ajaxRequestTarget != null) {
- ajaxRequestTarget.appendJavaScript(getJSsetZoom(zoom));
- }
+ getRequestCycle().find(AjaxRequestTarget.class).ifPresent(target ->
+ target.appendJavaScript(getJSsetZoom(zoom)));
}
}
}
@@ -924,10 +908,8 @@ public void setShowMarkersInLayerSwitcher(boolean showMarkersInLayerSwitcher)
public void setBusinessLogicProjection(String businessLogicProjection)
{
this.businessLogicProjection = businessLogicProjection;
- AjaxRequestTarget ajaxRequestTarget = getRequestCycle().find(AjaxRequestTarget.class);
- if (ajaxRequestTarget != null) {
- ajaxRequestTarget.appendJavaScript(getJSSetBusinessLogicProjection());
- }
+ getRequestCycle().find(AjaxRequestTarget.class).ifPresent(target ->
+ target.appendJavaScript(getJSSetBusinessLogicProjection()));
}
public String getBusinessLogicProjection()
diff --git a/openlayers-parent/openlayers/src/main/java/org/wicketstuff/openlayers/api/InfoWindow.java b/openlayers-parent/openlayers/src/main/java/org/wicketstuff/openlayers/api/InfoWindow.java
index 6227d9c761..e02eb260a3 100644
--- a/openlayers-parent/openlayers/src/main/java/org/wicketstuff/openlayers/api/InfoWindow.java
+++ b/openlayers-parent/openlayers/src/main/java/org/wicketstuff/openlayers/api/InfoWindow.java
@@ -64,11 +64,10 @@ public InfoWindow open(LonLat latLng)
this.latLng = latLng;
marker = null;
- AjaxRequestTarget ajaxRequestTarget = getRequestCycle().find(AjaxRequestTarget.class);
- if (ajaxRequestTarget != null) {
- ajaxRequestTarget.appendJavaScript(getJSopen(latLng));
- ajaxRequestTarget.add(this);
- }
+ getRequestCycle().find(AjaxRequestTarget.class).ifPresent(target -> {
+ target.appendJavaScript(getJSopen(latLng));
+ target.add(this);
+ });
return this;
}
@@ -79,11 +78,10 @@ public InfoWindow open(Marker marker)
latLng = null;
this.marker = marker;
- AjaxRequestTarget ajaxRequestTarget = getRequestCycle().find(AjaxRequestTarget.class);
- if (ajaxRequestTarget != null) {
- ajaxRequestTarget.appendJavaScript(getJSopen(marker));
- ajaxRequestTarget.add(this);
- }
+ getRequestCycle().find(AjaxRequestTarget.class).ifPresent(target -> {
+ target.appendJavaScript(getJSopen(marker));
+ target.add(this);
+ });
return this;
}
@@ -98,11 +96,10 @@ public void close()
marker = null;
latLng = null;
- AjaxRequestTarget ajaxRequestTarget = getRequestCycle().find(AjaxRequestTarget.class);
- if (ajaxRequestTarget != null) {
- ajaxRequestTarget.appendJavaScript(getJSclose());
- ajaxRequestTarget.add(this);
- }
+ getRequestCycle().find(AjaxRequestTarget.class).ifPresent(target -> {
+ target.appendJavaScript(getJSclose());
+ target.add(this);
+ });
}
private String getJSopen(LonLat latLng)
From 92ba2bee83c30e1c51ae5632473ed444efbff374 Mon Sep 17 00:00:00 2001
From: Maxim Solodovnik
Date: Sun, 17 Jul 2016 17:43:07 +0600
Subject: [PATCH 032/182] [dashboard] Java warnings were fixed
---
.../dashboard/web/AbstractWidgetAction.java | 8 ++++----
.../dashboard/web/DashboardColumnPanel.java | 12 ++++++++----
.../wicketstuff/dashboard/web/WidgetHeaderPanel.java | 9 ++++-----
dashboard-parent/dashboard-examples/pom.xml | 1 -
.../dashboard/examples/DemoWidgetActionsFactory.java | 2 --
.../dashboard/examples/jqplot/DemoChartFactory.java | 3 ++-
.../charts/settings/HighChartsSettingsPanel.html | 4 ++--
7 files changed, 20 insertions(+), 19 deletions(-)
diff --git a/dashboard-parent/dashboard-core/src/main/java/org/wicketstuff/dashboard/web/AbstractWidgetAction.java b/dashboard-parent/dashboard-core/src/main/java/org/wicketstuff/dashboard/web/AbstractWidgetAction.java
index df17aa677e..acfe300de4 100644
--- a/dashboard-parent/dashboard-core/src/main/java/org/wicketstuff/dashboard/web/AbstractWidgetAction.java
+++ b/dashboard-parent/dashboard-core/src/main/java/org/wicketstuff/dashboard/web/AbstractWidgetAction.java
@@ -24,10 +24,10 @@
* @author Decebal Suiu
*/
public abstract class AbstractWidgetAction implements WidgetAction {
-
- protected Widget widget;
+ private static final long serialVersionUID = 1L;
+ protected Widget widget;
protected IModel tooltip;
- private Class imageScope;
+ private Class> imageScope;
private String imageName;
public AbstractWidgetAction(Widget widget) {
@@ -53,7 +53,7 @@ public void setTooltip(IModel tooltip) {
* @param scope
* @param name
*/
- public void setImage(Class scope, String name) {
+ public void setImage(Class> scope, String name) {
imageScope = scope;
imageName = name;
}
diff --git a/dashboard-parent/dashboard-core/src/main/java/org/wicketstuff/dashboard/web/DashboardColumnPanel.java b/dashboard-parent/dashboard-core/src/main/java/org/wicketstuff/dashboard/web/DashboardColumnPanel.java
index a8addc8227..cf64941aa8 100644
--- a/dashboard-parent/dashboard-core/src/main/java/org/wicketstuff/dashboard/web/DashboardColumnPanel.java
+++ b/dashboard-parent/dashboard-core/src/main/java/org/wicketstuff/dashboard/web/DashboardColumnPanel.java
@@ -12,12 +12,14 @@
*/
package org.wicketstuff.dashboard.web;
+import java.io.IOException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.wicket.AttributeModifier;
import org.apache.wicket.Component;
+import org.apache.wicket.WicketRuntimeException;
import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.event.Broadcast;
import org.apache.wicket.markup.head.IHeaderResponse;
@@ -122,10 +124,12 @@ public void renderHead(IHeaderResponse response) {
vars.put("component", get("columnContainer").getMarkupId());
vars.put("stopBehavior", script.toString());
- PackageTextTemplate template = new PackageTextTemplate(DashboardColumnPanel.class, "res/sort-behavior.template.js");
- template.interpolate(vars);
-
- response.render(OnDomReadyHeaderItem.forScript(template.getString()));
+ try (PackageTextTemplate template = new PackageTextTemplate(DashboardColumnPanel.class, "res/sort-behavior.template.js");) {
+ template.interpolate(vars);
+ response.render(OnDomReadyHeaderItem.forScript(template.getString()));
+ } catch (IOException e) {
+ throw new WicketRuntimeException(e);
+ }
}
/*
diff --git a/dashboard-parent/dashboard-core/src/main/java/org/wicketstuff/dashboard/web/WidgetHeaderPanel.java b/dashboard-parent/dashboard-core/src/main/java/org/wicketstuff/dashboard/web/WidgetHeaderPanel.java
index a383a256f5..25837ce739 100644
--- a/dashboard-parent/dashboard-core/src/main/java/org/wicketstuff/dashboard/web/WidgetHeaderPanel.java
+++ b/dashboard-parent/dashboard-core/src/main/java/org/wicketstuff/dashboard/web/WidgetHeaderPanel.java
@@ -20,7 +20,6 @@
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.image.Image;
import org.apache.wicket.markup.html.panel.GenericPanel;
-import org.apache.wicket.model.AbstractReadOnlyModel;
import org.apache.wicket.model.IModel;
import org.apache.wicket.model.PropertyModel;
import org.apache.wicket.request.resource.PackageResourceReference;
@@ -43,8 +42,9 @@ public WidgetHeaderPanel(String id, IModel model) {
setMarkupId("header-" + getModelObject().getId());
final Image toggle = new Image("toggle", "") {
+ private static final long serialVersionUID = 1L;
- @Override
+ @Override
protected ResourceReference getImageResourceReference() {
String name = getWidget().isCollapsed() ? "res/up.png" : "res/down.png";
@@ -78,8 +78,7 @@ protected void onEvent(AjaxRequestTarget target) {
}
});
- toggle.add(new AttributeModifier("title", new AbstractReadOnlyModel() {
-
+ toggle.add(new AttributeModifier("title", new IModel() {
private static final long serialVersionUID = 1L;
@Override
@@ -90,7 +89,7 @@ public String getObject() {
}));
add(toggle);
- add(new Label("title", new PropertyModel(model, "title")));
+ add(new Label("title", new PropertyModel(model, "title")));
WidgetActionsPanel actionsPanel = new WidgetActionsPanel("actions", model);
add(actionsPanel);
diff --git a/dashboard-parent/dashboard-examples/pom.xml b/dashboard-parent/dashboard-examples/pom.xml
index 19f1225f30..05d43ebe98 100644
--- a/dashboard-parent/dashboard-examples/pom.xml
+++ b/dashboard-parent/dashboard-examples/pom.xml
@@ -115,7 +115,6 @@
org.eclipse.jetty.aggregatejetty-all-server
- ${jetty.version}test
diff --git a/dashboard-parent/dashboard-examples/src/main/java/org/wicketstuff/dashboard/examples/DemoWidgetActionsFactory.java b/dashboard-parent/dashboard-examples/src/main/java/org/wicketstuff/dashboard/examples/DemoWidgetActionsFactory.java
index 838c587b9d..86aa5f6f70 100644
--- a/dashboard-parent/dashboard-examples/src/main/java/org/wicketstuff/dashboard/examples/DemoWidgetActionsFactory.java
+++ b/dashboard-parent/dashboard-examples/src/main/java/org/wicketstuff/dashboard/examples/DemoWidgetActionsFactory.java
@@ -17,8 +17,6 @@
import org.wicketstuff.dashboard.DefaultWidgetActionsFactory;
import org.wicketstuff.dashboard.Widget;
import org.wicketstuff.dashboard.WidgetAction;
-import org.wicketstuff.dashboard.web.AbstractWidgetAction;
-import org.wicketstuff.dashboard.web.DefaultWidgetActions;
/**
* @author Decebal Suiu
diff --git a/dashboard-parent/dashboard-examples/src/main/java/org/wicketstuff/dashboard/examples/jqplot/DemoChartFactory.java b/dashboard-parent/dashboard-examples/src/main/java/org/wicketstuff/dashboard/examples/jqplot/DemoChartFactory.java
index 0b39eb68ef..91c1d45e37 100644
--- a/dashboard-parent/dashboard-examples/src/main/java/org/wicketstuff/dashboard/examples/jqplot/DemoChartFactory.java
+++ b/dashboard-parent/dashboard-examples/src/main/java/org/wicketstuff/dashboard/examples/jqplot/DemoChartFactory.java
@@ -70,7 +70,8 @@ public static Chart> areaChart() {
return areaChart;
}
- public static Chart> barChart() {
+ @SuppressWarnings("deprecation")
+ public static Chart> barChart() {
BarChart barChart;
barChart = new BarChart("Bar Chart");
diff --git a/dashboard-parent/dashboard-widgets/dashboard-widgets-charts/src/main/java/org/wicketstuff/dashboard/widgets/charts/settings/HighChartsSettingsPanel.html b/dashboard-parent/dashboard-widgets/dashboard-widgets-charts/src/main/java/org/wicketstuff/dashboard/widgets/charts/settings/HighChartsSettingsPanel.html
index cd0cef5ca3..7c6597bd3d 100644
--- a/dashboard-parent/dashboard-widgets/dashboard-widgets-charts/src/main/java/org/wicketstuff/dashboard/widgets/charts/settings/HighChartsSettingsPanel.html
+++ b/dashboard-parent/dashboard-widgets/dashboard-widgets-charts/src/main/java/org/wicketstuff/dashboard/widgets/charts/settings/HighChartsSettingsPanel.html
@@ -6,8 +6,8 @@
SaveCancel
-
+
Visit the HighCharts demo site for a full list of chart types.
-