• 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

Primfaces: Data lost in inputTextfield on dropdown value change

 
Greenhorn
Posts: 14
jQuery Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a table which has inputtextfields and a dropdown. I need to save the values stored in input fields when the value of dropdown changes.


but when I reach to bean method save, it does not show the values of inputtext field. I have checked the mapping of textfields. If I set the values of textfields from bean and then call event of dropdown then in save method I got the values.
 
Saloon Keeper
Posts: 27764
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Your selectOneMenu control does not appear to have a "value" attribute.

How is JSF supposed to know what property to get/set the control's selected value from?
 
reply
    Bookmark Topic Watch Topic
  • New Topic