Skip to Content
author's profile photo
Former Member

Tag libs in Enterprise Portal

Hi,

Can anybody guide me on how to implement one's own java tag libs in EP 5.0/EP6.0?

The normal way of deploying and using the tag libs in a J2EE app server is not working.

I am currently working with PDK and Tomcat 3.3 on my machine.

thanx in advance

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Jun 17, 2004 at 09:26 AM

    you may look here: C:\tomcat\webapps\irj\services\htmlb\taglib

    and here:

    C:\tomcat\webapps\examples\WEB-INF\jsp

    for examples. You may also create a custom taglib :

    Tag Lib Packaging All Java Server Pages (JSP) that are compiled in a Portal component can use custom tags lib by following the rules described below: The class file that implements the tag lib definition must be packaged in the lib or classes directory of the Portal Component PAR file. The JSP file that references the tag library can use the custom tag library definition property to reference the tag Library as follows: <%@ taglib uri="[uri]" prefix="custom" %>

    see also PRT Guide:

    [uri] Directory Description Profile .../.../custom.tld Same as current JSP Takes the tag library definition file relatively to the current JSP None prt:taglib:custom private folders The tag library is referenced by an identifier that must be defined in the profile of the component. The ID here is custom. If the JSP page is included in a component as a resource, the tag library must be defined in the profile of the component. custom=/taglib/custom.tld

    Add comment
    10|10000 characters needed characters exceeded