AnsweredAssumed Answered

Changing Footer throws javax.faces.FacesException

Question asked by sanco on Aug 15, 2007
Latest reply on Aug 20, 2007 by kevinr
Hi All,

I tried to modify the footer by making changes in the PageTag class.
But when i start the server with the modified war file i get
javax.faces.FacesException error
javax.faces.FacesException: org/alfresco/web/ui/repo/tag/PageTag (wrong name: web-client-src/java/org/alfresco/web/ui/repo/tag/PageTag)
   org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:421)
   org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)
   org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
   javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)
   org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:94)

Can anyone please give me idea that where i have made the mistake or why this exception is thrown?

The code i changed is as follows from PageTag.java :
private String getAlfrescoButton()
   {
      if (alfresco == null)
      {
         String reqPath = ((HttpServletRequest)pageContext.getRequest()).getContextPath();
/* i removed some items here */
        alfresco = "<center><table><tr><td>" +
                    "<a href='" + ALF_URL + "'>" +
                    "<img border=0 alt='' title='" + ALF_TEXT + "' align=absmiddle src='" + ALF_LOGO + "'>" +
                    "</a></td>" +
                    "</tr></table></center>"

      }
     
      return alfresco;
   }

Please assist me in this regard..
thanks in advance,

Outcomes