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/10/30 01:36:30 UTC
DO NOT REPLY [Bug 24236] New: -
Validaor error while validator for fields in
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=24236>.
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=24236
Validaor error while validator for fields in <select> element
Summary: Validaor error while validator for fields in <select>
element
Product: Struts
Version: 1.1 Final
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Validator Framework
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: avinay_2000@yahoo.com
Validator behaves erratically when 'required' rule is used for fields mapped
<select> element. It throws error saying 'Field is required' even though Field
has a value.
My code snippets is like this
Validator-xml:
<form>
<field property="detail.mfgPartNum" depends="required">
<arg0 key="Mfg Part #" resource="false"/>
</field>
</form>
Jsp:
<html:select property="detail.mfgPartNum" >
<html:options name="S_MFG_PART_NUM_LIST" labelName="S_MFG_PART_NUM_LIST"/>
</html:select>
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org