jsp页面用s:datetimepicker不显示时间下拉框(提示dojo未定义错误)
在写时一定要加上:form 标签外加上<s:head theme=""/>? 才可以;
eg:
<s:head theme=""/>
<s:form name="messageForm" method="post" theme="simple"id="messageForm"><div id="search"> <table rowspan="3"><img src="${path}/page/wrm/image/search.gif" width="40" height="39"></td> <td nowrap="nowrap">消息大类</td> <td><s:select name="message.type" list="msgList" listKey="number" listValue="name" headerKey="" headerValue="--全部--" emptyOption="false" theme="simple" csslist="msgList" listKey="number" listValue="name" headerKey="" headerValue="--全部--" emptyOption="false" theme="simple" csslist="msgList" listKey="number" listValue="name" headerKey="" headerValue="--全部--" emptyOption="false" theme="simple" cssalign="center"> <input type='button' onclick="doQuery();" value="查 询" /> </td> </tr> <tr> <td nowrap="nowrap">标题</td> <td nowrap="nowrap"><s:textfield name="message.title" cssonchange="getTrimString(this)" /> </td> <td nowrap="nowrap">所属区域</td> <td nowrap="nowrap"><s:textfield name="message.region" cssonchange="getTrimString(this)" /> </td> <td nowrap="nowrap">状态</td> <td> <select name="message.dealFlag" id="message.dealFlag" theme="simple" displayFormat="yyyy-MM-dd" /></td> <td nowrap="nowrap">结束日期</td> <td><s:datetimepicker name="endTime" theme="simple" displayFormat="yyyy-MM-dd" /></td> <td> </td> <td> </td> </tr> </table> </div>.............................<form>?
1 楼 zhengyuyan1990 2012-10-29 为什么加了还是不显示,求解