• Saurav khurana
  • 0 Points
  • Member since 2012

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
  • 0

Hi All,

I am trying to dislpay the content of my record into a vf page using get function in my controller class.
where as i am picking values of currency in double variable field i am getiing the following error on my visualforce page.
System.VisualforceException: Invalid integer: 039E+7

I did check my debug where i am getting the value of INR 10,390,000.00 into 1.039E7

Appericiate if anybody have way to resolve this error.


I used <apex:image url="{!$Resource.XYZ,'somePic.png'}" rendered="{!showImage}"/>

showImage is to show image if that retruns true.


and there are couple of places on the page.. I used <apex:image....


It was working earlier but started throwing exception i.e. "PDF generation failed. Check the page markup is valid."


After hits and trails, I found that

When I remove all apex:image, it renders PDF and does not throw any exception.


What could be the cause, and How can I show the required images, I also tried with simple HTML Img tag, it did not work.


Please suggest asap.