You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2002/06/29 09:18:33 UTC
DO NOT REPLY [Bug 10348] New: -
Validator is not available under sub-application
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10348>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10348
Validator is not available under sub-application
Summary: Validator is not available under sub-application
Product: Struts
Version: Nightly Build
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: Unknown
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: kagawa@sun12.tis.co.jp
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.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>