Payara 5.2022.2
JEE 8
Java 17
Serenity 5.0
If I take the Serenity sample app and add the following to the Customers table in table.xhtml
Code: Select all
stickyHeader="true" stickyTopAt=".layout-topbar"
Code: Select all
<p:dataTable widgetVar="customersDT" var="customer" value="#{dataTableDemoView.customers1}" reflow="true"
selection="#{dataTableDemoView.selectedCustomers}" rowKey="#{customer.id}"
stickyHeader="true" stickyTopAt=".layout-topbar"
paginator="true" rows="10" paginatorPosition="bottom" rowSelectMode="add">
<f:facet name="header">
<div c.....
I don't think it is correct behavior and it confuses any person looking at it.
it gets event worse if I add the following:
Code: Select all
<p:blockUI block="form" >
Generating reviewer list. Please don't refresh/close this page or navigate away...<br />
<p:graphicImage value="/images/ajax-loader.gif"/>
</p:blockUI>
Code: Select all
<div class="card">
<p:blockUI block="form" >
Generating reviewer list. Please don't refresh/close this page or navigate away...<br />
<p:graphicImage value="/images/ajax-loader.gif"/>
</p:blockUI>
<h5>Default</h5>
<p>Pagination, sort...
And another similar heading appears a few rows down the data table. It has the functionality but it looks stupid...
Is there some patch I can apply to get the correct behavior.
This behavior is seen also in serenity 4 and 3.
Kim