We’re rewarding the question askers & reputations are being recalculated! Read more.
    Question Protected by Jesse Altman
3 Fixing another spelling mistake
source | link

I have always been curious what are the exact differences between all of the messaging options Visualforce provides, such as apex:message, apex:messages, apex:pageMessage, and apex:pageMessages. The description the Salesforce documentation at times can be rather cryptic.

<apex:message>

A message for a specific component, such as a warning or error. If an or component is not included in a page, most warning and error messages are only shown in the debug log. - http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_message.htm


<apex:messages>

All messages that were generated for all components on the current page. If an or component is not included in a page, most warning and error messages are only shown in the debug log. - http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_messages.htm


<apex:pageMessage>

This component should be used for presenting custom messages in the page using the Salesforce pattern for errors, warnings and other types of messages for a given severity. See also the pageMessages component. - http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_pageMessage.htm


<apex:pageMessages>

This component displays all messages that were generated for all components on the current page, presented using the Salesforce styling. - http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_pageMessages.htm


So, most of that sounds relatively similar. What are the differencedifferences and what are the use cases for each?

I have always been curious what are the exact differences between all of the messaging options Visualforce provides, such as apex:message, apex:messages, apex:pageMessage, and apex:pageMessages. The description the Salesforce documentation at times can be rather cryptic.

<apex:message>

A message for a specific component, such as a warning or error. If an or component is not included in a page, most warning and error messages are only shown in the debug log. - http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_message.htm


<apex:messages>

All messages that were generated for all components on the current page. If an or component is not included in a page, most warning and error messages are only shown in the debug log. - http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_messages.htm


<apex:pageMessage>

This component should be used for presenting custom messages in the page using the Salesforce pattern for errors, warnings and other types of messages for a given severity. See also the pageMessages component. - http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_pageMessage.htm


<apex:pageMessages>

This component displays all messages that were generated for all components on the current page, presented using the Salesforce styling. - http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_pageMessages.htm


So, most of that sounds relatively similar. What are the difference and what are the use cases for each?

I have always been curious what are the exact differences between all of the messaging options Visualforce provides, such as apex:message, apex:messages, apex:pageMessage, and apex:pageMessages. The description the Salesforce documentation at times can be rather cryptic.

<apex:message>

A message for a specific component, such as a warning or error. If an or component is not included in a page, most warning and error messages are only shown in the debug log. - http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_message.htm


<apex:messages>

All messages that were generated for all components on the current page. If an or component is not included in a page, most warning and error messages are only shown in the debug log. - http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_messages.htm


<apex:pageMessage>

This component should be used for presenting custom messages in the page using the Salesforce pattern for errors, warnings and other types of messages for a given severity. See also the pageMessages component. - http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_pageMessage.htm


<apex:pageMessages>

This component displays all messages that were generated for all components on the current page, presented using the Salesforce styling. - http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_pageMessages.htm


So, most of that sounds relatively similar. What are the differences and what are the use cases for each?

2 added 1 characters in body
source | link

I have always been curious what are the exact differencedifferences between all of the messaging options Visualforce provides, such as apex:message, apex:messages, apex:pageMessage, and apex:pageMessages. The description the Salesforce documentation at times can be rather cryptic.

<apex:message>

A message for a specific component, such as a warning or error. If an or component is not included in a page, most warning and error messages are only shown in the debug log. - http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_message.htm


<apex:messages>

All messages that were generated for all components on the current page. If an or component is not included in a page, most warning and error messages are only shown in the debug log. - http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_messages.htm


<apex:pageMessage>

This component should be used for presenting custom messages in the page using the Salesforce pattern for errors, warnings and other types of messages for a given severity. See also the pageMessages component. - http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_pageMessage.htm


<apex:pageMessages>

This component displays all messages that were generated for all components on the current page, presented using the Salesforce styling. - http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_pageMessages.htm


So, most of that sounds relatively similar. What are the difference and what are the use cases for each?

I have always been curious what are the exact difference between all of the messaging options Visualforce provides, such as apex:message, apex:messages, apex:pageMessage, and apex:pageMessages. The description the Salesforce documentation at times can be rather cryptic.

<apex:message>

A message for a specific component, such as a warning or error. If an or component is not included in a page, most warning and error messages are only shown in the debug log. - http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_message.htm


<apex:messages>

All messages that were generated for all components on the current page. If an or component is not included in a page, most warning and error messages are only shown in the debug log. - http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_messages.htm


<apex:pageMessage>

This component should be used for presenting custom messages in the page using the Salesforce pattern for errors, warnings and other types of messages for a given severity. See also the pageMessages component. - http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_pageMessage.htm


<apex:pageMessages>

This component displays all messages that were generated for all components on the current page, presented using the Salesforce styling. - http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_pageMessages.htm


So, most of that sounds relatively similar. What are the difference and what are the use cases for each?

I have always been curious what are the exact differences between all of the messaging options Visualforce provides, such as apex:message, apex:messages, apex:pageMessage, and apex:pageMessages. The description the Salesforce documentation at times can be rather cryptic.

<apex:message>

A message for a specific component, such as a warning or error. If an or component is not included in a page, most warning and error messages are only shown in the debug log. - http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_message.htm


<apex:messages>

All messages that were generated for all components on the current page. If an or component is not included in a page, most warning and error messages are only shown in the debug log. - http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_messages.htm


<apex:pageMessage>

This component should be used for presenting custom messages in the page using the Salesforce pattern for errors, warnings and other types of messages for a given severity. See also the pageMessages component. - http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_pageMessage.htm


<apex:pageMessages>

This component displays all messages that were generated for all components on the current page, presented using the Salesforce styling. - http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_pageMessages.htm


So, most of that sounds relatively similar. What are the difference and what are the use cases for each?

    Tweeted twitter.com/#!/StackSalesforce/status/299288422596620288
1
source | link

Difference between the multiple messaging options in Visualforce?

I have always been curious what are the exact difference between all of the messaging options Visualforce provides, such as apex:message, apex:messages, apex:pageMessage, and apex:pageMessages. The description the Salesforce documentation at times can be rather cryptic.

<apex:message>

A message for a specific component, such as a warning or error. If an or component is not included in a page, most warning and error messages are only shown in the debug log. - http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_message.htm


<apex:messages>

All messages that were generated for all components on the current page. If an or component is not included in a page, most warning and error messages are only shown in the debug log. - http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_messages.htm


<apex:pageMessage>

This component should be used for presenting custom messages in the page using the Salesforce pattern for errors, warnings and other types of messages for a given severity. See also the pageMessages component. - http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_pageMessage.htm


<apex:pageMessages>

This component displays all messages that were generated for all components on the current page, presented using the Salesforce styling. - http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_pageMessages.htm


So, most of that sounds relatively similar. What are the difference and what are the use cases for each?