Is there a way to display a message if the list has 0 records? in VisualForce Page? so my idea is to display something like this in the Pageblock
<apex:pageBlock title="Contacts">
There are no records to display {!SelectedContacts.size=0}.
</apex:pageBlock>
here is my visual force page actually I have:
<apex:pageblock id="Selected_PBS" title="Selected Contact" >
<apex:pageBlockTable value="{!SelectedContacts}" var="contact">
<apex:column value="{!contact.Name}"/>
<apex:column value="{!contact.Email}"/>
<apex:column value="{!contact.Phone}"/>
</apex:pageBlockTable>