This week's book giveaway is in the HTML Pages with CSS and JavaScript forum.
We're giving away four copies of Testing JavaScript Applications and have Lucas da Costa on-line!
See this thread for details.
Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

values in one form dissapearing when editing another

 
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 ]
    Bookmark Topic Watch Topic
  • New Topic