<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sd" uri="/struts-dojo-tags" %> <head>
<s:head theme="xhtml"/>
<sd:head parseContent="true"/>
</head>
<body><s:datetimepicker name="todayDate" value="2007-8-9" label="Format (yyyy-MM-dd)" displayFormat="yyyy-MM-dd"/>
</body>我这样写的有错误吗?
我用的是sturt2.1.8 版本的包
<%@ taglib prefix="sd" uri="/struts-dojo-tags" %> <head>
<s:head theme="xhtml"/>
<sd:head parseContent="true"/>
</head>
<body><s:datetimepicker name="todayDate" value="2007-8-9" label="Format (yyyy-MM-dd)" displayFormat="yyyy-MM-dd"/>
</body>我这样写的有错误吗?
我用的是sturt2.1.8 版本的包
2.struts2-dojo-plugin包加进去了么?
以前弄过 好像是要在 </head> 与<body> 间加个标签<ds:
<script type="text/javascript" src="${pageContext.request.contextPath }/jsp/js/My97DatePicker/WdatePicker.js"></script>
<s:textfield size="26" id="birthday" name="birthday" cssClass="Wdate" onfocus="new WdatePicker(this)" />