You need to sign in to do that
Don't have an account?
Stop displaying Popup On every page refresh
Hello All,
I have a page which opens a popup after every refresh i.e. at the time of loading,
at the time of displaying errors.
I want that it shows popup only for the first time when it loads and not for second time when it shows error message.
Here's short code,
<body class="Secondary" onload="clickme();" >
function clickme()
{
$( "#dialog-form" ).dialog( "open" );
}
***************************************************************************************************************************
public class demo
{
public PageReference gotonext()
{
if(all is ok)
{
return Page.nextpage;
}
else
{
System.debug('Error has been occured');
return null;
}
}
}
can anybody help me to solve above issue.
Thanks in advance.
Regards,
Pratty
You should be able to control the rendering via a controller property. Something like:
and the page:
All Answers
You should be able to control the rendering via a controller property. Something like:
and the page:
Hey Bob,
It works fine, thank you very much.
Regards,
pratty