I am trying to use custom type conversion with property file for action.
Action class is implementing ModelDriven for bean properties.
Bean class is:
and I have WelcomeAction-conversion.properties file parallel to action class with converter config as:
I tried putting key as bean, rectangle etc but its not working, its not using converter class.
If i use @TypeConverter annotation or global converter then its working fine.
Complete Project: http://www.journaldev.com/2221/struts-2-ognl-tutorial-with-custom-type-converter-example
Project ZIP: http://cdn1.journaldev.com/wp-content/uploads/struts2/Struts2OGNLExample.zip
SO Question: http://stackoverflow.com/questions/18993091/struts-2-type-converter-issue