How do I reset MultiViewState programatically?

UI Components for JSF
Post Reply
primeUser99282
Posts: 36
Joined: 14 Nov 2021, 01:48

17 Jan 2022, 16:58

I am successfully using MultiViewState flag to keep the state of tabs, pagination, et al.

However, every so often I'd like to reset / clear this state in my Backing Beans. How do I do this for specific tabViews or dataTables?

tandraschko
PrimeFaces Core Developer
Posts: 3979
Joined: 03 Dec 2010, 14:11
Location: Bavaria, DE
Contact:

17 Jan 2022, 17:35

Thomas Andraschko

PrimeFaces | PrimeFaces Extensions

Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE

Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko

Lebsack
Posts: 1
Joined: 18 Jan 2022, 09:54

18 Jan 2022, 09:57

I can poke around. In production my client has a customized Lazy Datatable we use and store sorts and filters and all the refactoring you did last week solved all my problems! We don't use the TableState stuff but I will poke around the showcase.

MyCCPay

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 39 guests