cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@cocoon.zones.apache.org
Subject [DAISY] Updated: Advanced Control Flow - JXTemplate
Date Mon, 28 Nov 2005 09:41:10 GMT
A document has been updated:

http://cocoon.zones.apache.org/daisy/legacydocs/511.html

Document ID: 511
Branch: main
Language: default
Name: Advanced Control Flow - JXTemplate (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 11/28/05 9:40:58 AM
Updated by: Helma van der Linden

A new version has been created, state: publish

Parts
=====
Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 22766 bytes (previous version: 22304 bytes)
Content diff:
(122 equal lines skipped)
    instead)</li>
    </ul>
    
+++ <p class="note">When used inside flow, JXTemplate has access to Java and can
+++ therefore evaluate expressions like "java.util.Date()" or "java.util.HashMap()".
+++ This does <strong>NOT</strong> work when JXTemplates are used without flow.
Some
+++ symptoms:<br/>
+++ [*&lt;jx:out value="${java.util.Date()"/&gt;*] results in [**]</p>
+++ 
+++ <p class="note">&lt;jx:formatDate value="${java.util.Date()}"
+++ pattern="yyyyMMdd"/&gt; results in 'Cannot format given Object as a Date'</p>
+++ 
    <h1>Parameters</h1>
    
    <h2>lenient-xpath</h2>
(554 equal lines skipped)
    specifies an expression that must evaluate to a macro invocation. For example:
    </p>
    
--- <pre>
--- &lt;jx:set var="tags" value="${java.util.HashMap()}"/&gt;
+++ <pre>&lt;jx:set var="tags" value="${java.util.HashMap()}"/&gt;
    
    &lt;jx:macro name="dynamic-tag"&gt;
      &lt;jx:parameter name="id"/&gt;
(25 equal lines skipped)


Fields
======
no changes

Links
=====
no changes

Custom Fields
=============
no changes

Collections
===========
no changes

Mime
View raw message