Re: DoubleRangeFieldValidator missing in the Validations Container

2025-10-17 Thread Łukasz Lenart
Ok https://issues.apache.org/jira/browse/WW-5579 pt., 17 paź 2025 o 08:44 Ute Kaiser napisał(a): > > Yeah, fixing is the best idea :-) > > Thx Ute > (I do not have a Jira account) > > - > To unsubscribe, e-mail: user-unsubscr...@

Re: DoubleRangeFieldValidator missing in the Validations Container

2025-10-17 Thread Ute Kaiser
Yeah, fixing is the best idea :-) Thx Ute (I do not have a Jira account) - To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

Strange Struts 7 Tag Limit Issue

2025-10-17 Thread Zoran Avtarovski
Hi Guys, We are almost ready to go into final testing on our Struts 7 app migration, except for a small issue when we render JSON responses and we can't work out where the issue is. The problem presents when we try and render JSON response to a jsp page, but only when going through an action

Re: Error Struts 7

2025-10-17 Thread Ute Kaiser
Hi Lukasz, I was curious on the doku change. Hard to find, I found it on the deprecated File Upload page but not the Action File Upload page. Best regards Ute > Am 09.10.2025 um 16:37 schrieb Lukasz Lenart : > > Added a note about that > https://github.com/apache/struts-site/pull/276 > > nied

How to use ActionName-alias-validation.xml?

2025-10-17 Thread Ute Kaiser
Hi, I have a problem with a validation that should only be activated for method create in my Action. I do not understand how to use this "Action Alias" in the documentation: >> https://struts.apache.org/core-developers/validation.html Validation rules can be specified: 1.Per Action class: in a fi

Re: DoubleRangeFieldValidator missing in the Validations Container

2025-10-17 Thread Lukasz Lenart
czw., 16 paź 2025 o 20:44 napisał(a): > > 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 = {@RequiredStr

Re: Error Struts 7

2025-10-17 Thread Lukasz Lenart
czw., 16 paź 2025 o 22:25 Ute Kaiser napisał(a): > Hi Lukasz, > I was curious on the doku change. Hard to find, I found it on the deprecated > File Upload page but not the Action File Upload page. Good point, fixed that! https://github.com/apache/struts-site/pull/277 Cheers Łukasz ---

Re: Validation problems for fields in iterator

2025-10-17 Thread Ute Kaiser
One more thing left with the "visitor validator": WARN [org.apache.struts2.validator.validators.VisitorFieldValidator] (default task-3) The visited object is null, VisitorValidator will not be able to handle validation properly. Please make sure the visited object is not null for VisitorValid

Re: Error Struts 7

2025-10-17 Thread Lukasz Lenart
Added a note about that https://github.com/apache/struts-site/pull/276 niedz., 5 paź 2025 o 19:45 Lukasz Lenart napisał(a): > > Btw. this is already reported > https://issues.apache.org/jira/browse/WW-5474 > https://issues.apache.org/jira/browse/FILEUPLOAD-351 > > niedz., 5 paź 2025 o 19:42 Lukas

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

2025-10-17 Thread Łukasz Lenart
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 solution: > - There is no documentation on this case with slashes in action names and the > replacement "/" -> "-" resulting in >

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

2025-10-17 Thread Ute Kaiser
What a surprising answer :-) I tried, it worked and the filename is 120 characters... Some remarks on this solution: - There is no documentation on this case with slashes in action names and the replacement "/" -> "-" resulting in "MyAction-a-b-myaction.validate-validation.xml" - For my example

Re: DoubleRangeFieldValidator missing in the Validations Container

2025-10-17 Thread Łukasz Lenart
PR is ready https://github.com/apache/struts/pull/1390 pt., 17 paź 2025 o 09:12 Łukasz Lenart napisał(a): > > Ok > https://issues.apache.org/jira/browse/WW-5579 > > pt., 17 paź 2025 o 08:44 Ute Kaiser napisał(a): > > > > Yeah, fixing is the best idea :-) > > > > Thx Ute > > (I do not have a Jira