私はapexでより新鮮です。3 つのフィールドと 1 つのボタンがあるサンプル フォームが 1 つあります。ボタンのクリックで別のページを開きたい。案内してもらえますか?
前もって感謝します。
public PageReference save() {
// Add the account to the database.
insert account;
// Send the user to the detail page for the new account.
PageReference acctPage = new ApexPages.StandardController(account).view();
acctPage.setRedirect(true);
return acctPage;
}