• 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

Javascript added hidden inputs in JSF forms

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We have a JSF form which contains an e-mail recipient fieldset. To this fieldset the user can add recipients using a list of users done with jQuery and SimpleModal. The list contains the recipients and upon clicking the name of the recipient, the name is added using javascript to the fieldset along with a hidden input containing the recipient ID etc.

We can't figure out how to get the values of the hidden input fields when the form is POSTed. The fieldset is generated via JSF but the hidden input fields aren't, as we cannot know how many recipients will be added.

Any help regarding this is greatly appreciated!
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic