I have created a custom Html area component on the sidebar , which contains links which are linked to corresponding VF pages , how can i make it to load on the same page

  • can you be specific ?Like where the custom links need to be loaded ? Jul 17 '13 at 9:55
  • it should load on the same page where the custom component link is being clicked Jul 17 '13 at 10:06

I assume that when you click on one of the links (which points to vf pages) on your custom sidebar component, you want the links to open up in the same main page. You could use the below javascript in your component to open the links in the same page:

top.location.href = '/apex/yourVfPage';
  • I think he want to load pages without have to reload the current page. Jul 17 '13 at 12:28
  • @mast0r: So you mean, when the user clicks on the links, the page should be rendered in the sidebar component and not refresh the main page? Anyways lets wait for the OP to comment, just to make sure :)
    – Sam
    Jul 17 '13 at 12:31
  • Not in the sidebar component but will be included into the page, like reRender. Jul 17 '13 at 12:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.