facebook

[Closed] Not properly picking up sitemesh taglib

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #247996 Reply

    Code completion is not available on sitemesh ( or on prior experience other non-bundled ) taglibs , how do I
    make this work ?

    I can’t seem to attach an image file to this post , but I’ve taken a screenshot. Perhaps I should put it up on my
    own website ?

    Basically it is picking up the taglib ( from the jar file ) , but it doesn’t auto-complete anything and it marks all instances
    in yellow.

    <%@ page language=”java” import=”java.util.*” pageEncoding=”UTF-8″%>
    <%@ taglib uri=”http://www.opensymphony.com/sitemesh/page&#8221; prefix=”page”%>
    <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN”>
    <html>
    <head>
    <title><decorator:title default=”INTRANET”/></title>
    <decorator:head/>
    <%@ include file=”/includes/style.jsp”%>
    </head>
    <body bgcolor=”#FFFFFF” background=”<%=request.getContextPath()%>/images/bg.gif”>
    <script type=”text/javascript”>window.status = “Loading: <decorator:title default=”INTRANET” />…”;</script>
    <%@ include file=”/includes/header.jsp”%>
    <table width=”100%” border=”0″ cellspacing=”0″ cellpadding=”0″>
    <tr>
    <td height=”20″ nowrap>
    </td>
    </tr>
    <tr>
    <td width=”1%” nowrap>
    </td>
    <td width=”16%” valign=”top” nowrap>
    <script type=”text/javascript”>window.status = “Loading: Navigation…”;</script>
    </td>
    <td width=”2%” nowrap>
    </td>
    <td valign=”top”>
    <br>
    <script type=”text/javascript”>window.status = “Loading: Document body…”;</script>
    <div class=”docBody”>
    <decorator:body/>
    </div>
    </td>
    <td width=”1%” nowrap>
    </td>
    </tr>
    </table>
    <br>
    <script type=”text/javascript”>window.status = “Done”;</script>
    </body>
    </html>

    #247998 Reply

    ” alt=””>

    #248132 Reply

    Any news ? I’ve had this same problem with a number of taglibs so I’d like to know if it is something that I must live with or is it something
    that I can correct through configuration.

    #248244 Reply

    any reply ?

    #248604 Reply

    japher
    Member

    you seem to be missing this line from your jsp: –

    <%@ taglib uri=”http://www.opensymphony.com/sitemesh/decorator&#8221; prefix=”decorator” %>

    #250132 Reply

    @japher wrote:

    you seem to be missing this line from your jsp: –

    <%@ taglib uri=”http://www.opensymphony.com/sitemesh/decorator&#8221; prefix=”decorator” %>

    ha ha , that’s a damn good point … my bad !

    #250178 Reply

    Riyad Kalla
    Member

    I am very sorry for missing this entire thread all together, it wasn’t showing up in my un-read list.

    Did japher’s suggestion help?

    #252730 Reply

    hi sorry for replying so long afterwards but yes, this is now closed thanks

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: [Closed] Not properly picking up sitemesh taglib

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