RichFaces是未定义的错误

时间:2017-06-13 04:10:11

标签: richfaces

我正在将我的应用程序迁移到更高的Spring版本4.0.5到4.3.0,在此期间Rich-faces从4.3.5迁移到4.5.2

我正面临着RichFaces'我加载登录页面时未定义。已附上代码片段和更多详细信息。请帮忙! 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>
&#13;
&#13;
&#13;

loginMain.xhtml

&#13;
&#13;
<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>
&#13;
&#13;
&#13;

0 个答案:

没有答案