[opencms-dev] OpenCmsDate - problems reusing taglib tags
Mathias Lin | SYSVISION
mail at mathiaslin.com
Mon Oct 26 04:45:03 CET 2009
Hi Ruben,
you should post the source code / jsp code directly, otherwise it's hard to
help.
Regards, Mathias
Ruben Malchow-3 wrote:
>
>
>
> hello list.
>
> i am running into a somewhat strange problem. ocms is 7.0.5.
>
> i have a field in a schema that is a date. i also have a template that
> displays this date as part of the headline of an article. to format
> this, i have a little jsp tag that takes a pattern and a long value and
> formats tries to format the value according to the pattern. in my
> template, this tag is surrounded by a jstl try/catch thing (so if it
> doesn't work, the result is just an empty string).
>
> now what happens is this: if i call the template with a cotent xml which
> doesn't have the date set yet, it displays as expected, so instead of
> the date, there is an empty string. BUT: it also breaks the editor.
> meaning that when i go back to set the date, the datetime widget is
> gone. until i restart the tomcat.
>
> any ideas? i have no idea where to start looking ... my tag doesn't even
> use any ocms classes, it just instantiates a SimpleDateFormat.
>
> .rm
>
-----
Mathias Lin
SYSVISION Ltd., China
http://www.sysvision.com
--
View this message in context: http://www.nabble.com/OpenCmsDate---problems-reusing-taglib-tags-tp26054305p26054330.html
Sent from the OpenCMS - Dev mailing list archive at Nabble.com.
More information about the opencms-dev
mailing list