SatyaTNV
SatyaTNV

Reputation: 4135

Struts2 Jquery datepicker is not displayed

Struts2 Jquery datepicker is not displayed. Only the text field is displayed.

In JSP:

<sj:datepicker id="fromdate" displayFormat="mm-dd-yy" minDate="%{new java.util.Date()}" showAnim="slideDown"  showButtonPanel="true" duration="fast" changeMonth="true" yearRange="2005:2020" changeYear="true" name="fromdate"/>

and I also included the

<%@ taglib prefix="sj" uri="/struts-jquery-tags"%> and <sj:head />.

Even though date picker is not displayed. I'm using S2 2.2 jar with struts2-jquery-plugin-3.6.1.jar.

In struts.xml file, I extends struts-default package.

Upvotes: 0

Views: 1212

Answers (1)

SatyaTNV
SatyaTNV

Reputation: 4135

In my JSP I already have jquery plugin (jquery-2.0.3.min.js). After removing this line now its working.

Upvotes: 1

Related Questions