+ Start a Discussion

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 value="{!IQnews.Publisher__c}"/>   
        <apex:column value="{!IQnews.Published_On_Template__c }" headerValue="Published On"/>    


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