Hi to all.
I have a DB table and I want to create filters to apply to it with a mask.
I fill a HashMap and submit it to the JPA function....
I want to display label and inputText to fill two array (one for label, "nomi", and one for values, "valori"), but records in the maps are non static. An user must "add" a filter choosing from the available fields.
It must be done in
jsf page in this way:
"nomi" and "valori" are of type List<
String>... with add button i add the string "newChoise" to the list "nomi" and then I update the panel. It works.
Now, i have a panel binded to a
java bean properties and inside this i want to insert the code above...how it can be done?