0 Replies Latest reply on Jun 12, 2017 11:38 PM by egspjf

    'RichFaces' is undefined

    egspjf

      Dear All,

       

      I am migrating my application to higher Spring version from 4.0.5 to 4.3.0 , during which Rich-faces got migrated from 4.3.5 to 4.5.2

       

      I am facing 'RichFaces' is undefined when ever i load the login page. Code snippets and further details have been attached. Please help!

       

      newLogin.JSP

       

      <?xml version="1.0" encoding="ISO-8859-1" ?>

      <%@ page language="java" contentType="text/html; charset=ISO-8859-1"

          pageEncoding="ISO-8859-1"%>

      <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>   

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

      <html>

      <head></head>

          <body>

          <jsp:forward page="/pages/login/loginMain.jsf"/>

          </body>

      </html>

       

      Code Snippet from loginMain.xhtml:

       

      <ui:composition xmlns="http://www.w3.org/1999/xhtml"

        xmlns:ui="http://java.sun.com/jsf/facelets"

        xmlns:h="http://java.sun.com/jsf/html"

        xmlns:f="http://java.sun.com/jsf/core"

        xmlns:a4j="http://richfaces.org/a4j"

        xmlns:rich="http://richfaces.org/rich"

        xmlns:cls="http://emia.com/emia/ui"

        xmlns:cat360="http://java.sun.com/jsf/composite/components">

        <ui:composition template="/templates/login/loginTemplate.xhtml">

       

      <h:commandButton type="submit" id="login" onclick="loginTest(); return false;" value="login" styleClass="submitButton" />

       

      <a4j:commandLink

        styleClass="forgetPass" value="Forgot Password?">

        <rich:componentControl target="forgotPasswordPopup"

        operation="show" event="click" />

        </a4j:commandLink>