I have an issue where my apex:pageMessages does not appear in the visualforce page even though i have that tag on the top of the page.
Now, i tried placing the apex:pagemessages component just below the apex:pageBlock and it started working fine. Before that, apex:pageMessages was just above the apex:pageBlock tag.
I am very confused now that where we need to place the apex:paeMessages component in a visualforce page?
Does the placement of it really matters and affects the rendering of it? Please clarify.
Thanks.