facebook

Adding a TLD to the "Tag Libraries" tab ?

💡
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 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #251689 Reply

    VSS
    Member

    I want to add the ‘displaytag’ and other TLD’s into the set of TLD’s that MyeclipseIDe knows about. I see the list at “Window -> MyEclipse -> J2EE Project -> Web Project -> Tag Libraries” . There is not clear way to add a TLD to the list.

    BTW, it would be great if the TLD URI’s could be cataloged and mapped list the XML DTD’s and XSD’s.

    Thank-you.

    #251703

    Riyad Kalla
    Member

    The TLD library isn’t editable *yet* but will be shortly. In the mean time you can just add the displaytag JAR to your project, and as long as the TLDs resolve, MyEclipse will understand it.

    #265821

    sage_sam
    Member

    @support-rkalla wrote:

    The TLD library isn’t editable *yet* but will be shortly.

    Any updates on this feature? This would definitely be helpful for those of us using taglibs provided to us by others (or even producing our own)…!

    Thanks,

    –David

    #265864

    Riyad Kalla
    Member

    David,
    Is this actually stopping you from doing any work? As long as your URIs are correct in your project and your JARs that contain the taglibs are in the project, you should be getting full taglib support anyway.

    #265875

    sage_sam
    Member

    @support-rkalla wrote:

    Is this actually stopping you from doing any work? As long as your URIs are correct in your project and your JARs that contain the taglibs are in the project, you should be getting full taglib support anyway.

    Is it stopping me from doing work… well, no. Is it making things more difficult? Yes.

    The URI’s in my JSP are not correct until after a build (via ANT) is run because they are included from another project. If I could specify the TLD another way, then the JSP editor could identify and validate my tags — saving a lot of hassle in developing and testing pages.

    Thanks,

    –David

    #265876

    Riyad Kalla
    Member

    David,
    You are developing your own taglib? (is that the problem?) is this a Java project that has the taglib in it, or some other kind of project?

    #265877

    sage_sam
    Member

    We are provided taglibs (and a base application) from a partner. It’s an external dependency in our process.

    It’s a lot like Struts, actually, in several ways. Think of it as you are given a struts-based application in a folder outside Eclipse. The application provides hooks for extensions, including said taglibs/TLDs and even a web.xml file — all of which are outside my own project.

    On an irregular basis, I’m given an updated base app. The catch is that I have to build on top of (and extend) what is given to me. I don’t want to risk clobbering what I am given, only reference it. If I include the TLD directly into my app I run the risk of using invalid tags (or missing something useful).

    Truth is, there’s a whole snowball of validation that’s off but this should be the easiest to work around. =)

    Thanks,

    –David

    #265885

    Riyad Kalla
    Member

    David,
    Do the TLDs define a default URI? (in the form of a <uri> tag in the TLD, about 5 lines down or so)? Also do the JARs of the project you get pack them in the META-INF dir inside the JAR?

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Adding a TLD to the "Tag Libraries" tab ?

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