How to implement “Cancel” functionality in a VisualForce Page
-
30-10-2019 - |
Question
I know that this is how to save a record
<apex:commandButton action="{!save}" value="Save"/>
I want a button to NOT save the current record (ie. Cancel) and navigate to the list of saved record (ie. list of objects for that object type).
Something like this...
<apex:commandButton action="{!cancel}" value="Cancel"/>
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow