Hello,
You can only use the value attribute on tag declareField. For the tag dateField, you can use the defaultValue attribute.
Please have a look at the tld file to know more about the attributes in jahia\WEB-INF\etc\taglibs\content.tld
Cheers,
Philippe.
At 09.03.2005 17:32, you wrote:
Hi all,
i try to put a date field on my template: (i use Jahia 4.0.4)
...
<content:declareField title="Date" name="date" type="Date"/>
<content:dateField id="date" name="date" valueId="beanDate" value="<jahia_calendar[DD.MM.YYYY HH:MM]>"/>
...
I have the error:
Exception StackTrace: Cause level : 0 (level 0 is the most precise exception)
org.apache.jasper.JasperException: /jsp/jahia/templates/myjahiasite/handicap13/h13_editorial.jsp(61,4) Attribute value invalid according to the specified TLD
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:428)
All the documentation i've found mention this attribute...but it does not work.
Does anybody know how to specify a date format?
Thanks!
Regards,
-- ---------- []
Guillaume Kuhmel Ing�nieur Concepteur D�veloppeur <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED] T�l. : +33 (0)6.88.33.36.16
<http://www.sqli.fr>http://www.sqli.com Groupe SQLI 75 rue Marcelin Berthelot 13848 Aix en Provence Cedex 3
-------=[ pvollenweider at jahia dot com ]=--------- Jahia : A collaborative source CMS and Portal Server www.jahia.org Community and product web site www.jahia.com Commercial services company
<<inline: 338574.gif>>
