<Portlet:RaiseErrors . . . |
compatability |
|
Overview
This widget is reponsible for writing javascript calls for spawning a message window containing error messages.
|
|
In Browser
<SCRIPT type="text/javascript">
addMessage("Message to be displayed");
addMessage("Another Message to be displayed");
</SCRIPT> |
|
JSP Code
|
|
How they work
The header writes a javascript file called errorpopup.js , this tag will write inline javascript code to call a method in that JS file to add a message. When the form finishes rendering if any messages have been added a popup window is spawned containing the error messages.
|