Repository: wicket
Updated Branches:
  refs/heads/WICKET-6105-java.time 37ddd4d1f -> fc89108e9


Stub for date-time examples is added


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/fc89108e
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/fc89108e
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/fc89108e

Branch: refs/heads/WICKET-6105-java.time
Commit: fc89108e9f0404e021b4e00444370e38d9141de9
Parents: 37ddd4d
Author: Maxim Solodovnik <[email protected]>
Authored: Mon Oct 2 22:07:02 2017 +0700
Committer: Maxim Solodovnik <[email protected]>
Committed: Mon Oct 2 22:07:02 2017 +0700

----------------------------------------------------------------------
 .../examples/datetime/DateTimeApplication.java  | 33 ++++++++++++++++++
 .../wicket/examples/datetime/DateTimePage.html  | 26 +++++++++++++++
 .../wicket/examples/datetime/DateTimePage.java  | 35 ++++++++++++++++++++
 3 files changed, 94 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/fc89108e/wicket-examples/src/main/java/org/apache/wicket/examples/datetime/DateTimeApplication.java
----------------------------------------------------------------------
diff --git 
a/wicket-examples/src/main/java/org/apache/wicket/examples/datetime/DateTimeApplication.java
 
b/wicket-examples/src/main/java/org/apache/wicket/examples/datetime/DateTimeApplication.java
new file mode 100644
index 0000000..7dc4282
--- /dev/null
+++ 
b/wicket-examples/src/main/java/org/apache/wicket/examples/datetime/DateTimeApplication.java
@@ -0,0 +1,33 @@
+/*
+ * 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.apache.wicket.examples.datetime;
+
+import org.apache.wicket.Page;
+import org.apache.wicket.examples.WicketExampleApplication;
+
+/**
+ * Application class for the DateTime example.
+ * 
+ */
+public class DateTimeApplication extends WicketExampleApplication
+{
+       @Override
+       public Class< ? extends Page> getHomePage()
+       {
+               return DateTimePage.class;
+       }
+}

http://git-wip-us.apache.org/repos/asf/wicket/blob/fc89108e/wicket-examples/src/main/java/org/apache/wicket/examples/datetime/DateTimePage.html
----------------------------------------------------------------------
diff --git 
a/wicket-examples/src/main/java/org/apache/wicket/examples/datetime/DateTimePage.html
 
b/wicket-examples/src/main/java/org/apache/wicket/examples/datetime/DateTimePage.html
new file mode 100644
index 0000000..d4e9eaa
--- /dev/null
+++ 
b/wicket-examples/src/main/java/org/apache/wicket/examples/datetime/DateTimePage.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml";
+       xmlns:wicket="http://wicket.apache.org"; xml:lang="en" lang="en">
+       <head>
+               <title>Wicket Examples - DateTime</title>
+               <link rel="stylesheet" type="text/css" href="style.css" />
+       </head>
+       <body>
+               <span wicket:id="mainNavigation" />
+
+               <!-- h3>Demo of Wicket's default: 
<em>org.apache.wicket.extensions.markup.html.captcha.CaptchaImageResource</em> 
</h3>
+               <wicket:container wicket:id="wicket"></wicket:container>
+
+               <hr/>
+
+               <h3>Demo using <a 
href="https://github.com/axet/kaptcha";>Kaptcha</a> library</h3>
+               <wicket:container wicket:id="kaptcha"></wicket:container>
+
+               <hr/>
+
+               <h3>Demo using <a 
href="https://github.com/akiraly/cage";>Cage</a> library</h3>
+               <wicket:container wicket:id="cage"></wicket:container-->
+
+       </body>
+</html>

http://git-wip-us.apache.org/repos/asf/wicket/blob/fc89108e/wicket-examples/src/main/java/org/apache/wicket/examples/datetime/DateTimePage.java
----------------------------------------------------------------------
diff --git 
a/wicket-examples/src/main/java/org/apache/wicket/examples/datetime/DateTimePage.java
 
b/wicket-examples/src/main/java/org/apache/wicket/examples/datetime/DateTimePage.java
new file mode 100644
index 0000000..26eaca5
--- /dev/null
+++ 
b/wicket-examples/src/main/java/org/apache/wicket/examples/datetime/DateTimePage.java
@@ -0,0 +1,35 @@
+/*
+ * 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.apache.wicket.examples.datetime;
+
+import org.apache.wicket.examples.WicketExamplePage;
+
+/**
+ * DateTime example page.
+ * 
+ */
+public class DateTimePage extends WicketExamplePage
+{
+       private static final long serialVersionUID = 1L;
+
+       /**
+        * Constructor.
+        */
+       public DateTimePage()
+       {
+       }
+}

Reply via email to