Author: apetrelli
Date: Tue Sep 30 11:08:44 2008
New Revision: 700538
URL: http://svn.apache.org/viewvc?rev=700538&view=rev
Log:
TILES-303
Added a what's new page.
Modified linked pages to allow a better linking.
Added:
tiles/framework/trunk/src/site/apt/whats-new.apt
Modified:
tiles/framework/trunk/src/site/apt/migration/configuration.apt
tiles/framework/trunk/src/site/apt/tutorial/advanced/list-attributes.apt
tiles/framework/trunk/src/site/apt/tutorial/advanced/runtime.apt
tiles/framework/trunk/src/site/apt/tutorial/configuration.apt
tiles/framework/trunk/src/site/site.xml
tiles/framework/trunk/src/site/xdoc/index.xml
Modified: tiles/framework/trunk/src/site/apt/migration/configuration.apt
URL:
http://svn.apache.org/viewvc/tiles/framework/trunk/src/site/apt/migration/configuration.apt?rev=700538&r1=700537&r2=700538&view=diff
==============================================================================
--- tiles/framework/trunk/src/site/apt/migration/configuration.apt (original)
+++ tiles/framework/trunk/src/site/apt/migration/configuration.apt Tue Sep 30
11:08:44 2008
@@ -21,7 +21,7 @@
Migrating Tiles configuration files
-----------
-Reusing old Tiles configuration files
+{Reusing old Tiles configuration files}
With Tiles 2.1 it is possible to use old Struts-Tiles definition files, since
1.1 version.
Modified:
tiles/framework/trunk/src/site/apt/tutorial/advanced/list-attributes.apt
URL:
http://svn.apache.org/viewvc/tiles/framework/trunk/src/site/apt/tutorial/advanced/list-attributes.apt?rev=700538&r1=700537&r2=700538&view=diff
==============================================================================
--- tiles/framework/trunk/src/site/apt/tutorial/advanced/list-attributes.apt
(original)
+++ tiles/framework/trunk/src/site/apt/tutorial/advanced/list-attributes.apt
Tue Sep 30 11:08:44 2008
@@ -60,7 +60,7 @@
it is iterated using the <<<\<c:forEach\>>>> tag. The compound attributes are
then rendered one after the other.
-* List attribute inheritance
+* {List attribute inheritance}
When you extend a definition that contains a list attribute, you can
"inherit" its elements. For example:
Modified: tiles/framework/trunk/src/site/apt/tutorial/advanced/runtime.apt
URL:
http://svn.apache.org/viewvc/tiles/framework/trunk/src/site/apt/tutorial/advanced/runtime.apt?rev=700538&r1=700537&r2=700538&view=diff
==============================================================================
--- tiles/framework/trunk/src/site/apt/tutorial/advanced/runtime.apt (original)
+++ tiles/framework/trunk/src/site/apt/tutorial/advanced/runtime.apt Tue Sep 30
11:08:44 2008
@@ -60,7 +60,7 @@
</tiles:insertTemplate>
-----------------------------------
-* Inserting modified definitions
+* {Inserting modified definitions}
Definitions can be inserted not only just as they are, but also overriding
their attributes and their template at runtime:
Modified: tiles/framework/trunk/src/site/apt/tutorial/configuration.apt
URL:
http://svn.apache.org/viewvc/tiles/framework/trunk/src/site/apt/tutorial/configuration.apt?rev=700538&r1=700537&r2=700538&view=diff
==============================================================================
--- tiles/framework/trunk/src/site/apt/tutorial/configuration.apt (original)
+++ tiles/framework/trunk/src/site/apt/tutorial/configuration.apt Tue Sep 30
11:08:44 2008
@@ -126,7 +126,7 @@
For the details see {{{../config-reference.html}Tiles configuration
reference}}.
-* Pure Java configuration
+* {Pure Java configuration}
In both environments, it is possible to use pure <<Java configuration>>,
without messing with the deployment descriptors.
Added: tiles/framework/trunk/src/site/apt/whats-new.apt
URL:
http://svn.apache.org/viewvc/tiles/framework/trunk/src/site/apt/whats-new.apt?rev=700538&view=auto
==============================================================================
--- tiles/framework/trunk/src/site/apt/whats-new.apt (added)
+++ tiles/framework/trunk/src/site/apt/whats-new.apt Tue Sep 30 11:08:44 2008
@@ -0,0 +1,73 @@
+~~ $Id: getting_started.apt 693560 2008-09-09 18:54:13Z apetrelli $
+~~
+~~ 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.
+~~
+ -----------
+ What's new in Tiles 2.1
+ -----------
+
+What's new in Tiles 2.1
+
+ Tiles 2.1 is a completely compatible enhancement of Tiles 2.0.x. It
introduces
+ new features, while modifying the internal structure to allow an easier API
+ usage.
+
+* New features
+
+ Tiles 2.1 introduces new features, but remaining compatible to Tiles 2.0.x.
+ The new features are:
+
+ *
{{{tutorial/advanced/nesting-extending.html#Anonymous_nested_definitions}Anonymous
nested definitions}}:
+ now definitions can be put just as an attribute in an enclosing definition,
+ without the necessity to define a new named definition to use only once.
+
+ * <<Wildcard support>>: wildcards are supported:
+
+ ** in {{{tutorial/advanced/wildcard.html}XML definition files}};
+
+ ** when enumerating the {{{tutorial/wildcard-configuration.html}list of
Tiles definition files to load}}.
+
+ * {{{tutorial/advanced/el-support.html}EL support}} in Tiles definition
files, when specifying attributes and
+ templates.
+
+ * Ability to
+ {{{migration/configuration.html#Reusing_old_Tiles_configuration_files}load
Tiles 1.x definition files}}.
+
+ * {{{tutorial/configuration.html#Pure_Java_configuration}Pure Java
configuration}},
+ except for the configuration of the Tiles container factory.
+
+ * List attributes can now
+ {{{tutorial/advanced/list-attributes.html#List_attribute_inheritance}inherit
members from the extending definition}}.
+
+ * Attribute values can be
+ {{{tutorial/advanced/nesting-extending.html#Cascaded_attributes}cascaded to
nested definitions}},
+ so the configuration is easier to write.
+
+ * Ability to
+ {{{tutorial/advanced/runtime.html#Inserting_modified_definitions}override
the template when inserting definitions}}.
+
+ * Customize {{{tutorial/advanced/attribute-rendering.html}rendering of
attributes}},
+ for example to write integrations with other frameworks.
+
+* Under the hood
+
+ * Tiles exceptions are all unchecked now: you can now remove all your
+ try-catches.
+
+ * Added the concept of "definition DAO" that allows loading definitions from
+ various sources, for example a DB.
Modified: tiles/framework/trunk/src/site/site.xml
URL:
http://svn.apache.org/viewvc/tiles/framework/trunk/src/site/site.xml?rev=700538&r1=700537&r2=700538&view=diff
==============================================================================
--- tiles/framework/trunk/src/site/site.xml (original)
+++ tiles/framework/trunk/src/site/site.xml Tue Sep 30 11:08:44 2008
@@ -50,6 +50,9 @@
</menu>
<menu name="Documentation">
<item
+ name="What's new"
+ href="whats-new.html"/>
+ <item
name="Getting Started"
href="getting_started.html"/>
<item
Modified: tiles/framework/trunk/src/site/xdoc/index.xml
URL:
http://svn.apache.org/viewvc/tiles/framework/trunk/src/site/xdoc/index.xml?rev=700538&r1=700537&r2=700538&view=diff
==============================================================================
--- tiles/framework/trunk/src/site/xdoc/index.xml (original)
+++ tiles/framework/trunk/src/site/xdoc/index.xml Tue Sep 30 11:08:44 2008
@@ -46,6 +46,7 @@
<subsection name="Documentation">
<ul>
+ <li><a href="whats-new.html"><strong>What's new in Tiles
2.1</strong></a></li>
<li><a href="getting_started.html">Getting Started</a></li>
<li><a href="tutorial/index.html">Tutorial</a></li>
<li><a href="migration/index.html">Migration from
Struts-Tiles</a></li>