Reputation: 4541
There is something strange happening.
Param interceptor is the one in charge to take parameters strings values from the request and put them in the java property of my action.
Some defaults type converters exist (primary types, Date, Map, Array)
And I tried to put a string parameter in a BigDecimal. Strangely... it works but how ? I am pretty sure that the BigDecimal converters does not exist and has to be implemented by the framework user
Upvotes: 0
Views: 91
Reputation: 23587
If i am correct it is using the default BigDecimal parsing.have a look at DefaultTypeConverter
Upvotes: 2