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

Atle Enersen via opencms-dev <[email protected]> Wed, 20 Nov 2024 17:54:05 +0000
Newsgroups gmane.comp.cms.opencms.devel
Message-ID <VI1PR10MB20632F6DB678FA61FC54BA38A9212@VI1PR10MB2063.EURPRD10.PROD.OUTLOOK.COM>
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

_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
https://lists.opencms.org/mailman/listinfo/opencms-dev