function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
FaridKognozFaridKognoz 

Page Messages

I tryed using the apex:PageMessages component to show custom errors but this component is always showing warings like "The element type "body" should be terminated by the matching end-tag "</body>".I ripped apart the hole page leaving just the tags html, head & body with their correspondant ending tags in it but the warning was still there(randomly).

Shouldn't I use this component (Page Messages)? Or is there something I'm not seeing?

Thanks;

Farid

 

 

Richie DRichie D
What does using <apex: messages/> give you?
FaridKognozFaridKognoz

Are asking what it gives in terms of funcionality or the message it shows?

The warning is 

"The element type "body" should be terminated by the matching end-tag "</body>".

 

I was trying to use apex:messages  to show custom error messages in a visualforce page.