Title: Message
Hi,
 
Though I don't see a link between Validator and pre-populating form fields, this weird thing is happening in my application.
 
I am pre-populating a Select component with a list of values. When I load this page, everything is fine. But when I add this form to Validator framework, this field is no more pre-populated - the select list is empty. This happens on any other page that I try.
 
Population:
 
<bean:define id="serviceSets" name="serviceSetsForm" property="serviceSets" type="java.util.Vector"/>
                   
<html:select size="8" property="serviceSet" styleClass="FieldText">
    <html:options collection="serviceSets" property="code" labelProperty="name"/>
</html:select>
 
Validation.xml:
 
    <formset>
        <form name="serviceSetsForm">
            <field
                property="name1"
                depends="required">
                    <arg0 key="text.servicesets.servicesetname.defaultlang"/>
             </field>
        </form>
    </formset>
 
JSP _javascript_:
 
<html:form action="" onsubmit="return validateServiceSetsForm(this)">
 
<html:_javascript_ formName="serviceSetsForm"/>
 
Thanks,
Suresh
**************************Disclaimer************************************************** 
   
 
 Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' 
and 'confidential' and intended for use only by the individual or entity to which it 
is 
addressed. You are notified that any use, copying or dissemination of the information 
contained in the E-MAIL in any manner whatsoever is strictly prohibited.

****************************************************************************************




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to