You need to sign in to do that
Don't have an account?
sg88324
Retaining file value on page refresh
Hi all,
There is a peculiar problem that i m facing with file upload. There is an inputfile on my VF and whenever i refresh the page, the file value is getting lost. I want to retain the file uploaded even when the page is refershed.
code:
VF:
<apex:inputFile value="{!attachment.body}"/>
Apex Class:
public Attachment attachment{
get {
if (attachment== null){
attachment= new Attachment();
doclist.add(attachment);}
return attachment;
}
set;
}
Thanks,
Sandeep
it is not possible in sfdc.....as of now.....
bye