• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

datetimepicker + Struts2 + Ajax

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic