I have a PrimeFaces 6.2 DataTable with rowExpansions. Each rowExpansion has another DataTable with pagination enabled. The whole construct is within a single form. The backing bean is a ViewScoped ManagedBean. Selecting a row in a child table will update the parent table. The problem is now that when I change the pagination in a child table and select a row causing an update that the pagination in all other child tables gets the same index. So if for example I am on page while doing the change, all other tables will be on their page 2 as well. The same happens if change the pagination and open or reopen another rowExpansion. So, why on earth do these tables share the same pagination index? I have already tried to put all child tables in a separate form. This changes nothing.
Multiple Primefaces DataTables on one page have the same pagination index
268 views Asked by jansolo At
0
There are 0 answers
Related Questions in JSF
- Calling custom AuthenticationHandler from Faces bean throws IllegalStateException: Cannot change buffer size after data has been written
- Force security constraint managed 403 error when hitting restricted page with h:commandLink
- primefaces component id not found in update
- LazyDataModel, custom filter with search button
- How to use SelectManyCheckbox with ArrayList as HashMap value
- how to surpress logging of jsf "There are some unhandled FacesMessages"
- SelectManyCheckbox returns array of Object[] instead of ArrayList
- My dialog component on PrimeFaces can't render a list on first click
- How to retrieve posted data via FacesContext
- I'm using JSF and after a timer expires, I want to display a warning
- Why print result is blank?
- PrimeFaces centering searchbar on menubar
- JSF: p:fileUpload requiredmessage is apearing on click of another button
- How can I make sure that JSF works?
- Is there an already-made template project using Spring, JSF, PrimeFaces, SOAP and MySQL?
Related Questions in PRIMEFACES
- primefaces component id not found in update
- LazyDataModel, custom filter with search button
- How to use SelectManyCheckbox with ArrayList as HashMap value
- Primefaces DataTable RowGroup with HeaderRow : how to reverse order?
- SelectManyCheckbox returns array of Object[] instead of ArrayList
- My dialog component on PrimeFaces can't render a list on first click
- Why print result is blank?
- PrimeFaces centering searchbar on menubar
- Is there an already-made template project using Spring, JSF, PrimeFaces, SOAP and MySQL?
- Frozen Columns in JSF Primefaces
- Slow page load after updating primefaces(-extension) from 6.2 to 8
- WildFly primefaces Fileupload customization (Encrypted tempFile)
- DuplicateIdException - myfaces 3.02, primefaces 13.0.0, TomEE 9.1
- Removing Axis Below Bars in Horizontal Bar Chart using PrimeFaces V8 HorizontalBarChartModel, JSF
- Primefaces dataTable reset after Submit button click
Related Questions in JAVA-EE-5
- Restarting the server in the JEE applications
- Eclipse IDE 2022-06, how to change template when create new JSP file?
- Import existing project in Eclipse
- How to write a web service for a Java NetWeaver 7.5 via NWDS?
- Why EJBObject's remove function no removing the object of the Collection get from bmp-query?
- Creation of a java EE project on Eclipse for Java EE
- On improving file uploads with respect to memory and performance - struts 1
- HashMap doesn't add values after @InjectMocks. The hashmap is inside class with the annotation
- How to escape special symbols or special character in Java?
- How to include another jsp page from custom jsp tag
- Question about xa and transaction on ejbs
- XA or non XA in JEE
- Java EE at creating servlet - Multiple markers at this line
- Multiple Primefaces DataTables on one page have the same pagination index
- configure JSR45 on intellij with JDK1.5 and JBOSS EAP6.4
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)