JSF 相关问题 按钮不能执行,还没有报错
下面是页面:
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="com.tongtech.tongintegrator.monitorcenter.view.bean.*"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>编辑用户</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" type="text/css" href="../css/css.css">
</head>
<body>
<f:view>
<table border="0" width="100%" cellspacing="0" cellpadding="3"
class="small">
<tr>
<td align="left">
<h:graphicImage id="node_user" value="../images/node_user.gif"></h:graphicImage>
<h:outputText value="编辑用户" id="opt1"></h:outputText>
</td>
</tr>
</table>
<h:form>
<table border="0" cellspacing="1" width="90%" cellpadding="3"
align="center">
<tr>
<td style="width: 122px; height: 30px">
<h:outputLabel for="userName">
<h:outputText value="用户名: " id="outputText11"></h:outputText>
</h:outputLabel>
</td>
<td>
<h:inputText id="userName" required="true"
value="#{userBean.userName}"></h:inputText>
<h:message for="userName" id="usernameMsg"></h:message>
<h:inputHidden value="#{userBean.user_id}" id="user_id"></h:inputHidden>
</td>
</tr>
<tr>
<td>
<h:outputLabel for="password">
<h:outputText value="密码:" id="outputText8"></h:outputText>
</h:outputLabel>
</td>
<td>
<h:inputSecret id="password" required="true"
value="#{userBean.password}" redisplay="true"></h:inputSecret>
</td>
</tr>
<tr>
<td>
<h:outputLabel for="repassword">
<h:outputText value="确认密码:" id="outputText3"></h:outputText>
</h:outputLabel>
</td>
<td>
<h:inputSecret id="repassword" value="#{userBean.repassword}"
required="true" redisplay="true">
</h:inputSecret>
<h:message for="repassword" id="passwordMsg"></h:message>
</td>
</tr>
<tr>
<td>
<h:outputLabel for="department">
<h:outputText value="部门:" id="outputText44"></h:outputText>