You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Greg Huber <gr...@gmail.com> on 2022/01/01 10:25:17 UTC

Re: [TEST] Struts 2 ver. 6.0.0-RC1 test build is ready

OK, found the change, but its not documented here:

https://cwiki.apache.org/confluence/display/WW/Struts+2.5+to+6.0.0+migration

v2x

struts.*xwork*.chaining.copyErrors
struts.*xwork*.chaining.copyFieldErrors
struts.*xwork*.chaining.copyMessages

v6x

struts.chaining.copyErrors
struts.chaining.copyFieldErrors
struts.chaining.copyMessages

Works OK :-)

Cheers

On 29/12/2021 16:44, Yasser Zamani wrote:
> could you please retry with devMode true, and scrutinize WARN logs?
>
> Regards.
>
> On 12/23/2021 1:23 PM, Greg Huber wrote:
>> ....Sorry also action messages on a chain don't work any more, 
>> although for a redirectAction they do.
>>
>> These are subtle differences so harder to spot!
>>
>> On 23/12/2021 08:22, Lukasz Lenart wrote:
>>> czw., 23 gru 2021 o 08:48 Greg Huber <gr...@gmail.com> napisał(a):
>>>> are there any other tags set escapeHtmlBody="true"  now as a default?
>>> Component (<s:component/> to create generic tags), Anchor (<s:a/>) and
>>> Submit (<s:submit/>)
>>>
>>> It affects only those tags which are using "parameters.body" in their
>>> FTL template - for now only these above are "affected"
>>>
>>>
>>> Regards
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>> For additional commands, e-mail: dev-help@struts.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>

Re: [TEST] Struts 2 ver. 6.0.0-RC1 test build is ready

Posted by Lukasz Lenart <lu...@apache.org>.
sob., 1 sty 2022 o 11:25 Greg Huber <gr...@gmail.com> napisał(a):
>
> OK, found the change, but its not documented here:
>
> https://cwiki.apache.org/confluence/display/WW/Struts+2.5+to+6.0.0+migration
>
> v2x
>
> struts.*xwork*.chaining.copyErrors
> struts.*xwork*.chaining.copyFieldErrors
> struts.*xwork*.chaining.copyMessages
>
> v6x
>
> struts.chaining.copyErrors
> struts.chaining.copyFieldErrors
> struts.chaining.copyMessages
>
> Works OK :-)

Good catch, documented!
https://cwiki.apache.org/confluence/display/WW/Struts+2.5+to+6.0.0+migration#Struts2.5to6.0.0migration-XWorkconstants


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

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