facebook

Content Assist in JSP fragment file (a tile, really)

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

    dvh71
    Member

    I’m sure this has been covered but I can’t seem to put together an effective search to find an existing topic.

    In Eclipse 3.0M6, and 3.7RC2:

    I’m using Tiles, I have .jsp fragment files with no <html> block. If I’m not in an <html> block I cannot use content-assist (ctrl-space) for the various tag libraries (e.g., form: or c:).

    However, adding an <html> block in a fragment file causes the content assist to work in that file. If I place comment tags around the <html> tags I still get the ‘right’ behavior. E.g.

    <!-- <html> -->
    <c:Ctrl-Space Here Works
    <!-- </html> -->
    

    Is this a bug, documented feature, future enhancement, etc?

    Thanks for the help…

    doug.

    #205633 Reply

    Riyad Kalla
    Member

    Doug,
    Using Eclipse 2.1.3 and MyEclipse 2.7.1 on Linux I was not able to duplicate this problem. I would suggest that you upgrade from 3.7RC2 to 3.7.1 as the 3.7.0 GA and 3.7.1 releases fixed probably over all more than 100 bugs.

    Here is my sample file that I tried:

    
    <%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
    
    <table>
        <tr>
            <td>
                <html:link href="index.html" />
            </td>
        </tr>
    </table>
    

    Also please let us know if that doesn’t fix your problem, that way if a fix is in order we can get it into the next service release quickly.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Content Assist in JSP fragment file (a tile, really)

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