I have a <apex:pageBlockTable> to display a list of cases like this:

<apex:pageBlockTable value="{!case}" var="c" rows="50" id="cases_table" >
    <apex:column >
        <a target="_parent" href="{!URLFOR($Action.Case.View, c.id)}">{!c.CaseNumber}</a>
            <apex:facet name="header"/>

When I click on the link to view the case, I get taken to the case page and the URL looks like this:


Instead of directing to that URL, I would instead like to direct to this URL which still displays the case:


How would I do this? Thanks.

1 Answer 1


Simply change your <A> tag to:

<a target="_parent" href="/{!c.id}">{!c.CaseNumber}</a>


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .