[opencms-dev] OpenCms 8.0.3 & Custom Taglib
Sandrine Prousteau
s.prousteau at eurelis.com
Wed Feb 22 10:45:27 CET 2012
Thanks for your answer.
My taglib now works with <%@page taglibs="c,cms,fn,fmt,utils" %>, I think I had forgotten to reload something...
-----Message d'origine-----
De : opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] De la part de Rüdiger Kurz
Envoyé : mardi 21 février 2012 12:26
À : The OpenCms mailing list
Objet : Re: [opencms-dev] OpenCms 8.0.3 & Custom Taglib
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 _______________________________________________
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
More information about the opencms-dev
mailing list