[opencms-dev] OpenCms 8.0.3 & Custom Taglib

Rüdiger Kurz r.kurz at alkacon.com
Tue Feb 21 12:25:43 CET 2012


Hi Sandrine,

to make sure your taglib works, try to include your custom taglib in a 
simple JSP in the "classic JSP style":
<%@ taglib prefix="{YOUR_TAGLIB_NAME}" uri="{YOUR_TAGLIB_URL}" %>

if that works, we can have a closer look how to use the "shortcut":
<%@page taglibs="c,cms,fn,fmt,utils" %>

ragards
Rüdiger

Am 21.02.2012 11:24, schrieb Sandrine Prousteau:
> Hi all,
>
> I'm using OpenCms 8.0.3 and I'd like to add my custom taglib to my jsp..
> I've created my .tld, and exported it in /WEB-INF/.
> I've added the line in opencms-vfs.xml on<loader
> class="org.opencms.loader.CmsJspLoader">.
> I've added the taglib short-name "utils" in my jsp :<%@page
> buffer="none" session="true" taglibs="c,cms,fn,fmt,utils" %>
> I've restarted Tomcat.
> But when I use it, it not interpreted. There is no error logs.
> Please, what is missing?
>
> Thanks in advance.
> Sandrine
> _______________________________________________
> 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
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>

-- 
Kind Regards,
Rüdiger.

-------------------

Rüdiger Kurz

Alkacon Software GmbH  - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org



More information about the opencms-dev mailing list