Hi,

We noted following error message in the screen after used the validation xml
file.

*org.apache.jasper.JasperException: tag 'select', field 'list', name
'entityInternalId': The requested list key 'entities' could not be resolved
as a collection/array/map/enumeration/iterator type. Example: people or
people.{name} - [unknown location]*

 without validation xml and application page showing dropdown coming
properly.
Jsp page

  <td class=*"cellText"* width=*""*>

                  <s:select   id=*"entityInternalId"*

                        name=*"entityInternalId"*

                        list=*"entities"*

                        headerKey=*""*

                        headerValue=*""*

                        listKey=*"internalId"*

                        listValue=*"entityName"*

                                     />

                                    </td>



Validation.xml



validators>

     <field name=*"entityInternalId"*>

        <field-validator type=*"requiredstring"*>

            <message>Please select the entity</message>

        </field-validator>

    </field>



     <field name=*"userId"*>

        <field-validator type=*"requiredstring"*>

            <message>Please *keyin* the *username*</message>

        </field-validator>

    </field>

    <field name=*"jsPassword"*>

        <field-validator type=*"requiredstring"*>

            <message>Please *keyin* the password</message>

        </field-validator>

    </field>

</validators>


Any one help on this ?

Regards
Yanto

Reply via email to