Re: Re: Struts 2.5.x to 6.4.0
Lukasz Lenart <[email protected]> Tue, 28 Jan 2025 15:31:38 +0100
| Newsgroups | gmane.comp.jakarta.struts.user |
|---|---|
| Message-ID | <CAMopvkNNpSTB6qgUa4Vhs3bJLQpj_EvMzKTrj-VvOd24wWFoug@mail.gmail.com> |
wt., 28 sty 2025 o 15:25 John Wilson <[email protected]> napisał(a): > In the meantime, is it possible to create a custom TypeConverterCreator to > then call upon the createBean method and get this working? > > Maybe implement the TypeConverterCreator and redefine in struts.xml? Yes, it should be possible, implement and then define a new creator as a bean: <bean type="org.apache.struts2.conversion.TypeConverterCreator" name="myName" class="com.company.MyTypeConverterCreator"/> And then define the constant pointing to your implementation: struts.converter.creator=myName Cheers Łukasz