> “personBean.levels.isEmpty”

Yes, it’s empty an in the form the first time rendered all the options are 
unchecked.


> 
> You should use "name" instead of "key"

Why not key? i have the correspondan property files
personBean.levels=Cursos

I also see the label Cursos and the options

The problem is about the XML validation.
<field name=“personBean.levels”>
     <field-validator type=“fieldexpression>
          
<param-name=“expression”>[!CDATA[#personBean.levels.length==0]]>></param>
          <message>You must select at least one option</message>
     </field-validator>
</field>

It is always trigger 

Un saludo,
José A.

Reply via email to