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
Kondal Rao learnerKondal Rao learner 

showing pageblcok error

Hi experts, Actually i have requirment called when i select parent activity related parent records has to display in radio buttons when i select child activity related child activity has to dispay in check boxes for that i had created one more page block table and i pasted it but while saving this code showing errors please tell me "Error: orgrelation line 100, column 11: The element type "apex:pageblock" must be terminated by the matching end-tag "" Error: The element type "apex:pageblock" must be terminated by the matching end-tag ""." vf page:

 

<apex:page standardController="OrganizationHierarchyMaster__c" extensions="ActivityOrgAlignmentController" sidebar="true">
    <br />
    <br />
       <apex:pageMessages ></apex:pageMessages>
<apex:form >
<body> 
  <apex:pageBlock title="Activity Organization Alignment" id="pbid">
<table>
<tr>
<td style="width: 200px;">
<div style="height: 200px" class="bodyDiv" onclick="resizeFrame();">
        <c:OrgHierarchy currentId1="{!OrganizationHierarchyMaster__c.OrgName__c}" />
    </div>
  
</td>
<td>
<table>
<tr>
<td>
    <apex:selectRadio value="{!ind}">
<apex:selectOption itemValue="0"  itemlabel="parent activity"/>
    <apex:selectOption itemValue="1"  itemlabel="child activity"/>
        <apex:actionSupport event="onchange" rerender="activityView" />
         </apex:selectRadio>
</td>
</tr>
<tr>
<td>
    <apex:outputPanel id="activityView">
    <apex:pageBlockTable value="{!ActivityList}" var="a" style="font-size:1.0em;">
     <apex:column width="70px" headerValue="Select">
     <apex:selectRadio ></apex:selectRadio>


                         <!--<apex:inputCheckbox value="{!a.selected}" id="checkedone"/> -->
                        </apex:column>
                         <apex:column width="70px" headerValue="Code" >
                    <apex:outputText value="{!a.act.Code__c}"></apex:outputText>
                </apex:column>
                         <apex:column width="300px" headerValue="Name">
                    <apex:outputText value="{!a.act.Name}"></apex:outputText>
                </apex:column>
                                            
                          <apex:column width="400px" headerValue="Description" >
                    <apex:outputText value="{!a.act.Description__c}"></apex:outputText>
                </apex:column>
                    <apex:column width="120px" headerValue="Frequency" >
                    <apex:outputText value="{!a.act.Frequency__c}"></apex:outputText>
                </apex:column>
                    <apex:column width="120px" headerValue="Priority" >
                    <apex:outputText value="{!a.act.Priority__c}"></apex:outputText>
                </apex:column>
                          <apex:column width="120px" headerValue="Functional" >
                    <apex:outputText value="{!a.act.Functional__c}"></apex:outputText>
                </apex:column>
                           <apex:column width="120px"  headerValue="Time Zone" >
                    <apex:outputText value="{!a.act.Time_Zone__r.name}"></apex:outputText>
                </apex:column>
              
              </apex:pageBlockTable>
        </apex:outputPanel>
                 </td>
</tr>
</table>
</td>
</tr>
</table>

  <apex:outputPanel id="activityview">
   <apex:pageBlockTable value="{!ActivityList}" var="a" style="font-size:1.0em;">
     <apex:column width="70px" headerValue="Select">
   
                         <apex:inputCheckbox value="{!a.selected}" id="checkedone"/>
                        </apex:column>
                         <apex:column width="70px" headerValue="Code" >
                    <apex:outputText value="{!a.act.Code__c}"></apex:outputText>
                </apex:column>
                         <apex:column width="300px" headerValue="Name">
                    <apex:outputText value="{!a.act.Name}"></apex:outputText>
                </apex:column>
                                            
                          <apex:column width="400px" headerValue="Description" >
                    <apex:outputText value="{!a.act.Description__c}"></apex:outputText>
                </apex:column>
                    <apex:column width="120px" headerValue="Frequency" >
                    <apex:outputText value="{!a.act.Frequency__c}"></apex:outputText>
                </apex:column>
                    <apex:column width="120px" headerValue="Priority" >
                    <apex:outputText value="{!a.act.Priority__c}"></apex:outputText>
                </apex:column>
                          <apex:column width="120px" headerValue="Functional" >
                    <apex:outputText value="{!a.act.Functional__c}"></apex:outputText>
                </apex:column>
                           <apex:column width="120px"  headerValue="Time Zone" >
                    <apex:outputText value="{!a.act.Time_Zone__r.name}"></apex:outputText>
                </apex:column>
              
              </apex:pageBlockTable>
        </apex:outputPanel>
        </td>
                  </tr>
                    <tr>
                     <td align="right">

                     <apex:commandButton action="{!AssignActivities}" value="Assign" />
     <apex:commandButton action="{!UnAssignActivities}" value="UnAssign"/>
     </td>
</tr>
</table>
</td>
</tr>
</table>

</apex:pageBlock>
    </body>

        </apex:form>
</apex:page>