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
Gopesh Vardhan SinghGopesh Vardhan Singh 

Redirecting to a Standard Object List Page


Getting error while saving this code in VF page



Error: Cyclic page or component references '/apex/tabbedAccount' are not allowed


<apex:page standardController="Account__c" showHeader="true" tabStyle="account" >
<b>HELLO WORLD</b>
 
 
    <style>
.activeTab {background-color: #236FBD; color:white;
background-image:none}
.inactiveTab { background-color: lightgrey; color:black;
background-image:none}
</style>

              
     <apex:page action="{!URLFOR($Action.Account__c.List, $ObjectType.Account__c)}"/>         
               




</apex:page>
Sfdc CloudSfdc Cloud
Hi,

Try below code its working fine in my org.
<apex:page standardController="Account" showHeader="true" tabStyle="account" action="{!URLFOR($Action.Account.List, $ObjectType.Account)}">
<b>HELLO WORLD</b>


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

             
     </apex:page>
If this answer helps you,Please mark it as best answer to help others :)

Gopesh Vardhan SinghGopesh Vardhan Singh
hello Nitin ... i have more doubts...
can u give me ur email id