Creation of dynamic combos and flaps - Jsf / Primefaces

1

I'm working on a project that has as basic requirement that the user can create screens to view data coming from various data sources. The user creates what we call a dashboard and includes components (label, table, graph, combo). The user can open multiple dashboards at once and they are separated into tabs on the screen itself. So, you have a page that displays a combobox with all the dashboards registered, when the user selects some of them it is loaded in a tab.

TheproblemhappenswhenIhaveacomboboxinoneflapandIopenanotherone,becauseinthiscasethecomboboxinthefirstopenedflapstopsworking;whenyouopenittoviewthedatatheyaredisplayedincompletelyoutofcontextposition.

In addition, when I select an item, the answer - validation error value is not valid is displayed. I have done a lot of research and the solutions usually go through converters. I checked my converter, inspected / debugeed and the values are correct. My object has hashcode, equals, and toString implementation, all pointing to the object's unique identifier. I installed omnifaces and tried to solve with his converters without success.

The fact that the open combobox was rendered in the wrong way gave me the idea that it was some sort of javascript conflict, but there was no display of any JS errors in the browser browser.

Have you seen anything similar? Do you have any idea where to look for a solution?

    
asked by anonymous 23.03.2016 / 03:13

1 answer

0

My case has been resolved by "deactivating" validations <f:validateBean disabled="true"/> . In cases where this is not necessary the implementation of validator would also be an option.

    
29.03.2016 / 04:55