How to input values to HashMap in bean using Primefaces?
I have a page where I have to associate two fields using key-value pair
and save. For example, I have a number of participants who has prices. If
I use two p:inputText fields to enter their values, how should the backing
bean look like?
Also, I want to display the number of such pairs of p:inputText fields
according to the number of participants I enter. I have a similar question
answered here How to insert a primefaces input text dynamically?. But I
want to be able to submit the values to a key-value pair.
No comments:
Post a Comment