+ Start a Discussion
lsateeshklsateeshk 

Reload VF page

How can i reload Visual force page after i switch my window.

 

when i minimize my VF page or open a different tab in my window . 

and when i return back to my VF page window the page has to be refreshed can some one help me out please

kevindotcarkevindotcar

Hi Isateeshk

 

It's kind of hard to see what you're doing, but I thik the rerender attribute will do what (I think) you are attempting

 

 

lsateeshklsateeshk

I need to reload the Page when  i focus .. 

 

Here i have an Issue .. 

 

i am Pasing a parameter along with my URL tnd using record ID to do a Query to list all records ..

when i want to add another record i am adding a new button saying add record 

 

<apex:commandButton value="Add Additional record"  onclick="window.open('{!record}');"  />

 

this is opening in a new Window ..

 

My parent window URL:: https://XXX.visual.force.com/apex/QAT_Approval_List?Lid=a7BS00000004CFQMA2 .

 

when i click above button its triming down my URL :

 

to  https://XXX.visual.force.com/apex/QAT_Approval_List ??

 

when i reload its failing 

 

 

can some one get me an idea