【开源中国 APP 全新上线】“动弹” 回归、集成大模型对话、畅读技术报告”
<% @page language="java" isELIgnored="false" contentType="text/html; charset=gbk" pageEncoding="gbk"%><jsp:directive.include file="/WEB-INF/sitemesh-decorators/include.jsp"/>
<fmt:setBundle basename="bundles.project-resources"/>
<html>
<head>
<title>Edit <fmt:message key="project.title"/></title>
<script type="text/javascript" src="${pageContext.request.contextPath}/jquery/js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/jquery/js/jquery.easyui.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/jquery/js/Calendar.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/jquery/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript">
$(function(){
$("#projectArtical_attribute_id").change(function (){
var pro = $("#projectArtical_attribute_id").val();
if(pro=="1"){
$("#projectArtical_level_id").attr("disabled",true);
$("#projectArtical_source_id").attr("disabled",false);
$("#projectArtical_extName").attr("disabled",false);
}
if(pro=="2"){
$("#projectArtical_level_id").attr("disabled",false);
$("#projectArtical_source_id").attr("disabled",true);
$("#projectArtical_extName").attr("disabled",false);
}
if(pro=="3"){
$("#projectArtical_level_id").attr("disabled",true);
$("#projectArtical_source_id").attr("disabled",true);
$("#projectArtical_extName").attr("disabled",true);
}
});
})
</script>
</head>
<body>
<div id="contentarea">
<div id="lb"><div id="rb"><div id="bb"><div id="blc">
<div id="brc"><div id="tb"><div id="tlc"><div id="trc">
<div id="content">
<form:form action="${pageContext.request.contextPath}/mysaveProject" method="POST" modelAttribute="project">
<table cellpadding="0" cellspacing="0" id="viewTable">
<tbody>
<tr>
<td class="label" valign="top">
<fmt:message key="project.projectname.title"/>:
</td>
<td>
<form:input id="project_projectName" path="projectName" cssStyle="width:300px;" value="a"/>
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "project_projectName",widgetType : "dijit.form.ValidationTextBox",widgetAttrs : {promptMessage: "<fmt:message key="project.projectname.help"/>"}})); </script>
</td>
<td class="label" valign="top">
<fmt:message key="project.setupdate.title"/>:
</td>
<td>
<input id="project_createDate" name="createDate" type="text" value="<fmt:formatDate value="${project.createDate.time}" pattern="MM/dd/yyyy h:mm a"/>" style="width:300px;" onclick="new Calendar().show(this);"/>
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "project_createDate",widgetType : "dijit.form.ValidationTextBox",widgetAttrs : {promptMessage: "<fmt:message key="navigation.dateTime.title"/>"}})); </script>
</td>
</tr>
<tr>
<td class="label" valign="top">
<fmt:message key="projectartical.source.title"/>:
</td>
<td>
<!-- 下拉框选择 -->
<form:select path="projectArtical.Source.id" id="projectArtical_source_id" cssStyle="width:300px;" items="${sources}"/>
<!-- 下拉框选择 -->
</td>
<td class="label" valign="top">
<fmt:message key="project.projectno.title"/>:
</td>
<td>
<form:input id="project_projectNo" path="projectNo" cssStyle="width:300px;" value="c"/>
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "project_projectNo",widgetType : "dijit.form.ValidationTextBox",widgetAttrs : {promptMessage: "<fmt:message key="project.projectno.help"/>"}})); </script>
</td>
</tr>
<tr>
<td class="label" valign="top">
<fmt:message key="userinfo.userId.title"/>:
</td>
<td>
<form:input id="userinfo_userId" path="projectNo" cssStyle=" width:300px;"/>
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "userinfo_userId",widgetType : "dijit.form.ValidationTextBox",widgetAttrs : {promptMessage: "<fmt:message key="userinfo.userId.help"/>"}})); </script>
</td>
<td class="label" valign="top">
<fmt:message key="userbycreater.title"/>:
</td>
<td>
<!-- 下拉框选择 -->
<form:select path="userByCreater.id" id="userByCreater" cssStyle="width:300px;" items="${users}"/>
<!-- 下拉框选择 -->
</td>
</tr>
<tr>
<td class="label" valign="top">
<fmt:message key="projectartical.attribute"/>:
</td>
<td>
<!-- 下拉框选择 -->
<form:select path="projectArtical.CProjectAttribute.id" id="projectArtical_attribute_id" cssStyle="width:300px;" items="${attributes}"/>
<!-- 下拉框选择 -->
</td>
<td class="label" valign="top">
<fmt:message key="projectartical.type.title"/>:
</td>
<td>
<!-- 下拉框选择 -->
<form:select path="projectArtical.CActivityType.id" id="projectArtical_type_id" cssStyle="width:300px;" items="${types}"/>
<!-- 下拉框选择 -->
</td>
</tr>
<tr>
<td class="label" valign="top">
<fmt:message key="projectschedule.begindate.title"/>:
</td>
<td>
<input id="projectSchedule_beginDate" name="beginDate" type="text" value="<fmt:formatDate value="${projectSchedule.beginDate}" pattern="MM/dd/yyyy"/>" style="width:300px;"/>
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "projectSchedule_beginDate",widgetType : "dijit.form.ValidationTextBox",widgetAttrs : {promptMessage: "<fmt:message key="projectschedule.begindate.help"/>"}})); </script>
</td>
<td class="label" valign="top">
<fmt:message key="projectschedule.planenddate.title"/>:
</td>
<td>
<input id="projectSchedule_planEndDate" name="planEndDate" type="text" value="<fmt:formatDate value="${projectSchedule.planEndDate}" pattern="MM/dd/yyyy"/>" style="width:300px;"/>
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "projectSchedule_planEndDate",widgetType : "dijit.form.ValidationTextBox",widgetAttrs : {promptMessage: "<fmt:message key="projectschedule.planenddate.help"/>"}})); </script>
</td>
</tr>
<tr>
<td class="label" valign="top">
<fmt:message key="projectartical.level.title"/>:
</td>
<td>
<!-- 下拉框选择 -->
<form:select path="projectArtical.CProjectLevel.id" id="projectArtical_level_id" cssStyle="width:300px;" items="${levels}"/>
<!-- 下拉框选择 -->
</td>
<td class="label" valign="top">
<fmt:message key="projectartical.projectbudget.title"/>:
</td>
<td>
<form:input id="projectArtical_projectBudget" path="projectArtical.projectBudget" cssStyle="width:300px;"/>
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "projectArtical_projectBudget",widgetType : "dijit.form.ValidationTextBox",widgetAttrs : {promptMessage: "<fmt:message key="projectartical.projectbudget.help"/>"}})); </script>
</td>
</tr>
<tr>
<td class="label" valign="top">
<fmt:message key="projectartical.registdate.title"/>:
</td>
<td>
<input id="projectArtical_registDate" name="registDate" type="text" value="<fmt:formatDate value="${projectArtical.registDate}" pattern="MM/dd/yyyy"/>" style="width:300px;"/>
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "projectArtical_registDate",widgetType : "dijit.form.ValidationTextBox",widgetAttrs : {promptMessage: "<fmt:message key="projectartical.registdate.help"/>"}})); </script>
</td>
<td class="label" valign="top">
<fmt:message key="projectartical.extname.title"/>:
</td>
<td>
<form:input id="projectArtical_extName" path="projectArtical.extName" cssStyle="width:300px;"/>
<script type="text/javascript">Spring.addDecoration(new Spring.ElementDecoration({elementId : "projectArtical_extName",widgetType : "dijit.form.ValidationTextBox",widgetAttrs : {promptMessage: "<fmt:message key="projectartical.extname.help"/>"}})); </script>
</td>
</tr>
<tr>
<td class="label" valign="top">
<fmt:message key="project.specification.title"/>:
</td>
<td colspan="3">
<form:textarea id="project_specification" path="specification" cssStyle="width:100%;"/>
</td>
</tr>
</tbody>
</table>
<span class="inputbutton"><input class="savebutton" id="save" type="submit" value="<fmt:message key="navigation.save"/>"/></span>
<script type="text/javascript">Spring.addDecoration(new Spring.ValidateAllDecoration({elementId:'save', event:'onclick'}));</script>
</form:form>
<div class="clear"> </div>
</div>
</div></div></div></div>
</div></div></div></div>
</div>
</body>
</html>
我加载进去一个日期的js,红色的代码,然后我在日期填写项的代码是绿色的,结果就报__ci is undefined
http://localhost:8080/preparation/jquery/js/Calendar.js
Line 344
__ci is undefined