File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Javascript added hidden inputs in JSF forms

 
Ant Niemela
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • 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!
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic