You need to sign in to do that
Don't have an account?
BrokenBird
Strange Visual Force bug
Every time I save in my code, I return to the parent form:
public PageReference mysave() { update scorecard; PageReference pageRef = new PageReference('/'+scorecard.Project__c); return pageRef; }
but the Page Editor layer at the bottom stays there... And If I go in the form again, and save, and repeat a few time, it adds more and more layers. This is quite strange, is it my code that causes that?
Adding immediate="false" in my commandButton solved the issue.
<apex:commandButton value="Save" action="{!mysave}" immediate="false"/>