facebook

why is tag file editor so different from jsp tag file editor

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #285885 Reply

    hughth
    Member

    both are supposedly using the ‘MyEclipse Visual JSP Editor’, but the tag file doesn’t display the expand/collapse toggles on the margins, and it seems to treat html like plain text instead of xml-like structures.

    Is it because you expect invalid xml structure in those tags, similar to jsp includes?

    How do I change this behavior so that the tag file editor behaves more like the jsp editor?

    #285934 Reply

    Loyal Water
    Member

    Can you paste a couple of sample files here for me so that I can try replicating the issue that you have pointed out over here.

    #285937 Reply

    hughth
    Member

    sure, here’s a simple example:

    <div>
    <ul>
    <li>a</li>
    <li>b</li>
    <li>c</li>
    </ul>
    </div>

    place this snippet in foo.tag and foo.jsp

    In the JSP, The +/- collapse buttons appear on the margins for both the <div> and <ul> elements. This does not happen for the tag file. The tag file also reports a ‘unknown tag(div)’.

    #285958 Reply

    Loyal Water
    Member

    hughth,
    You cant get this file to work with the collapse buttons. A JSP file needs the page directive along with the other set of tags (such as a body and header) to get it to recognize these tags.

    #285963 Reply

    hughth
    Member

    ???? I’m complaining about the TAG file not the JSP file. The JSP file works fine. Why is <div> and unknown tag? it’s HTML. And why does it work in the JSP file and not the TAG file.

    #286015 Reply

    Loyal Water
    Member

    Im sorry for the confusion. This kind of a file is not supported at the moment. I’ll not it down as an enhancement request.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: why is tag file editor so different from jsp tag file editor

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