{"extended":{"hasExtended":true,"docs":"
<!--- In the controller action --->\nflashInsert(success="Your post was successfully submitted.");\nflashInsert(alert="Don''t forget to tweet about this post!");\nflashInsert(error="This is an error message.");\n\n<!--- In the layout or view --->\n<cfoutput>\n\t#flashMessages()#\n</cfoutput>\n<!---\n\tGenerates this (sorted alphabetically):\n\t<div class="flashMessages">\n\t\t<p class="alertMessage">\n\t\t\tDon''t forget to tweet about this post!\n\t\t</p>\n\t\t<p class="errorMessage">\n\t\t\tThis is an error message.\n\t\t</p>\n\t\t<p class="successMessage">\n\t\t\tYour post was successfully submitted.\n\t\t</p>\n\t</div>\n--->\n\n<!--- Only show the "success" key in the view --->\n<cfoutput>\n\t#flashMessages(key="success")#\n</cfoutput>\n<!---\n\tGenerates this:\n\t<div class="flashMessage">\n\t\t<p class="successMessage">\n\t\t\tYour post was successfully submitted.\n\t\t</p>\n\t</div>\n--->\n\n<!--- Show only the "success" and "alert" keys in the view, in that order --->\n<cfoutput>\n\t#flashMessages(keys="success,alert")#\n</cfoutput>\n<!---\n\tGenerates this (sorted alphabetically):\n\t<div class="flashMessages">\n\t\t<p class="successMessage">\n\t\t\tYour post was successfully submitted.\n\t\t</p>\n\t\t<p class="alertMessage">\n\t\t\tDon''t forget to tweet about this post!\n\t\t</p>\n\t</div>\n--->"},"hint":"Displays a marked-up listing of messages that exist in the Flash.","returntype":"","slug":"flashmessages","parameters":[{"default":"","required":"false","hint":"The key (or list of keys) to show the value for. You can also use the key argument instead for better readability when accessing a single key.","name":"keys","type":"string"},{"default":"flashMessages","required":"false","hint":"HTML class to set on the div element that contains the messages.","name":"class","type":"string"},{"default":"false","required":"false","hint":"Includes the div container even if the Flash is empty.","name":"includeEmptyContainer","type":"boolean"},{"default":"false","required":"false","hint":"Outputs all class attribute values in lower case (except the main one).","name":"lowerCaseDynamicClassValues","type":"boolean"}],"name":"flashMessages","availableIn":{},"tags":{"categoryClass":"","sectionClass":"","category":"","section":""}}