Daniel Keir Haywood created ISIS-2749:
-----------------------------------------
Summary: Convert IsisConverterLocator into a domain service and
allow Wicket Converters to be substituted in.
Key: ISIS-2749
URL: https://issues.apache.org/jira/browse/ISIS-2749
Project: Isis
Issue Type: Improvement
Components: Isis Core
Affects Versions: 2.0.0-M5
Reporter: Daniel Keir Haywood
Fix For: 2.0.0-M6
Attachments: image-2021-06-17-12-50-57-240.png
For example, if enter 'abc' into a BigDecimal' then the error message returned
is effectively hardcoded because IsisConverterLocator is called statically and
hardcodes Wicket's BigDecimalConverter to do the processing.
!image-2021-06-17-12-50-57-240.png|width=582,height=120!
Making IsisConverterLocator into a domain service is easy, but we would a
mechanism to allow convertors to register themselves into it (eg with the
current as fallbacks).
Perhaps that would be reinventing the wheel. Does Wicket already provide a way
to make this pluggable in the context of Spring.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)