struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From José Antonio Delgado Trujillo <>
Subject Re: validation checkboxlist
Date Fri, 05 Jan 2018 18:26:16 GMT
> “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

I also see the label Cursos and the options

The problem is about the XML validation.
<field name=“personBean.levels”>
     <field-validator type=“fieldexpression>
          <message>You must select at least one option</message>

It is always trigger 

Un saludo,
José A.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message