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
Sascha DeinertSascha Deinert 

Tab Panel

Hi,

I tried to change the desgin to the tab view and I add the following code.
But now the help text icon is avaiable but the mouse over doesn't work anymore.
And the inline edit is also not possible.

Can I change the code to use the above mentioned functions?
 
<apex:page standardController="Account" showHeader="true" 
      tabStyle="account" >
   <style>
      .activeTab {background-color: #236FBD; color:white; 
         background-image:none}
      .inactiveTab { background-color: lightgrey; color:black; 
         background-image:none}
   </style>
   <apex:tabPanel switchType="client" selectedTab="tabdetails" 
                  id="AccountTabPanel" tabClass="activeTab" 
                  inactiveTabClass="inactiveTab">   
      <apex:tab label="Details" name="AccDetails" id="tabdetails">
         <apex:detail relatedList="false" title="true"/>
      </apex:tab>
      <apex:tab label="Contacts" name="Contacts" id="tabContact">
         <apex:relatedList subject="{!account}" list="contacts" />
      </apex:tab>
      <apex:tab label="Opportunities" name="Opportunities" 
                id="tabOpp">
         <apex:relatedList subject="{!account}" 
                           list="opportunities" />
      </apex:tab>
      <apex:tab label="Open Activities" name="OpenActivities" 
                id="tabOpenAct">
         <apex:relatedList subject="{!account}" 
                           list="OpenActivities" />
      </apex:tab>
      <apex:tab label="Notes and Attachments" 
                name="NotesAndAttachments" id="tabNoteAtt">
         <apex:relatedList subject="{!account}" 
                           list="CombinedAttachments" />
      </apex:tab>
   </apex:tabPanel>
</apex:page>

Thanks,
Sascha
AshlekhAshlekh
Hi,

You can use this (inlineEdit="true" ) attribute in apex:detail tag to enable inline editing.

-Thanks
Ashlekh Gera
 
AshlekhAshlekh
Hi,

And when I am using your code it is showing help text.

-Thanks
Ashlekh Gera
Sascha DeinertSascha Deinert
@AKG,

Thanks for your repsonse.

If I add the line apex:detail tag, the whole page doesn't show the tabview anymore.
Could you check this.

Do you have special settings to showing the helptext during the tab view?

Thanks,
Sascha
AshlekhAshlekh
Hi,

No I didn't do any thing else beside this.

<apex:detail relatedList="false" title="true" inlineEdit="true" />

-Thanks
Ashlekh
 
Sascha DeinertSascha Deinert
@AKG,

I changed the code. But I can't change the items with double click.
Any other ideas?
 
<apex:page standardController="Account" showHeader="true" tabStyle="account" >

   <style>
      .activeTab {background-color: #236FBD; color:white;background-image:none}
      .inactiveTab { background-color: lightgrey; color:black;background-image:none}
   </style>

    <apex:tabPanel switchType="client" selectedTab="tabdetails" id="AccountTabPanel" tabClass="activeTab" inactiveTabClass="inactiveTab">

      <apex:tab label="Details" name="AccDetails" id="tabdetails">
         <apex:detail relatedList="false" title="true" inlineEdit="true"/>
      </apex:tab>

   </apex:tabPanel>
   
</apex:page>