function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
disturbed118disturbed118 

Weird issue with visualforce page and view state

Hi i have a visualforce page that is one page but has 3 sections (split like 3 pages), each section is part of a step by step process to update some info. I have buttons at the top next and back, the action methods just return null but has some logic to render which section of the wizard i.e. page1, page2.

 

Now if you go back and then next i.e clicking on the buttons the page fails, i checked some vairables and most have now become null. What i tried to acheive here was have 3 pages but in one page. what is strange is that say you goto the next section (page) clicking next and update some info and go back it seems to work but if go back and forth with no update the page eventually dies.

 

So i am thinking there is something wrong with the view state?