Jahia dateField problem

Lorenzo Patocchi <[email protected]> Mon, 23 Jun 2008 23:19:01 +0200
Newsgroups gmane.comp.cms.jahia.template
Message-ID <[email protected]>
Hello,
we have upgraded from jahia 4.1.1 to jahia 4.2 build 19618  and noticed 
a serious problem handing dateField

the tag:

<content:dateField name="fromDate" defaultValue="" diffActive="true" 
display="false" valueId="fromDate" />

generated unusable output with 00 on month, i.e.: *16.00.2008 02:06*
Current workaround is:

org.jahia.data.beans.ContainerBean container = 
(org.jahia.data.beans.ContainerBean)pageContext.getAttribute("newsContainer");
fDate = new 
Date(Long.parseLong((String)container.getFieldObject("fromDate")));

but would be fine to have it working as 4.1 version.

but also editor is get affected by this bug.



Another problem is the reset date, actually not working.
Thank you for support.

-- 
Lorenzo Patocchi
Dipl. Ing. STS/ETS/HTL
[email protected] - www.cryms.com
Tel: +41 91 60 55266
Cel: +41 79 375 0891
Fax: +41 91 223 9797

Cryms sagl
Via Vedeggio 1
Uovo di Manno
6928 Manno - Lugano
Switzerland

_______________________________________________
template_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/template_list
smime.p7s (application/x-pkcs7-signature, 3.3 KB) - not displayed