[ http://issues.apache.org/struts/browse/STR-686?page=all ] Don Brown closed STR-686: -------------------------
Resolution: Fixed > Validator is not available under sub-application > ------------------------------------------------ > > Key: STR-686 > URL: http://issues.apache.org/struts/browse/STR-686 > Project: Struts Action 1 > Type: Bug > Components: Action > Versions: 1.1 Beta 2 > Environment: Operating System: All > Platform: All > Reporter: Gen Kagawa > Fix For: 1.1 Family > Attachments: StrutsValidatorUtil.patch, StrutsValidatorUtil.patch, > validator-1.1-compatability.patch > > It seems that Validator does not work under sub-application of struts1.1b . I > tried to make Validator Plug-In in each struts-config.xml of sub-applications, > but it's failed. > My Idea is follows: > 1. Modify ValidatorPlugIn.init() to set resources to ServletContext with > 'prefix' of sub-application. > 2. Modify StrutsValidatorUtil.getValidatorResources() > to get resources from ServletContext by 'prefix' of sub-application. > Some parameters may have to change to do this. > I wish to be fixed in Struts1.1b2. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]