You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Visualforce新手求助:已创建基础页面,有若干问题咨询

Visualforce新手求助:自定义Campaign页面的"Save & New"按钮怎么实现?

嘿各位,我刚入坑Visualforce,现在碰到个小难题想请教。我已经做了一个基础的Campaign编辑页面,代码如下:

<apex:page standardController="Campaign"> 
    <apex:sectionHeader title="Campaign" subtitle="Campaign Edit"/> 
    <apex:form id="theForm"> 
        <apex:pageBlock title="Campaign" mode="edit"> 
            <apex:pageBlockButtons > 
                <apex:commandButton action="{!save}" value="Save"/> 
                <apex:commandButton action="{!cancel}" value="Cancel"/> 
                <apex:commandButton value="Save & New" ...

目前Save和Cancel按钮都正常工作,但这个Save & New按钮我不知道该怎么写action逻辑,想要实现保存当前记录后直接跳转到新的Campaign编辑页面。有没有前辈能给我讲讲具体的实现步骤呀?

内容的提问来源于stack exchange,提问作者user3617337

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.21 07:49:56