You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2016/06/16 07:36:49 UTC
wicket git commit: Re-add CDI examples application. Removed by
mistake with d1710298c7e371f260299f732c58d0bf4d647161
Repository: wicket
Updated Branches:
refs/heads/master 12cb80a1e -> 9a0b74dbf
Re-add CDI examples application. Removed by mistake with d1710298c7e371f260299f732c58d0bf4d647161
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/9a0b74db
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/9a0b74db
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/9a0b74db
Branch: refs/heads/master
Commit: 9a0b74dbf969d8afb254640773e38afd26d9d0c8
Parents: 12cb80a
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Wed Jun 15 23:18:03 2016 +0200
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Thu Jun 16 09:32:08 2016 +0200
----------------------------------------------------------------------
wicket-examples/src/main/webapp/WEB-INF/web.xml | 22 ++++++++++++++++++++
1 file changed, 22 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/wicket/blob/9a0b74db/wicket-examples/src/main/webapp/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/wicket-examples/src/main/webapp/WEB-INF/web.xml b/wicket-examples/src/main/webapp/WEB-INF/web.xml
index 75df6e5..807f820 100644
--- a/wicket-examples/src/main/webapp/WEB-INF/web.xml
+++ b/wicket-examples/src/main/webapp/WEB-INF/web.xml
@@ -784,6 +784,28 @@
<url-pattern>/mailtemplate/*</url-pattern>
</filter-mapping>
+
+ <!-- CDI EXAMPLE APPLICATION -->
+ <filter>
+ <filter-name>CdiApplication</filter-name>
+ <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class>
+ <init-param>
+ <param-name>applicationClassName</param-name>
+ <param-value>org.apache.wicket.examples.cdi.CdiApplication</param-value>
+ </init-param>
+ </filter>
+ <filter-mapping>
+ <filter-name>CdiApplication</filter-name>
+ <url-pattern>/cdi/*</url-pattern>
+ </filter-mapping>
+
+ <listener>
+ <!-- initialize Weld in servlet environment -->
+ <listener-class>org.jboss.weld.environment.servlet.Listener</listener-class>
+ </listener>
+ <!-- END CDI EXAMPLE APPLICATION -->
+
+
<!-- Bean Validation EXAMPLE APPLICATION -->
<filter>
<filter-name>BeanValidation</filter-name>