This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Struts and the fly likes Struts2 TypeConverter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 TypeConverter" Watch "Struts2 TypeConverter" New topic

Struts2 TypeConverter

Nigel King

Joined: Mar 03, 2006
Posts: 29
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 file.
How do I specify that I'd like this *only* to be used for my Conference->Event->startDate field.
wood burning stoves
subject: Struts2 TypeConverter
jQuery in Action, 3rd edition