facebook

Invalid Tag & Text location with tiles

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #212823 Reply

    Stuart McGrigor
    Participant

    When using Tiles JSP files contain only fragments of an entire JSP file – which means that most of my JSP files get either:

    “Invalid Location of Tag” or “Invalid Text String” warnings.

    Is there some way of turning this error checking off for JSPs that are mere fragments?

    Regards,
    Stuart McGrigor

    #212840 Reply

    Riyad Kalla
    Member

    Stuart,
    The JSP spec defines when working with pages that are themselves not entire JSP pages it is suggested you name the page with an extension of “jspf” to tag it as a “Fragment” this will take care of the problems you are seeing.

    #226174 Reply

    Gene Gotimer
    Member

    @support-rkalla wrote:

    Stuart,
    The JSP spec defines when working with pages that are themselves not entire JSP pages it is suggested you name the page with an extension of “jspf” to tag it as a “Fragment” this will take care of the problems you are seeing.

    I am using a .jspf extension, and my pages are still being marked. I’ve tried clearing warnings, restarting, etc., but to no avail.

    Any other places to look?

    #226176 Reply

    Riyad Kalla
    Member

    Make sure that .jspf is added as a fragment extension under:
    Window > Prefs > MyEclipse > Editors > JSP Editor

    #226204 Reply

    Gene Gotimer
    Member

    It is set to jspf (no period). I tried changing it to .jspf, removed all validation markers, and ran the validation again, but it didn’t help.

    #226206 Reply

    Gene Gotimer
    Member

    I am using a clean install of Eclipse 3.1M4, MyEclipse 3.8.4, and no other plugins. I am using Sun JDK j2sdk1.4.2_04, and this on on a Windows XP system.

    #226207 Reply

    Riyad Kalla
    Member

    Yes you had it right, it should just be “jspf”.

    Can you give me snippets of code between a sample JSP and JSPF file that you are seeing problems with so I can reproduce this locally? (I use a lot of fragments in my projects and don’t see any validation with the fragments, so please make your examples as close to your setup as possible so I can see what is going on).

    Also is this a Web Project or java Project?

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Invalid Tag & Text location with tiles

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