struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: Can you use type conversion with JSONInterceptor?
Date Fri, 02 Dec 2016 11:13:24 GMT
Super cool, thanks :)

2016-12-02 11:40 GMT+01:00 Miguel Almeida <miguel@almeida.at>:
> Thank you Lukasz!
>
> I will check if/how we can inject the converter there. If we manage to
> get it working in a way that helps the ticket resolution I'll also post
> the information there.
>
>
>
> On Sex, 2016-12-02 at 09:50 +0100, Lukasz Lenart wrote:
>
>> Hi,
>>
>> JSON plugin uses its own conversation mechanism, check JSONPopulator
>> but I think it should be possible to inject XWorkConverter and use it
>> to convert objects - this requires implementing your own
>> JSONPopulator.
>>
>> There is a task to do it so it should happen in Struts 2.5 ;-)
>> https://issues.apache.org/jira/browse/WW-3364
>>
>>
>> Regards

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message