function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sai LavuSai Lavu 

Tab panel printable view issue

I have a VF page with a tab panel and two tabs. When I click on the printable view it always displays the right most tab's details. In other words, based on the code snippet below, even when the Account tab is selected the printable view still shows details from the Account Stuff tab.
If I change switchType on the tab panel to server then the printable view works as I expect it to but the return URLs don't work.
<apex:page standardController="Account" showHeader="true" tabStyle="Account" extensions="AccountExtension">
    <apex:tabPanel switchType="client" selectedTab="tabDetails">
        <apex:tab label="Account" name="AccountDetails" id="tabDetails">
            <apex:detail subject="{!Account__c}"/>
        <apex:tab label="Account Stuff" name="AccountStuff" id="theAccountStuffTab">
            <apex:detail subject="{!accountStuff}" relatedList="true" rendered="{!(accountStuff != null)}" />

Is it a case of RTM or is this a bug?
A similar issue has been reported here.

Message Edited by Sai Lavu on 10-03-2008 12:50 AM