You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use a data table for showing selected items. The table is reused for multiple selections.
When another selection is started, the data collection (ArrayList) is rebuilt and the item holding
the current selected row is set to null.
The data table shows a selected row if the rowKey of any previous selection can be found in this list.
It is not sufficient to set the variable holding the selection to null.
I have to set this variable to a dummy value to clear the selected row in my new data table.
Environment:
PF Version: 10.0.0
Mojarra 2.3.14
Expected behavior
With building a new data source and clearing the current-row-item, there should not be shown a selected row.
I use a data table for showing selected items. The table is reused for multiple selections.
When another selection is started, the data collection (ArrayList) is rebuilt and the item holding
the current selected row is set to null.
The data table shows a selected row if the rowKey of any previous selection can be found in this list.
It is not sufficient to set the variable holding the
selection
to null.I have to set this variable to a dummy value to clear the selected row in my new data table.
Environment:
Expected behavior
With building a new data source and clearing the current-row-item, there should not be shown a selected row.
Example XHTML
Example Bean
The text was updated successfully, but these errors were encountered: