aspose file tools*
The moose likes JSF and the fly likes values in one form dissapearing when editing another Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "values in one form dissapearing when editing another" Watch "values in one form dissapearing when editing another" New topic
Author

values in one form dissapearing when editing another

Jamie Williams
Ranch Hand

Joined: Mar 31, 2006
Posts: 70
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

Joined: Mar 31, 2006
Posts: 70
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 ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: values in one form dissapearing when editing another