添加报
IllegalArgumentException occurred calling getter错误
webwork2 hibernate spring 一对多关系
一个表放表名,一个表放表字段
下面是jsp页面
<%@ page contentType="text/html; charset=UTF-8" %>
<%
response.setHeader("Pragma","no-cache");
response.setHeader("Cache-Control","no-cache");
response.setHeader("Cache-Control", "no-store");
response.setDateHeader("Expires",0);
%>
<%@ taglib prefix="ww" uri="webwork"%>
<%@ taglib uri="pm" prefix="pm"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>新增数据字典</title>
<link href="css/css.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/Validation.js"></script>
<script type="text/javascript" src="js/pagination.js"></script>
<script type="text/javascript" src="js/showWindow.js"></script>
<script type="text/javascript" src="js/jquery/jquery-1.3.min.js"></script>
<script type="text/javascript" src="js/My97DatePicker4.6/WdatePicker.js"></script>
<script type="text/javascript" src="js/showErrorsAndMessages.js"></script>
<script type="text/javascript" src="js/math.js"></script>
<script type="text/javascript">
function showExactQueryChart(){
if(!checkTable()) return;
$("#exactQueryChart").show();
$("#exactQueryChart").css("position","absolute");
$("#exactQueryChart").css("z-index","100000");
$("#exactQueryChart").fadeIn("normal");
}
function closeExactQueryChart(){
$("#exactQueryChart").hide();
$("#exactQueryChart").css("z-index","0");
}
function insertExactRow(){
if(!check()) return;
insertRow($("#name1_id").val(),$("#label1_id").val(),$("#dttp_id").val(),$("#maxlen_id").val(),$("#prec_id").val(),$("#descs1_id").val());
clearExactOldValue();
}
function deleteThisRow(obj){
obj.parentNode.parentNode.parentNode.removeChild(obj.parentNode.parentNode);
if($("input[name='name1']").size() == 0){
$("#chooseDoc70noAref_id").show();
}
}
function insertRow(qty,csprc,csamt,pkqty,casqty,pcsqty){
var isExistPluid = "false";
$("input[name='name1']").each(
function(){
if($(this).val() == name1){
isExistPluid = "true";
return;
}
}
);
var str="<tr>";
str+="<td ><img src='images/c.gif' border='0' style='cursor: pointer;' onclick='deleteThisRow(this);'/></td>";
str+="<td align='right'><input type='text' style='width:134px' name='name1' class='input_number_disable' value='"+qty+"'></td>";
str+="<td align='right'><input type='text' style='width:134px' name='label1' class='input_number_disable' value='"+csprc+"'></td>";
str+="<td align='right'><input type='text' style='width:134px' name='dttp' class='input_number_disable' value='"+csamt+"'></td>";
str+="<td align='right'><input type='text' style='width:134px' name='maxlen' class='input_number_disable' value='"+pkqty+"'></td>";