[ https://issues.apache.org/jira/browse/WW-3715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart resolved WW-3715. ------------------------------- Resolution: Fixed Already fixed with WW-4536 > Allow for dynamic validation xml files, by building validator cache based on > action AND context > ----------------------------------------------------------------------------------------------- > > Key: WW-3715 > URL: https://issues.apache.org/jira/browse/WW-3715 > Project: Struts 2 > Issue Type: Improvement > Components: XML Validators > Affects Versions: 2.1.8 > Reporter: J. Garcia > Priority: Trivial > Fix For: 6.1.0 > > Attachments: allow-for-dynamic-validator-files.patch.3.x > > > In order to be able to call from an action's validate method: > validatorManager.validate(this, "my-dynamic-context"); > xwork's AnnotationValidatorManager should build its validator's key cache > based on both clazz (action) AND context. This allows to decide the xml > validation file dynamically. -- This message was sent by Atlassian Jira (v8.20.10#820010)