facebook

Taglibs in User libraries and autocomplete

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #282082 Reply

    I am using a taglib for tags contained in a custom jar added via User Libraries to build path and having issues with auto-completion inside JSP editor.

    Up till now I just dropped tld into WEB-INF and referenced it as:

    <%@ taglib uri=”WEB-INF/mytags.tld” prefix=”mytags” %>

    This worked fine but I needed to keep an extra copy of the TLD file which caused some problems. I finally got around to including the tld in the META-INF dir inside the taglib jar and referencing the taglib as:

    <%@ taglib uri=”http://www.mydomain.com/mytags&#8221; prefix=”mytags” %>

    (Of course http://www.mydomain.com/mytags is defined inside mytags.tld file)

    Now, this works fine when I deploy to server, my custom tags get executed as they should, however inside MyEclipse I can no longer do auto-completions – which is a bit of a pain. The JAR with the TLD is added to the classpath via User Library and I know I can import classes within it inside JSP editor.

    Is there something simple I can do to make MyEclipse recognize the TLD?

    -M

    #282083

    Never mind. All of a sudden it started working. Go figure.

    #282097

    Loyal Water
    Member

    Glad its working now.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Taglibs in User libraries and autocomplete

You must be logged in to post in the forum log in