Re: Validation problems for fields in iterator

2025-10-22 Thread Lukasz Lenart
This warning is from here [1], I would add the "required" validator [2][3] to avoid using field-validator if the value is null [1] https://github.com/apache/struts/blob/main/core/src/main/java/org/apache/struts2/validator/validators/VisitorFieldValidator.java#L134 [2] https://struts.apache.org/co

Re: Validation problems for fields in iterator

2025-10-18 Thread Ute Kaiser
conversion error not repopulating the field: Done with this syntax: Gesendet: Donnerstag, 9. Oktober 2025 um 21:44 > Von: [email protected] > An: [email protected] > Betreff: Validation problems for fields in iterator > > Hi, I am looking for the right syntax to write

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

Validation problems for fields in iterator

2025-10-12 Thread utkai
Hi, I am looking for the right syntax to write validations for fields in iterator. (value="%{getFormatted('myDoubleFormat','mother.child[%{#status.index}].pocketmoney')}" caused an OGNL error) I tried several xml field validators (requiredstring, stringlength, required, double, conve