HappyDoc Generated Documentation Class: pwError

widget.py / pwError 

Error widget class
An error widget is nothing more than a paragraph widget with some associated javascript. It is meant to be linked into javascript code to handle the details of the processing.

Arguments:

  • text: the text of the error message

Common Keywords:

  • divClass: allows the user to override the class of the
  • fieldSpecial: allows the user to add "special" HTML attributes to the output element
  • id: overrides the HTML "id" attribute
  • selectable: controls whether this field is selectable or not
  • inputType: mostly for internal use -- overrides the type designation in the output hidden fields

Keywords:

  • caption: possible caption to send to the caption widget for display
  • help: help text associated with the caption
  • dialogType: if this error is going to result in a javascript dialog, use this type to construct the dialog. May be one of: alert or confirm
  • dialogText: the text to be displayed on the javascript dialog
  • okAction: the javascript function to call of the user presses the "OK" button
  • okArgs: the arguments to pass to the javascript function
  • cancelAction: the javascript function to call of the user presses the "Cancel" button
  • cancelArgs: the arguments to pass to the javascript function

Default divClass: pwError

Base Classes   

pwError
  pyWidget

Methods   
  display 
display ( self,  lvl )
  __init__ 
__init__ (
        self,
        text,
        **kwlist,
        )

This document was automatically generated Tue Sep 21 18:50:53 2004 by HappyDoc version 3.0.a1