I am trying to update the status field of the standard salesforce contract object. Since we are using a custom layout, it would be preferable to simply have a button on top to accomplish this. I have tried using the method described at: http://sfdc.arrowpointe.com/2009/01/08/invoke-apex-from-a-custom-button-using-a-visualforce-page/
However my implementation is getting the error: java.lang.IllegalArgumentException: Illegal view ID cancel. The ID must begin with /
Would anyone be able to help with this design without getting into implementation details? Is there an easier way to accomplish this?