Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.1-Beta2
-
Component/s: Sample Apps
-
Labels:None
-
Environment:IF 2.1, Comp Suite
-
Assignee Priority:P1
Description
The row selection test of the comp suite is producing unexpected updates:
http://localhost:8080/comp-suite/showcase.jsf?grp=aceMenu&exp=dataTableSelector
When using the "ajax" selection option, the "status" panel group on the page is to be immediately updated with the details of the currently selected row objects. This doesn't happen, however refreshing the page renders the page as we would expect to have had following the updates.
When using non-ajax selection, the no behaviour on selection is expected, and to compensate an update button is added to the page. This button has execute @all render @all set, and updates the contents of status as expected.
http://localhost:8080/comp-suite/showcase.jsf?grp=aceMenu&exp=dataTableSelector
When using the "ajax" selection option, the "status" panel group on the page is to be immediately updated with the details of the currently selected row objects. This doesn't happen, however refreshing the page renders the page as we would expect to have had following the updates.
When using non-ajax selection, the no behaviour on selection is expected, and to compensate an update button is added to the page. This button has execute @all render @all set, and updates the contents of status as expected.
Using @all as the update parameter of the table "fixes" the issue, but only by causing an abnormally large update to the components in the form.
ex.
{dataTableSelector.instantUpdate ? '@all' : 'none'}update="#
"
This is promising to see, but highlights the oddity of the 'status' panelGroup update not working, consider it and the table are in the same naming container.