cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gkossakow...@apache.org
Subject svn commit: r672571 - in /cocoon/site/site/2.2/blocks/template/1.0: 1391_1_1.html changes-report.html
Date Sat, 28 Jun 2008 19:08:08 GMT
Author: gkossakowski
Date: Sat Jun 28 12:08:08 2008
New Revision: 672571

URL: http://svn.apache.org/viewvc?rev=672571&view=rev
Log:
Publish updated documentation of Template block. Thanks to Kamal Bhatt for updaeting the documentation.

Modified:
    cocoon/site/site/2.2/blocks/template/1.0/1391_1_1.html
    cocoon/site/site/2.2/blocks/template/1.0/changes-report.html

Modified: cocoon/site/site/2.2/blocks/template/1.0/1391_1_1.html
URL: http://svn.apache.org/viewvc/cocoon/site/site/2.2/blocks/template/1.0/1391_1_1.html?rev=672571&r1=672570&r2=672571&view=diff
==============================================================================
--- cocoon/site/site/2.2/blocks/template/1.0/1391_1_1.html (original)
+++ cocoon/site/site/2.2/blocks/template/1.0/1391_1_1.html Sat Jun 28 12:08:08 2008
@@ -489,13 +489,15 @@
   <jx:attribute name="${attrName} value="Expression"/>
 </Test>
 </pre><p>The above template produces the following output:</p><pre>&lt;Test
bar=&quot;tar&quot;/&gt;
-</pre><h2 xmlns:p="http://outerx.org/daisy/1.0#publisher" xmlns:ns="http://outerx.org/daisy/1.0">element</h2><p>The
<tt>element</tt> tag allows the dynamic addition of element. This
-includes the dynamic specificatgion of the element name.</p><pre>&lt;jx:element
name=&quot;AttributeName&quot; [uri=&quot;NamespaceUri&quot;] [prefix=&quot;Prefix&quot;]&gt;
+</pre><h2 xmlns:p="http://outerx.org/daisy/1.0#publisher" xmlns:ns="http://outerx.org/daisy/1.0">element</h2><p>As
of version 1.2.0 of the template block, the <tt>element</tt> tag allows
+the dynamic addition of element. This includes the dynamic specification of the
+element name.</p><pre>&lt;jx:element name=&quot;AttributeName&quot;
[uri=&quot;NamespaceUri&quot;] [prefix=&quot;Prefix&quot;]&gt;
   ...
 &lt;/jx:element&gt;
 </pre><p>If a prefix is specified, then a namespace must also be specified. However,
a
 namespace may be specified without a prefix.<tt><tt><tt> <tt>jx:element
-</tt></tt></tt></tt>may be used in conjunction with<tt> jx:attribute</tt>.</p><p>For
example,</p><pre>&lt;jx:element name=&quot;AttributeAndChildNode&quot;&gt;
+</tt></tt></tt></tt>may be used in conjunction with<tt> jx:attribute</tt>.</p><p>For
example,</p><pre>&lt;jx:set var=&quot;name&quot; value=&quot;AttributeAndChildNode&quot;/&gt;
+&lt;jx:element name=&quot;${name}&quot;&gt;
   &lt;jx:attribute name=&quot;attribute&quot; value=&quot;attr&quot;/&gt;  
  
   &lt;ChildNode&gt;A&lt;/ChildNode&gt;
 &lt;/jx:element&gt;</pre><p>The above template produces the following
output:</p><pre>&lt;AttributeAndChildNode attribute=&quot;attr&quot;&gt;

Modified: cocoon/site/site/2.2/blocks/template/1.0/changes-report.html
URL: http://svn.apache.org/viewvc/cocoon/site/site/2.2/blocks/template/1.0/changes-report.html?rev=672571&r1=672570&r2=672571&view=diff
==============================================================================
--- cocoon/site/site/2.2/blocks/template/1.0/changes-report.html (original)
+++ cocoon/site/site/2.2/blocks/template/1.0/changes-report.html Sat Jun 28 12:08:08 2008
@@ -190,7 +190,7 @@
               </ul>
     </li>
       </ul>
-         <h2><a name="Changes Report"></a>Changes Report</h2><h3><a
name="Release History"></a>Release History</h3><table class="bodyTable"><tr
class="a"><th>Version</th><th>Date</th><th>Description</th></tr><tr
class="b"><td><a href="#1.2.0">1.2.0</a></td><td>2008-??-??</td><td>unreleased</td></tr><tr
class="a"><td><a href="#1.0.0-RC1">1.0.0-RC1</a></td><td>2007-??-??</td><td>unreleased</td></tr><tr
class="b"><td><a href="#1.0.0-M3">1.0.0-M3</a></td><td>2007-03-02</td><td>released</td></tr><tr
class="a"><td><a href="#1.0.0-M2">1.0.0-M2</a></td><td>2006-12-19</td><td>released</td></tr><tr
class="b"><td><a href="#1.0.0-M1">1.0.0-M1</a></td><td>2006-08-03</td><td>released</td></tr></table><br
/><br /><h3><a name="1.2.0"></a>Release 1.2.0 - 2008-??-??</h3><table
class="bodyTable"><tr class="a"><th>Type</th><th>Changes</th><th>By</th></tr><tr
class="b"><td><img src="images/add.gif" alt="add" /></td><td>nullAdded
support for jx:element - the instructions that allow dynamic elemen
 t creation. Thanks to <a href="mailto:bhatt@tt.com.au">Kamal Bhatt</a>.</td><td><a
href="team-list.html#gkossakowski">gkossakowski</a></td></tr></table><h3><a
name="1.0.0-RC1"></a>Release 1.0.0-RC1 - 2007-??-??</h3><table class="bodyTable"><tr
class="a"><th>Type</th><th>Changes</th><th>By</th></tr></table><h3><a
name="1.0.0-M3"></a>Release 1.0.0-M3 - 2007-03-02</h3><table class="bodyTable"><tr
class="b"><th>Type</th><th>Changes</th><th>By</th></tr><tr
class="a"><td><img src="images/fix.gif" alt="fix" /></td><td>Fix
exception handling in script manager. Do not wrap processing exception into SAXException.</td><td><a
href="team-list.html#vgritsenko">vgritsenko</a></td></tr><tr class="b"><td><img
src="images/fix.gif" alt="fix" /></td><td>Fix an ArrrayIndexOutOfBoundsException
with jx:comment. Thanks to <a href="mailto:ellis@nukinetics.com">Ellis Pritchard</a>.</td><td><a
href="team-list.html#joerg">joerg</a></td></tr><tr class="a"><td><img
src="images/add.gif" alt="add" /></td><
 td>New syntax for jx:attribute tag: apart from
+         <h2><a name="Changes Report"></a>Changes Report</h2><h3><a
name="Release History"></a>Release History</h3><table class="bodyTable"><tr
class="a"><th>Version</th><th>Date</th><th>Description</th></tr><tr
class="b"><td><a href="#1.2.0">1.2.0</a></td><td>2008-??-??</td><td>unreleased</td></tr><tr
class="a"><td><a href="#1.0.0-RC1">1.0.0-RC1</a></td><td>2007-??-??</td><td>unreleased</td></tr><tr
class="b"><td><a href="#1.0.0-M3">1.0.0-M3</a></td><td>2007-03-02</td><td>released</td></tr><tr
class="a"><td><a href="#1.0.0-M2">1.0.0-M2</a></td><td>2006-12-19</td><td>released</td></tr><tr
class="b"><td><a href="#1.0.0-M1">1.0.0-M1</a></td><td>2006-08-03</td><td>released</td></tr></table><br
/><br /><h3><a name="1.2.0"></a>Release 1.2.0 - 2008-??-??</h3><table
class="bodyTable"><tr class="a"><th>Type</th><th>Changes</th><th>By</th></tr><tr
class="b"><td><img src="images/add.gif" alt="add" /></td><td>nullAdded
support for jx:element - the instructions that allow dynamic elemen
 t creation. Thanks to <a href="mailto:bhatt@tt.com.au">Kamal Bhatt</a>.</td><td><a
href="team-list.html#gkossakowski">gkossakowski</a></td></tr><tr class="a"><td><img
src="images/add.gif" alt="add" /></td><td>Added check for name correctnes in
jx:attribute. Thanks to <a href="mailto:bhatt@tt.com.au">Kamal Bhatt</a>.</td><td><a
href="team-list.html#gkossakowski">gkossakowski</a></td></tr></table><h3><a
name="1.0.0-RC1"></a>Release 1.0.0-RC1 - 2007-??-??</h3><table class="bodyTable"><tr
class="b"><th>Type</th><th>Changes</th><th>By</th></tr></table><h3><a
name="1.0.0-M3"></a>Release 1.0.0-M3 - 2007-03-02</h3><table class="bodyTable"><tr
class="a"><th>Type</th><th>Changes</th><th>By</th></tr><tr
class="b"><td><img src="images/fix.gif" alt="fix" /></td><td>Fix
exception handling in script manager. Do not wrap processing exception into SAXException.</td><td><a
href="team-list.html#vgritsenko">vgritsenko</a></td></tr><tr class="a"><td><img
src="images/fix.gif" alt="fix" /></td><td
 >Fix an ArrrayIndexOutOfBoundsException with jx:comment. Thanks to <a href="mailto:ellis@nukinetics.com">Ellis
Pritchard</a>.</td><td><a href="team-list.html#joerg">joerg</a></td></tr><tr
class="b"><td><img src="images/add.gif" alt="add" /></td><td>New
syntax for jx:attribute tag: apart from
 <
 jx:atttribute name="text" value="abc"/
 >
@@ -211,10 +211,10 @@
 >
 <
 /jx:attribute
-></td><td><a href="team-list.html#lgawron">lgawron</a></td></tr><tr
class="b"><td><img src="images/add.gif" alt="add" /></td><td>JXTG:
Pluggable expression parser. New expression syntax: ${expr}, #{expr} -
+></td><td><a href="team-list.html#lgawron">lgawron</a></td></tr><tr
class="a"><td><img src="images/add.gif" alt="add" /></td><td>JXTG:
Pluggable expression parser. New expression syntax: ${expr}, #{expr} -
 >
 {jexl:expr}, {jxpath:expr}.
-This is a target syntax for CTemplate.</td><td><a href="team-list.html#lgawron">lgawron</a></td></tr><tr
class="a"><td><img src="images/add.gif" alt="add" /></td><td>support
for following use cases:
+This is a target syntax for CTemplate.</td><td><a href="team-list.html#lgawron">lgawron</a></td></tr><tr
class="b"><td><img src="images/add.gif" alt="add" /></td><td>support
for following use cases:
 <
 jx:out value=
 "
@@ -241,8 +241,8 @@
 true
 "
 /
-></td><td><a href="team-list.html#lgawron">lgawron</a></td></tr><tr
class="b"><td><img src="images/fix.gif" alt="fix" /></td><td>that
caused considerable
-performance problems.</td><td><a href="team-list.html#dfagerstrom">dfagerstrom</a></td></tr><tr
class="a"><td><img src="images/update.gif" alt="update" /></td><td>JXTemplateGenerator's
ScriptManager uses transient store to cache parsed templates.</td><td><a href="team-list.html#lgawron">lgawron</a></td></tr></table><h3><a
name="1.0.0-M2"></a>Release 1.0.0-M2 - 2006-12-19</h3><table class="bodyTable"><tr
class="b"><th>Type</th><th>Changes</th><th>By</th></tr></table><h3><a
name="1.0.0-M1"></a>Release 1.0.0-M1 - 2006-08-03</h3><table class="bodyTable"><tr
class="a"><th>Type</th><th>Changes</th><th>By</th></tr><tr
class="b"><td><img src="images/add.gif" alt="add" /></td><td>Initial
creation.</td><td><a href="team-list.html#reinhard">reinhard</a></td></tr></table>
+></td><td><a href="team-list.html#lgawron">lgawron</a></td></tr><tr
class="a"><td><img src="images/fix.gif" alt="fix" /></td><td>that
caused considerable
+performance problems.</td><td><a href="team-list.html#dfagerstrom">dfagerstrom</a></td></tr><tr
class="b"><td><img src="images/update.gif" alt="update" /></td><td>JXTemplateGenerator's
ScriptManager uses transient store to cache parsed templates.</td><td><a href="team-list.html#lgawron">lgawron</a></td></tr></table><h3><a
name="1.0.0-M2"></a>Release 1.0.0-M2 - 2006-12-19</h3><table class="bodyTable"><tr
class="a"><th>Type</th><th>Changes</th><th>By</th></tr></table><h3><a
name="1.0.0-M1"></a>Release 1.0.0-M1 - 2006-08-03</h3><table class="bodyTable"><tr
class="b"><th>Type</th><th>Changes</th><th>By</th></tr><tr
class="a"><td><img src="images/add.gif" alt="add" /></td><td>Initial
creation.</td><td><a href="team-list.html#reinhard">reinhard</a></td></tr></table>
     </div>
 
     <!-- end of content -->



Mime
View raw message