[opencms-dev] Problems with property date
Patricia Ferre Zudaire
pferre at sgi.es
Thu Dec 15 12:52:38 CET 2005
Hello list,
I have defined an xsd with a DateTime property called "Date".
If I want to display it, I do:
<cms:contentload collector="singleFile" param="${opencms.uri}"
editable="true">
<cms:contentcheck ifexists="Date">
<cms:contentshow element="Date" />
</cms:contentcheck>
These one dspaly a timestamp. But I want to formt it, and when I try
to use it with Java (using :
<% CmsJspActionElement cms = new CmsJspActionElement(pageContext,
request, response);
String d = cms.property("Date");
out.println(d);
%>
I obtain "null". How can I do it, please??
Thanks a lot and best regards
______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
puede contener informacion clasificada por su emisor como confidencial
en el marco de su Sistema de Gestion de Seguridad de la
Informacion siendo para uso exclusivo del destinatario, quedando
prohibida su divulgacion copia o distribucion a terceros sin la
autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.
______________________
This message including any attachments may contain confidential
information, according to our Information Security Management System,
and intended solely for a specific individual to whom they are addressed.
Any unauthorised copy, disclosure or distribution of this message
is strictly forbidden. If you have received this transmission in error,
please notify the sender immediately and delete it.
______________________
More information about the opencms-dev
mailing list