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/23 20:05:26 UTC
DO NOT REPLY [Bug 10163] New: -
struts-validator.war, set-property documentation/example are conflicting
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=10163>.
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=10163
struts-validator.war, set-property documentation/example are conflicting
Summary: struts-validator.war, set-property documentation/example
are conflicting
Product: Struts
Version: Nightly Build
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: Normal
Priority: Other
Component: Example
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: matt@raibledesigns.com
I downloaded the 6.22 nightly build of Struts and noticed some conflicting
statements in the Validator.
In struts-validator/WEB-INF/struts-config.xml, there is:
<set-property property="pathnames" value="/WEB-INF/validator-rules.xml,
/WEB-INF/validation.xml"/>
But in validator-rules.xml, in the comments, it specifies:
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property property="pathname"
value="/WEB-INF/validator-rules.xml"/>
<set-property property="pathname" value="/WEB-INF/validation.xml"/>
</plug-in>
The first method seems to work, while the second does not. With the second, I
end up with this extra code:
// End -->
</SCRIPT>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>