struts2.1.6中的datatimepicker 設置
添加dojo依賴
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-dojo-plugin</artifactId>
<version>2.1.6</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
=================
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags" %>
<s:head theme="xhtml"/>
<sx:head parseContent="true"/>
<sx:datetimepicker name="dd" label="Order Date"/>
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-dojo-plugin</artifactId>
<version>2.1.6</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
=================
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags" %>
<s:head theme="xhtml"/>
<sx:head parseContent="true"/>
<sx:datetimepicker name="dd" label="Order Date"/>
posted on 2009-05-28 11:30 草原上的駱駝 閱讀(550) 評論(2) 編輯 收藏 所屬分類: JAVA框架