+ Start a Discussion
Rick MacGuiganRick MacGuigan 

Using <Apex:Component> to add a Visualforce page within a Visualforce page and Viewstate

To avoid an object from getting too big I'm building seperate objects with their own Visualforce component pages. The main Visualforce page uses tabs where I am calling each componenet page.

By doing this will the viewstate on the main page be kept under the limit ? Or do called component Visualforce pages add to the main page view state ? 

Also, how can I relate all of the Visualforce components to the main Visualforce page for reporting ? 

Unfortunately I'm dealing with many fields and don't want to run into view state errors forcing me to write more HTML along with any transient property definitions in the controller (which is very light.)