How can I disallow Mojarra, injecting a javax.faces.ViewState hidden into my <form>
s? I have a search <form method='GET'>
which works first time my page is loaded (because my view-scoped bean is re-initialized correctly). But after an AJAX pagination in the page (over a PrimeFaces grid), Mojarra (or PrimeFaces?) injects a hidden javax.faces.ViewState into my form. Now when I submit the form it doesn't restart my view-scope bean because of javax.faces.ViewState input.
The issue here is: I want my search bean to initialize and show results to the user, but as ViewScope parameter is passed, neither this bean is initialized nor related page is shown. It just remains on the previous page.