[ANN] Apache Struts 6.8.0

2025-10-18 Thread Lukasz Lenart
The Apache Struts group is pleased to announce that Apache Struts version 6.8.0 is available as a “General Availability” release. The GA designation is our highest quality grade. This a minor release with small breaking changes: - A new mechanism has been introduced to configure CSP Nonce, see WW-5

DoubleRangeFieldValidator missing in the Validations Container

2025-10-18 Thread utkai
Hi, is there a reason why I can not use @DoubleRangeFieldValidator in the @Validations Container? I chose the way of validating with Annotations in the Action class and used @Validations( requiredStrings = {@RequiredStringValidator...}, requiredFields = {@R

Re: @StrutsParameter

2025-10-18 Thread Prasanth
Below is a fragment of the jsp.                                                 submitUnchecked="true"/>${access.getContactName()}                             Thanks, Prasanth On 10/8/25 9:56 AM, Lukasz Lenart wrote: pon., 29 wrz 2025 o 16:44 Prasanth napisał(a): That was my thinking un

[ANN] Apache Struts 7.1.1

2025-10-18 Thread Lukasz Lenart
The Apache Struts group is pleased to announce that Apache Struts version 7.1.1 is available as a “General Availability” release. The GA designation is our highest quality grade. The Apache Struts is an elegant, extensible framework for creating enterprise-ready Java web applications. The framewor

Re: Strange Struts 7 Tag Limit Issue

2025-10-18 Thread Lukasz Lenart
I used Claude Code to analyze this problem and I got a big document (attached), but you can try this for now: - [ ] Enable WARN logging for `org.apache.struts2.util.FastByteArrayOutputStream` - [ ] Reproduce the truncation and check logs for encoding warnings - [ ] Identify the exact character pos

Re: Validation problems for fields in iterator

2025-10-18 Thread Ute Kaiser
I think, I found the solution by using the "visitor validator". Is that the right way? myPath.ChildClass true Required even though missing in documentation https://struts.apache.org/core-developers/visitor-validator And for the conversion

Re: How to use ActionName-alias-validation.xml?

2025-10-18 Thread Lukasz Lenart
wt., 14 paź 2025 o 14:50 Ute Kaiser napisał(a): > Migrating from Struts1 to Struts7, I have complex action names with slashes. > class="myPath.MyAction" > method="create"> > mytiles > m

Re: Re: Re: How to use ActionName-alias-validation.xml?

2025-10-18 Thread Lukasz Lenart
PR is ready https://github.com/apache/struts-site/pull/278 pt., 17 paź 2025 o 10:55 Łukasz Lenart napisał(a): > > pt., 17 paź 2025 o 10:34 Ute Kaiser napisał(a): > > > > What a surprising answer :-) > > > > I tried, it worked and the filename is 120 characters... > > > > Some remarks on this sol

Re: Re: How to use ActionName-alias-validation.xml?

2025-10-18 Thread Ute Kaiser
Hi, yes I enabled support for slashes in action names. (right at migration start :-) no namespaces; I wasted some effort but too many side effects in the application to be migrated. What would be the right xml filename for the example below? Then I would try again. Kind regards and all the best