• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem with a Form

 
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all.
I have the following problem.
I have a form and 2 of its fields are always null. I have inserted log messages in the set methods of the form bean and the program never enters there. With the rest of the fields I have no problem.

This is the JSP code of those fields, which are 2 lists and I move elements between them, using Javascript.

<bean:message key="asignar.candidatos"/><br/>
<html:select property="candidatos" multiple="multiple" >
<html ptions collection="candidatosBeans" property="id" labelProperty="descripcion"/>
</html:select>

<td align="center">
<bean:message key="asignar.elegidos"/><br/>
<html:select property="elegidos" multiple="multiple"
</html:select>
</td>
 
Miguel Flecha
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I forgot! "candidatos" and "elegidos" are defined in the form bean as array of Integer
 
reply
    Bookmark Topic Watch Topic
  • New Topic