[opencms-dev] No tag [format] defined in tag library imported with prefix [cms]

Atle Enersen atle.enersen at gmail.com
Wed Nov 20 18:54:05 CET 2024


I have this code going:

<%@ taglib prefix="cms" uri=http://www.opencms.org/taglib/cms %>

<cms:formatter var="content">

<div class="row rowpadding">
  <div class="col-lg-12">
<cms:format
    value="${content.value.AddedDate}"
    pattern="yyyy-MM-dd HH:mm:ss" />
  </div>
</div>

</cms:formatter>

It results in the following exception:

javax.servlet.jsp.JspException: org.apache.jasper.JasperException: /WEB-INF/jsp/offline/system/modules/org.enersen.core/formatters/enersenarticlesimple.jsp (line: [21], column: [0]) No tag [format] defined in tag library imported with prefix [cms]
                at org.opencms.jsp.CmsJspTagInclude.includeActionNoCache(CmsJspTagInclude.java:366)
                at org.opencms.jsp.CmsJspTagInclude.includeTagAction(CmsJspTagInclude.java:270)
                at org.opencms.jsp.CmsJspTagContainer.renderContainerElement(CmsJspTagContainer.java:1636)
                at org.opencms.jsp.CmsJspTagContainer.doEndTag(CmsJspTagContainer.java:601)

The cms:format is at line 21. Anyone have any ideas?

Alt godt/best regards, hilsen Atle Enersen.
--
Telefon: +47 48 06 31 71

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20241120/70b4997e/attachment.htm>


More information about the opencms-dev mailing list