• 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
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Struts2 TypeConverter

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm trying to implement a TypeConverter in Struts2.
I have class - Conference - which contains a list of Events and each of these events has a startdate.
The Conference is set in the action.
What I want to do is set up a converter just for this startdate.
If I add

it works okay but that's obviously for all dates.
I think I should be able to add this into a MyAction-conversion.properties file.
How do I specify that I'd like this *only* to be used for my Conference->Event->startDate field.
 
reply
    Bookmark Topic Watch Topic
  • New Topic