[opencms-dev] OpenCms 8.0.3 & Custom Taglib
Patric Dosch
patric.dosch at virtual-identity.com
Tue Feb 21 12:41:50 CET 2012
Hi Rüdiger,
Please excuse the interjection.
Is there a possibility that my IDE (Eclipse) understands these shortcuts so that the tags are available through the auto-complete?
For this reason I have preferred the "classic JSP style"...
Regards, Patric
-----Ursprüngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Rüdiger Kurz
Gesendet: Dienstag, 21. Februar 2012 12:26
An: The OpenCms mailing list
Betreff: 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