File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 TypeConverter" Watch "Struts2 TypeConverter" New topic
Author

Struts2 TypeConverter

Nigel King
Greenhorn

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 MyAction-conversion.properties file.
How do I specify that I'd like this *only* to be used for my Conference->Event->startDate field.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts2 TypeConverter