Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class MemberPaymentFinishController2 {
- public Flow.Interview.Manual_Membership_Payment theFlow {get; set;}
- public String getFinishURL() {
- String FinishURL;
- if (theFlow==null) return '';
- else return theFlow.varOppID;
- }
- public PageReference getFinishPage(){
- PageReference p = new PageReference('/' + getFinishURL());
- return p;
- }
- }
- <apex:page Controller="MemberPaymentFinishController2" >
- <flow:interview name="Manual_Membership_Payment" finishlocation="{!FinishPage}" />
- </apex:page>
- public class quickCreateContactController {
- public String myNewId { get; set; } //not needed, forgot to remove
- public Flow.Interview.Quick_Create_Contact quickCreateFlow { get; set; }
- public String getFinishURL() {
- String FinishURL;
- if (quickCreateFlow != null) {
- FinishURL = quickCreateFlow.vaNewCreatedContactId;
- return FinishURL;
- }
- else return 'home/home.jsp';
- }
- public PageReference getFinishPage(){
- PageReference p = new PageReference('/' + getFinishURL());
- return p;
- }
- }
- <apex:page controller="quickCreateContactController">
- <div id="flow">
- <flow:interview name="Quick_Create_Contact" interview="{!quickCreateFlow}" finishLocation="{!FinishPage}">
- </flow:interview>
- </div>
- </apex:page>
- quoteFlow.varNewQuoteId
Add Comment
Please, Sign In to add comment