• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

values in one form dissapearing when editing another

 
Jamie Williams
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've had one form with all the controls for the details to/not to show in a dataTable on a page, including multiple selectOneMenus and checkboxes and a button to press to show the data with the current settings. Now I have to move these controls to different places around the page and have them update the display every time a value is changed, with no button to submit the form, so I'll have to rely on '0nchange="subm1t()"' with every control. Not my choice - my boss's.

I tried moving one of the controls into another form but it causes all of the other values (for the controls in the original form) to go 'false' or null/unset. All of these values that define what's being shown is in a single bean - why is it changing the other values?
 
Jamie Williams
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No one has any ideas? Here's the code:

First form, with checkboxes and button to submit:


Second form with selectOneMenu and valueChangeListener:


Please help, this is driving me crazy!
[ September 07, 2006: Message edited by: Jamie Williams ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic