• brianlloyd
  • NEWBIE
  • 25 Points
  • Member since 2013

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 1
    Replies
Title says it all. The Site was working just fine earlier this morning. Now it says it is down for maintenance. We talked with SalesForce they say there are no problems that they are aware of. The force.com version of the site works just fine. So it is not a code problem. The help on the site page when assigning the page to display for maintence suggests that this page only appears when salesforce is down for maintenance.

So my questions, is there a problem that salesforce is not aware of?
Am I missing some mistical check box that puts the site in maintenance mode?

Any ideas would be much appriciated. 

I am able to see that the lead.FirstName is changing however the javascript var srcImg1 never changes. Why? Can I get it to update with out refreshing the page?

--page--

"<script>

function getImgSrc()

{
var srcImg1 = '{!lead.FirstName}';
console.log(srcImg1);

}

</script>"

 

---controller--

"public void newVerify()

{
img1 = ( (randSeed(9) + randSeed(9) + randSeed(9)) / 3 ).intValue();
img2 = ( (randSeed(9) + randSeed(9) + randSeed(9)) / 3 ).intValue();
lead.FirstName = 'src/img'+img1+'.jpg';
}

public PageReference submit()

{
newVerify();
ApexPages.addmessage(new ApexPages.message(ApexPages.severity.Error, 'Your answer is wrong! '+img1+' '+img2+' = '+lead.FirstName+' '+getImg2()+'!'));

}"

I am able to see that the lead.FirstName is changing however the javascript var srcImg1 never changes. Why? Can I get it to update with out refreshing the page?

--page--

"<script>

function getImgSrc()

{
var srcImg1 = '{!lead.FirstName}';
console.log(srcImg1);

}

</script>"

 

---controller--

"public void newVerify()

{
img1 = ( (randSeed(9) + randSeed(9) + randSeed(9)) / 3 ).intValue();
img2 = ( (randSeed(9) + randSeed(9) + randSeed(9)) / 3 ).intValue();
lead.FirstName = 'src/img'+img1+'.jpg';
}

public PageReference submit()

{
newVerify();
ApexPages.addmessage(new ApexPages.message(ApexPages.severity.Error, 'Your answer is wrong! '+img1+' '+img2+' = '+lead.FirstName+' '+getImg2()+'!'));

}"