Skip to main content
added 4 characters in body
Source Link
Ratan Paul
  • 22.8k
  • 14
  • 55
  • 99

Pages with a StandardController expose a property:

{!Messages}

Without the need for a custom controller or extensions, can do things like:

<apex:pageBlock rendered="{!NOTISNULL(Messages.Empty)}">
    <!-- detailed troubleshooting instructions -->
</apex:pageBlock>

<apex:pageBlock rendered="{!NOT(ISNULL(Messages.Empty))}">
    <!-- normal page functionality -->
</apex:pageBlock>

Pages with a StandardController expose a property:

{!Messages}

Without the need for a custom controller or extensions, can do things like:

<apex:pageBlock rendered="{!NOT(Messages.Empty)}">
    <!-- detailed troubleshooting instructions -->
</apex:pageBlock>

<apex:pageBlock rendered="{!Messages.Empty}">
    <!-- normal page functionality -->
</apex:pageBlock>

Pages with a StandardController expose a property:

{!Messages}

Without the need for a custom controller or extensions, can do things like:

<apex:pageBlock rendered="{!ISNULL(Messages)}">
    <!-- detailed troubleshooting instructions -->
</apex:pageBlock>

<apex:pageBlock rendered="{!NOT(ISNULL(Messages))}">
    <!-- normal page functionality -->
</apex:pageBlock>
Source Link
Matt and Neil
  • 33.1k
  • 7
  • 107
  • 189

Pages with a StandardController expose a property:

{!Messages}

Without the need for a custom controller or extensions, can do things like:

<apex:pageBlock rendered="{!NOT(Messages.Empty)}">
    <!-- detailed troubleshooting instructions -->
</apex:pageBlock>

<apex:pageBlock rendered="{!Messages.Empty}">
    <!-- normal page functionality -->
</apex:pageBlock>