i am using dynamic Visualforce component created in Apex
public with sharing class Sample3 {
public Component.Flow.Interview flow{get;set;}
public Sample3(){
flow= new Component.Flow.Interview();
flow.name='Calculator';
}
}
and VF page is
<apex:page controller="Sample3">
<apex:dynamicComponent componentValue="{!flow}"/>
</apex:page>
but when i open visualforce page its giving me error
Not Serializable: Component.flow.interview
As mentioned in comment i made a demo Class and VF Page
can anyone please tell How to resolve this issue ??