You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@click.apache.org by sa...@apache.org on 2009/05/12 20:01:25 UTC
svn commit: r774005 - in /incubator/click/trunk/click: ./
documentation/docs/ examples/src/org/apache/click/examples/page/form/
examples/src/org/apache/click/examples/page/table/
Author: sabob
Date: Tue May 12 18:01:24 2009
New Revision: 774005
URL: http://svn.apache.org/viewvc?rev=774005&view=rev
Log:
updates examples, roadmap and license
Modified:
incubator/click/trunk/click/LICENSE.txt
incubator/click/trunk/click/NOTICE.txt
incubator/click/trunk/click/documentation/docs/roadmap-changes.html
incubator/click/trunk/click/examples/src/org/apache/click/examples/page/form/ExtraControlsForm.java
incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/FormTablePage.java
Modified: incubator/click/trunk/click/LICENSE.txt
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/LICENSE.txt?rev=774005&r1=774004&r2=774005&view=diff
==============================================================================
--- incubator/click/trunk/click/LICENSE.txt (original)
+++ incubator/click/trunk/click/LICENSE.txt Tue May 12 18:01:24 2009
@@ -515,6 +515,48 @@
======================================================================
+CALENDAR DATE SELECT LICENSE (MIT License)
+
+Copyright (c) 2009 Tim Charper
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+======================================================================
+
+DATE FUNCTIONS LICENSE (MIT License)
+
+Copyright (c) 2005-2009 Matt Kruse (javascripttoolbox.com)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
+======================================================================
+
The following files were contributed by Ahmed Mohombe:
extras/src/org/apache/click/extras/control/CountrySelect
@@ -548,4 +590,4 @@
Licensed under http://creativecommons.org/licenses/by/2.5/
-======================================================================
\ No newline at end of file
+======================================================================
Modified: incubator/click/trunk/click/NOTICE.txt
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/NOTICE.txt?rev=774005&r1=774004&r2=774005&view=diff
==============================================================================
--- incubator/click/trunk/click/NOTICE.txt (original)
+++ incubator/click/trunk/click/NOTICE.txt Tue May 12 18:01:24 2009
@@ -75,6 +75,18 @@
======================================================================
+This product includes the Calendar Date Select JavaScript library,
+developed by Tim Charper, distributed under the terms of the MIT license.
+http://code.google.com/p/calendardateselect/
+
+======================================================================
+
+This product includes the Date Functions Select JavaScript library,
+developed by Matt Kruse, distributed under the terms of the MIT license.
+http://javascripttoolbox.com/lib/date/
+
+======================================================================
+
This product includes the JQuery Star Rating plugin, developed by
Fyneworks.com, distributed under the terms of the MIT license.
http://www.fyneworks.com/jquery/star-rating/
Modified: incubator/click/trunk/click/documentation/docs/roadmap-changes.html
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/documentation/docs/roadmap-changes.html?rev=774005&r1=774004&r2=774005&view=diff
==============================================================================
--- incubator/click/trunk/click/documentation/docs/roadmap-changes.html (original)
+++ incubator/click/trunk/click/documentation/docs/roadmap-changes.html Tue May 12 18:01:24 2009
@@ -76,7 +76,7 @@
<dl>
<dt><a name="2.1.0"></a>
- <div class="release-header">Latest Development Release - Version 2.1.0 - ??? March 2009</div></dt>
+ <div class="release-header">Latest Development Release - Version 2.1.0 - ??? June 2009</div></dt>
<dd>
<div style="margin-left:-2em;margin-bottom:1em;">
IMPORTANT be sure to read the <a href="upgrade-path.html#1.5">1.5 upgrade path</a>
@@ -126,8 +126,8 @@
<li>
Added documentation describing the new HEAD element support.
Please see the new section on Page HEAD elements
- <a target="blank" class="external" href="user-guide/html/ch02s12.html">here</a>
- the section on Control HEAD elements <a target="blank" class="external" href="user-guide/html/ch03s05.html">here</a>.
+ <a href="user-guide/html/ch02s12.html">here</a>
+ the section on Control HEAD elements <a href="user-guide/html/ch03s05.html">here</a>.
</li>
</ul>
@@ -136,6 +136,17 @@
</div>
<ul style="padding: 0em; margin-left:0em;margin-bottom: 2em">
<li class="change">
+ Added new popup CalendarField that can be used in place of the old DateField
+ from Click 1.5. The new CalendarField popup uses the
+ <a target="_blank" class="external" href="http://code.google.com/p/calendardateselect/">Calendar Date Select</a>
+ which is built on top of the Prototype JavaScript library.
+ <p/>
+ Please note if you don't want a dependency on the Prototype library
+ you can use the third-party
+ <a class="external" target="_blank" href="http://code.google.com/p/click-calendar/">Click Calendar</a>
+ control instead.
+ </li>
+ <li class="change">
Added first class support for HEAD elements such as JavaScript and Css.
The following classes were added:
<a href="click-api/org/apache/click/control/element/Element.html">Element</a>,
@@ -214,7 +225,7 @@
</dd>
<dt><a name="2.0.2"></a><a name="1.5.2"></a>
- <a name="stable-release"></a><div class="release-header">Latest Stable Releases - Version 1.5.2 and Version 2.0.2 - ??? March 2009</div></dt>
+ <a name="stable-release"></a><div class="release-header">Latest Stable Releases - Version 1.5.2 and Version 2.0.2 - ??? May 2009</div></dt>
<dd>
<div style="margin-left:-2em;margin-bottom:1em;">
IMPORTANT be sure to read the <a href="upgrade-path.html#1.5">1.5 upgrade path</a>
Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/form/ExtraControlsForm.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/form/ExtraControlsForm.java?rev=774005&r1=774004&r2=774005&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/form/ExtraControlsForm.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/form/ExtraControlsForm.java Tue May 12 18:01:24 2009
@@ -46,6 +46,7 @@
import org.apache.click.extras.control.RegexField;
import org.apache.click.extras.control.TelephoneField;
import org.apache.click.extras.control.VirtualKeyboard;
+import org.apache.click.extras.prototype.CalendarField;
import org.apache.click.util.ClickUtils;
import org.springframework.stereotype.Component;
@@ -85,6 +86,7 @@
form.add(new CreditCardField("creditCardField"));
form.add(new ColorPicker("colorPicker"));
form.add(new DateField("dateField"));
+ form.add(new CalendarField("calendarField"));
form.add(new DoubleField("doubleField"));
form.add(new EmailField("emailField"));
form.add(new IntegerField("integerField"));
Modified: incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/FormTablePage.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/FormTablePage.java?rev=774005&r1=774004&r2=774005&view=diff
==============================================================================
--- incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/FormTablePage.java (original)
+++ incubator/click/trunk/click/examples/src/org/apache/click/examples/page/table/FormTablePage.java Tue May 12 18:01:24 2009
@@ -32,11 +32,11 @@
import org.apache.click.examples.control.InvestmentSelect;
import org.apache.click.examples.page.BorderPage;
import org.apache.click.examples.service.CustomerService;
-import org.apache.click.extras.control.DateField;
import org.apache.click.extras.control.EmailField;
import org.apache.click.extras.control.FieldColumn;
import org.apache.click.extras.control.FormTable;
import org.apache.click.extras.control.NumberField;
+import org.apache.click.extras.prototype.CalendarField;
import org.springframework.stereotype.Component;
/**
@@ -85,7 +85,8 @@
column.setTextAlign("right");
table.addColumn(column);
- column = new FieldColumn("dateJoined", new DateField());
+ CalendarField field = new CalendarField();
+ column = new FieldColumn("dateJoined", field);
column.setDataStyle("white-space", "nowrap");
table.addColumn(column);