Skip to main content
Hi all,

I have one VF tab displayed in a customer portal. The VF page (let's call it VFpage1) contains a link to another VF page (lets call it VFpage 2).

How should I write the link on VFpage1 the way that when clicking on it, the VF tab displays VFpage2 instead.

Needless to say, on VFpage2 page there should be another link that when clicked on, the VF tab should display VFpage1, just going back and forth between the 2 pages inside 1 tab (in the Customer Portal)

Requirement: we only use 1 VF tab.

I have tried with a href and with apex:outputLink, but nothing works.I don't know whether it is possible and if yes, how the syntax should be.

Thank you.

Julian
4 answers
  1. Nov 12, 2015, 6:25 PM
    You said both are VF pages.. then instead of using <a href> .. use can <apex:outputlink> to create he link and then <apex:outputlink onclick = "{!goto}">

    Hope it helps
0/9000