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
JitheshJithesh 

Repeat pageblocks in vf

I have a scenario where needs to repeat pageblock tables, but the below vf is not working. Any idea?

 

<apex:repeat value="{!weeklyNewsGroup}" var="IQ" >
    <apex:pageBlock Title=" IQ News for Week of {!IQ.earlyDate}">
    <apex:pageBlockTable value="{!IQ.news}" var="IQnews" >
        <apex:column headerValue="Subject">  
         <apex:outputLink id="theLink"  onclick="OpenNew(this,'{!IQnews.link__c}','{!IQnews.Post_Type__c}','{!IQnews.Id}');" >{!IQnews.Subject__c}</apex:outputLink>
         </apex:column>
        <apex:column value="{!IQnews.Publisher__c}"/>   
        <apex:column value="{!IQnews.Published_On_Template__c }" headerValue="Published On"/>    
    </apex:pageBlockTable>
    </apex:pageBlock>
    </apex:repeat>

Scott_VSScott_VS

The code is looking fine on the surface. What is the issue you are seeing?