• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Seam Form Variables

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Why are variables accessible in one part of an application not accessible in another part? I have a form with many input such as:




The variable cvEvent is declared in a EventManager class as such:

The form is 'submitted' like this:

Within that method, eventManager.confirmedNewEvent, I can access the cvEvent variables thusly:

That all makes perfect sense to me. What I don't understand is why this doesn't work when I copy the form to a different page. I get:

I cannot figure out why this is happening or where the 'scope' of the cvEvent variable is configured. Why would this work in one place and not another?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!