facebook

JSP validation of Taglibs reports errors for extended taglib

💡
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. Installation, Configuration & Updates
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #242719 Reply

    rpatel5
    Member

    I am using eclipse 3.1 with MyEclipse 4.0.3. Is there any way to configure the validation to resolve attributes from extended Tags? For example, I have a custom tag named ArrayTag that extends org.apache.struts.taglib.html.TextTag. The problem I have is that valid attributes from TextTag which are not in my TLD for ArrayTag are being reported with errors such as “Creation TimeAttribute maxlength invalid for tag arrayTag according to TLD”.

    — Developer

    #242721

    Riyad Kalla
    Member

    The taglib parser parsers the associated TLD file, not the class as the TLD is what defines the tags that are available. I believe you could need to redefine those tags if you want them to be validated and show up in autocomplete.

    Are the errors showing up in the left margin or right margin? The ones in the right margin are harmless, you can ignore them if they aren’t too obtrusive.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: JSP validation of Taglibs reports errors for extended taglib

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