javaserver faces & dynamically created form elements

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ittay Dror

    javaserver faces & dynamically created form elements

    Hi,

    As an example, imagine I want to write a page with a form for emailing
    it to a number of people. In pure HTML, i'd create an initial layout
    of one text box (for entering an email), a submit button and an 'add
    another email' button, which will dynamically (and on the client side)
    create another text box.

    How do I implement such a page in JSF? In particular, while the JSP
    page will contain only 1 text box, the form submission will contain
    several values. How will they be handled?

    Thanx,
    Ittay
Working...