hepabolu wrote:
Can someone please explain why:
<jx:set var="mydate" value="${java.util.Date()}"/>
and
<jx:out value="${java.util.Date()}"/>
result in nothing
and
<jx:formatDate value="${java.util.Date()}" pattern="yyyyMMdd"/>
results in 'Cannot format given Object as a Date'?
Cocoon 2.1.9-dev
I've seen a similar message here:
http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=107801323208467&w=2
I think you are not using flow. Unfortunatelly JX contract is different
when used outside flow in 2.1.x (access to ${java.*} is performed by rhino).
We could backport jxtg from trunk but it's current state would force
users to handle incompatibilities. It would also require Request,
Session, Context interfaces to be extended.
--
Leszek Gawron [EMAIL PROTECTED]
IT Manager MobileBox sp. z o.o.
+48 (61) 855 06 67 http://www.mobilebox.pl
mobile: +48 (501) 720 812 fax: +48 (61) 853 29 65