TagLib
Reference
tag libraries
Jaffa Tags
widgets
  • buttons
  • check box
  • date/time editbox
  • drop down
  • editbox
  • grid
  • image
  • label
  • lookup
  • radio button
  • table
  • text field
  • user grid
  • Layout Controls
  • folding section
  • Guards
  • component guard
  • function guard
  • Page Controls
  • header
  • form
  • footer
  • raise errors
  • Other Tags
    Struts
  • html
  • logic
  • bean
  • util
  • template
  • digester
  • JSTL
  • Sun Site
  • Taglibs
  • reference
  • page controls/raise errors
    <Portlet:RaiseErrors . . . compatability
     
    Overview

    This tag spawns a message pop up window if any errors are incurred on form posting.

     
    Sample
    <Portlet:RaiseErrors/>
     
     
     
    Raise Errors top

    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

    <Portlet:RaiseErrors/>

    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.



    index.html, Last Modified 28-Jun-2003 at 04:14:10pm