• 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:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

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?
 
Curse your sudden but inevitable betrayal! And this tiny ad too!
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic