• Post Reply Bookmark Topic Watch Topic
  • New Topic

datetimepicker + Struts2 + Ajax  RSS feed

Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I want to user struts2's datetimepicker functionality in my jsp. But I am unable to do this. Please take a look at my code.

<%@ taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles" %>
<%@ taglib prefix="bsp" uri="/struts-tags" %>
<%@ taglib prefix="d" uri="/struts-dojo-tags"%>

<d:head theme="ajax"/>
. . . .
<d:datetimepicker name="dateOfBirth" label="dob"/>

1. I have added struts.date.format=dd/MM/yyyy in my struts.properties file.
2. I have added struts2-dojo-plugin-2.1.6.jar in my classpath too

But, I am unable to get the correct jsp loaded with the datetimepicker. Can you help me where exactly is the problem?
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!