Community Announcements have moved! To stay up to date, please join the new Community Announcements group today. Learn more
×Good morning,
I have configured a LiveView-Template with a TableView. The pagination of the TableView is set to 20 (specification from our administrator).
When I open the page with the LiveView the TableView shows the first 20 entries and shows the button for scrolling further as well as the Number of entries.
When I switch to the second page, the TableView remains empty and displays "records: 0".
To display the entries again, I have to refresh the page.
Is there a solution to this problem? What can I do?
Thank you for your response.
Hi @Jens Kempf
Sorry to hear that. But could you confirm a version of ConfiForms you are using? I really could not reproduce that with current version
Pagination works correctly
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is strange. What is your set up?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Very small setup:
Page 1: form definition:
<p>
<br/>
</p>
<ac:structured-macro ac:macro-id="0854bcae-69af-493e-a0eb-977fb9615bf5" ac:name="confiform" ac:schema-version="1">
<ac:parameter ac:name="formName">testform</ac:parameter>
<ac:rich-text-body>
<p>
<ac:structured-macro ac:macro-id="9b5d5bf3-80c3-4ebe-8fab-8aa674e05038" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">field1</ac:parameter>
<ac:parameter ac:name="fieldLabel">Field1</ac:parameter>
<ac:parameter ac:name="type">text</ac:parameter>
</ac:structured-macro>
</p>
<p>
<ac:structured-macro ac:macro-id="7b84f74c-084e-4284-814f-d4c1b9b10ef3" ac:name="confiform-field-definition" ac:schema-version="1">
<ac:parameter ac:name="fieldName">field2</ac:parameter>
<ac:parameter ac:name="fieldLabel">Field2</ac:parameter>
<ac:parameter ac:name="type">text</ac:parameter>
</ac:structured-macro>
</p>
<ac:structured-macro ac:macro-id="a7d1badf-1f7e-4600-b553-ca50a7c1d80d" ac:name="confiform-entry-register" ac:schema-version="1">
<ac:parameter ac:name="type">Embedded</ac:parameter>
<ac:rich-text-body>
<p>
<br/>
</p>
</ac:rich-text-body>
</ac:structured-macro>
<p>
<br/>
</p>
</ac:rich-text-body>
</ac:structured-macro>
<p>
<br/>
</p>
Page 2: template:
<ac:structured-macro ac:macro-id="76bf1b9a-de6b-4379-904e-b6c1b31deb71" ac:name="confiform-table" ac:schema-version="1">
<ac:parameter ac:name="filter">field1:[page_property.field1]</ac:parameter>
<ac:parameter ac:name="pager">3</ac:parameter>
<ac:parameter ac:name="pageTitle">
<ac:link>
<ri:page ri:content-title="LiveView Test"/>
</ac:link>
</ac:parameter>
<ac:parameter ac:name="formName">testform</ac:parameter>
<ac:rich-text-body>
<p>
<br/>
</p>
</ac:rich-text-body>
</ac:structured-macro>
<p>
<br/>
</p>
Page 3: LiveView page
<p>
<ac:structured-macro ac:macro-id="8df0c2c5-58b7-4cd1-b7ed-d60cffd5c484" ac:name="confiforms-live-view" ac:schema-version="1">
<ac:parameter ac:name="pageTitle">
<ac:link>
<ri:page ri:content-title="Template-Jens"/>
</ac:link>
</ac:parameter>
</ac:structured-macro>
</p>
<ac:structured-macro ac:macro-id="a12e035f-c9e2-48d6-a43b-3635b5426c30" ac:name="details" ac:schema-version="1">
<ac:rich-text-body>
<table class="wrapped">
<colgroup>
<col/>
<col/>
</colgroup>
<tbody>
<tr>
<th scope="col">field1</th>
<td>001</td>
</tr>
</tbody>
</table>
</ac:rich-text-body>
</ac:structured-macro>
<p>
<br/>
</p>
Pagination on template page is set to 3.
If I enter the fourth entry, the TableView in the LiveView on page 2 is empty and I have to reload the page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.