O'Reilly logo

Visualforce Developer's Guide by W.A.Chamil Madusanka

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Page block components

The <apex:pageBlockSectionItem> component can have only two child components. With the customer requirements and the developing requirements, there can be more than two child elements inside <apex:pageBlockSectionItem>. Using <apex:outputPanel> we can add more than two elements in <apex:pageBlockSectionItem> as follows:

<apex:pageBlock>
  <apex:pageBlockSection>
    <apex:pageBlockSectionItem>
      <apex:outputLabel value="LabelName"/> 
      <apex:outputPanel>
<!—We can add our extra child components here within the apex:outputPanel --> 
      </apex:outputPanel>
    </apex:pageBlockSectionItem>
  </apex:pageBlockSection>
</apex:pageBlock>

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required