• Jeff777
  • NEWBIE
  • 0 Points
  • Member since 2009

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 2
    Replies

I have a button at a visualforce page, after users click that button, the PageReference will point to an external URL, now it opens as a full window. What I want is to open it at the current visualforce page panel, can I do that?

 

thanks,

I am using HTTP class to post a xml file to a site, and everything works well but getting this error message "System.CalloutException: Read timed out" at res = http.send(req); at the first try of the day, then I won't see this message again. If I am not running the code for quite a while, then it may come up again, is there anybody experiencing the same thing?

 

Thanks,

 

 

req.setEndpoint(url);

...

res = http.send(req);

res = http.send(req);

Is there a better way creating the xml file on the fly, instead of kind of hard-coding by using XmlStreamWriter?

thanks.

Hi,

 

I have vf page with "PDF" command button on it.

 

When user hit this PDF button in controller renderPDF method call which redirect to another vf page.

 

I need this page should be open in new window instead of redirect to same window.

 

How I can do it with page reference?

 

Thanks, 

I am using HTTP class to post a xml file to a site, and everything works well but getting this error message "System.CalloutException: Read timed out" at res = http.send(req); at the first try of the day, then I won't see this message again. If I am not running the code for quite a while, then it may come up again, is there anybody experiencing the same thing?

 

Thanks,

 

 

req.setEndpoint(url);

...

res = http.send(req);

res = http.send(req);