• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

comboBox sends 0 when left empty

 
Akaine Harga
Ranch Hand
Posts: 99
Java MyEclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all

In my webapp when I leave rich:comboBox fields empty they send 0 when I submit the form. Any ideas why, and how could I avoid this behavior? Is the converter to blame? Here's the example code:

template:

I fill it dirrectly with its setter taking the results from a query which returns a list beginning from index '1':

converter:

the exception I get :

- JSF 1.2
- RichFaces 3.3.2
- JBoss 5.1
- EJB3

Thanks in advance
 
Akaine Harga
Ranch Hand
Posts: 99
Java MyEclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
anyone?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic