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
John ClevelandJohn Cleveland 

VF Section Save causes whole case to show

I have this VF section in a standard case page layout.
User-added image

After I check the box and save, the VF section of the layout shows the whole case page.  Why doesn't it just refresh with showing what was there before save?
User-added image


 
Best Answer chosen by John Cleveland
William TranWilliam Tran
it is because you are using the out of box Save of the standard controller,  Create custom method "Custom Save", perform the controller.save and return null;

As a common practice, if your question is answered, please choose 1 best answer. 
But you can give every answer a thumb up if that answer is helpful to you. 

Thanks

All Answers

William TranWilliam Tran
it is because you are using the out of box Save of the standard controller,  Create custom method "Custom Save", perform the controller.save and return null;

As a common practice, if your question is answered, please choose 1 best answer. 
But you can give every answer a thumb up if that answer is helpful to you. 

Thanks
This was selected as the best answer
RAHUL SAHARAHUL SAHA
Are you doing any page redirect after save?
John ClevelandJohn Cleveland
So I need to use an extension for the page?
William TranWilliam Tran
Yes you do, otherwise you are using standard controller default navigation.

Thx