I have this below VF page where I am trying to display the contact's name:
<apex:page standardController="Account" >
<apex:pageBlock title="Account's contact">
<apex:pageblocktable value="{! Account.contacts}" var="b">
<apex:outputfiel value="{!b.name}"/>
</apex:pageblocktable>
</apex:pageBlock>
</apex:page>
I use outputfield to show the field's label and value there, but it seems like this tag does not show the label and field. The page is blank. When I use apex:column to display the name it works fine. Why does it not work with outputfield?