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 2003/06/07 11:15:11 UTC

DO NOT REPLY [Bug 20571] New: - Validation Error

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=20571>.
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=20571

Validation Error

           Summary: Validation Error
           Product: Struts
           Version: Nightly Build
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Validator Framework
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: phoenixtrees@hotmail.com


When I use struts Validator Framework (in jakarta-struts-20030604.zip), I 
configured validation.xml as follows:

<form-validation>
	<formset>
		<form name="testForm">
			<field property="testID" depends="required">
				<arg0 key="prompt.testID" />
			</field>
		</form>
	</formset>
</form-validation>

And I found that arg0 element doesn't work: struts prompt "null is required", 
not "testID is required". Then I test struts-example and found the same 
prompt "...null is required. null is required. null is required."!!!

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org