• Aniruddha Patil
  • 0 Points
  • Member since 2015

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
  • 1
I have a visualforce page displayed inside a visualforce page. I have included a javascript file on inner page and I am calling a of that javascript file from outside visualforce page. But at runtime when I see the page source the file is not getting loaded. Any gusses why is this happening.?
I am creating an application, where I have to populate values in picklist depending on value selected in previous picklist. For both picklist we are retriving values from SOQL. When I try to render 2nd picklist upon value selection in 1st picklist, my mobile browser hangs alsotried in Salesforce1 app,it also hangs. Please suggest .
Hi folks,
    Can anyone tell me how to redirect one visualforce page to another visualforce page automatically ?
below is my visualforce page :
<apex:page standardController="Account" extensions="AccountDownload" 
   recordSetVar="accounts" sidebar="false"  cache="true"> 
    <html xmlns:w="urn:schemas-microsoft-com:office:word">
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
            <apex:form >
                <apex:pageBlock title="Archiver For Account">
                     <div style="text-align:left" >          
                         <apex:pageBlockTable value="{!accounts}" var="ac" >
                             <apex:column headerValue="AccountName">
                                 <apex:outputText >{!ac.Name}</apex:outputText>
                             <apex:column headerValue="Account Number">
                                 <apex:outputText >{!ac.AccountNumber}</apex:outputText>
                             <apex:column headerValue="AccountType">
                                 <apex:outputText >{!ac.Type}</apex:outputText>
                             <apex:column headerValue="Phone Number">
                                 <apex:outputText >{!ac.Phone}</apex:outputText>
               <apex:outputText value="hi dude,"/>
            function redirect(){
            window.onload = window.setTimeout(redirect(),5000);

My question is once the document is downloaded then it will automatically redirect to another page as mentioned above.
I have tried using action attribute,calling redirect method from constructor. but nothing happen.
Finally I got the idea is using javascript we can redirect automatically.
but it dosent work for me.

Someone please tell me what I have to modify.

Thanks in advance