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 2010/02/05 14:59:57 UTC
svn commit: r906937 - in /click/trunk/click/documentation:
docs/roadmap-changes.html dtds/ dtds/click-2.1.dtd
Author: sabob
Date: Fri Feb 5 13:59:57 2010
New Revision: 906937
URL: http://svn.apache.org/viewvc?rev=906937&view=rev
Log:
defined an official dtd doctype. CLK-587
Added:
click/trunk/click/documentation/dtds/
click/trunk/click/documentation/dtds/click-2.1.dtd
Modified:
click/trunk/click/documentation/docs/roadmap-changes.html
Modified: click/trunk/click/documentation/docs/roadmap-changes.html
URL: http://svn.apache.org/viewvc/click/trunk/click/documentation/docs/roadmap-changes.html?rev=906937&r1=906936&r2=906937&view=diff
==============================================================================
--- click/trunk/click/documentation/docs/roadmap-changes.html (original)
+++ click/trunk/click/documentation/docs/roadmap-changes.html Fri Feb 5 13:59:57 2010
@@ -66,12 +66,10 @@
<h1>Road Map and Changes</h1>
<h2>Road Map</h2>
-The next scheduled Click release will be version 2.1.0 final in November 2009.
-<p/>
New Click releases will be released every quarter with the next version Click 2.2.0
-scheduled for the end of December 2009. Tentative features for the next release
-include @Bindable support for Page getters/setters, improved Menu control,
-improved project generation, documentation and examples.
+scheduled for the end of March 2010. Tentative features for the next release
+includes improved Ajax support, @Bindable support for Page getters/setters and
+an improved Menu control.
<p> </p>
@@ -79,7 +77,7 @@
<dl>
<dt><a name="2.1.0"></a>
- <div class="release-header">Latest Stable Release - Version 2.1.0 - ??? January 2010</div>
+ <div class="release-header">Latest Stable Release - Version 2.1.0 - 10 February 2010</div>
</dt>
<dd>
<div style="margin-left:-2em;margin-bottom:1em;">
@@ -166,7 +164,7 @@
<b>Deprecated:</b>
</div>
<ul style="padding: 0em; margin-left:0em;margin-bottom: 2em">
- <li class="change">
+ <li class="change">
Deprecated methods: <a href="click-api/org/apache/click/Control.html#getHtmlImports()">Control.getHtmlImports()</a> and
<a href="click-api/org/apache/click/Page.html#getHtmlImports()">Page.getHtmlImports()</a>.
These methods have been deprecated in favor of
@@ -186,6 +184,15 @@
</div>
<ul style="padding: 0em; margin-left:0em;margin-bottom: 2em">
<li class="change">
+ The click.dtd has been published to
+ <a href="http://click.apache.org/dtds/click-2.1.dtd">http://click.apache.org/dtds/click-2.1.dtd</a>.
+ If you want your configuration to conform to the click.dtd, include
+ the following declaration in your click.xml:
+ <pre class="prettyprint"><!DOCTYPE click-app PUBLIC
+ "-//Apache Software Foundation//DTD Click Configuration 2.1//EN"
+ "http://click.apache.org/dtds/click_2_1.dtd"> </pre>
+ </li>
+ <li class="change">
Added support for <a class="external" target="_blank" href="http://code.google.com/appengine/docs/java/overview.html">Google App Engine</a>,
a free Java hosting environment from Google. This provides an ideal
environment for students and startups to easily host their Click
Added: click/trunk/click/documentation/dtds/click-2.1.dtd
URL: http://svn.apache.org/viewvc/click/trunk/click/documentation/dtds/click-2.1.dtd?rev=906937&view=auto
==============================================================================
--- click/trunk/click/documentation/dtds/click-2.1.dtd (added)
+++ click/trunk/click/documentation/dtds/click-2.1.dtd Fri Feb 5 13:59:57 2010
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ 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.
+-->
+
+<!--
+ DTD for the Click Application Configuration File, Version 2.1
+
+ To support validation of your configuration file, include the following
+ DOCTYPE element at the beginning (after the "xml" declaration):
+
+ <!DOCTYPE click-app PUBLIC
+ "-//Apache Software Foundation//DTD Click Configuration 2.1//EN"
+ "http://click.apache.org/dtds/click_2_1.dtd">
+-->
+
+<!-- The Click Application (click.xml) Document Type Definition. -->
+<!ELEMENT click-app (pages*, headers?, format?, mode?, controls?, file-upload-service?, log-service?, template-service?)>
+ <!ATTLIST click-app charset CDATA #IMPLIED>
+ <!ATTLIST click-app locale CDATA #IMPLIED>
+
+ <!-- Application pages. -->
+ <!ELEMENT pages (page*, excludes*)>
+ <!ATTLIST pages package CDATA #IMPLIED>
+ <!ATTLIST pages automapping (true|false) "true">
+ <!ATTLIST pages autobinding (annotation|public|none) "annotation">
+
+ <!-- Page definition. -->
+ <!ELEMENT page (header*)>
+ <!ATTLIST page path CDATA #REQUIRED>
+ <!ATTLIST page classname CDATA #REQUIRED>
+
+ <!-- Excludes definition. -->
+ <!ELEMENT excludes (#PCDATA)>
+ <!ATTLIST excludes pattern CDATA #REQUIRED>
+
+ <!-- Application default page headers. -->
+ <!ELEMENT headers (header*)>
+
+ <!-- Header definition. -->
+ <!ELEMENT header (#PCDATA)>
+ <!ATTLIST header name CDATA #REQUIRED>
+ <!ATTLIST header value CDATA #REQUIRED>
+ <!ATTLIST header type (String|Integer|Date) "String">
+
+ <!-- Page template formatter class. An new format object added to
+ the Velocity context under the key: "format". -->
+ <!ELEMENT format (#PCDATA)>
+ <!ATTLIST format classname CDATA #FIXED "org.apache.click.util.Format">
+
+ <!-- Application mode, which configures logging and caching. -->
+ <!ELEMENT mode (#PCDATA)>
+ <!ATTLIST mode value (production|profile|development|debug|trace) "development">
+
+ <!-- Application control objects. -->
+ <!ELEMENT controls (control*, control-set*)>
+
+ <!-- Deployable control class. -->
+ <!ELEMENT control (#PCDATA)>
+ <!ATTLIST control classname CDATA #REQUIRED>
+
+ <!-- Deployable Third Party Set of Controls -->
+ <!ELEMENT control-set (#PCDATA)>
+ <!ATTLIST control-set name CDATA #REQUIRED>
+
+ <!-- File Upload Service. -->
+ <!ELEMENT file-upload-service (property*)>
+ <!ATTLIST file-upload-service classname CDATA #FIXED "org.apache.click.service.FileUploadService">
+
+ <!-- Property definition. -->
+ <!ELEMENT property (#PCDATA)>
+ <!ATTLIST property name CDATA #REQUIRED>
+ <!ATTLIST property value CDATA #REQUIRED>
+
+ <!-- Log Service. -->
+ <!ELEMENT log-service (property*)>
+ <!ATTLIST log-service classname CDATA #FIXED "org.apache.click.service.ConsoleLogService">
+
+ <!-- Template Service class. -->
+ <!ELEMENT template-service (property*)>
+ <!ATTLIST template-service classname CDATA #FIXED "org.apache.click.service.VelocityTemplateService">