ERXJSPopupBlockerConditional Class Reference

Inherits er::extensions::components::ERXStatelessComponent.

Collaboration diagram for ERXJSPopupBlockerConditional:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ERXJSPopupBlockerConditional (WOContext aContext)
String string1 ()
String string2 ()

Private Member Functions

boolean negate ()


Detailed Description

This component will display is content (as in WOComponentContent) if it detects that popup windows are blocked. This can be useful for displaying messages to the user that they should allow popup windows or to allow alternate access to functionality normally delivered in popup windows.
The content is used as a JavaScript string literal, so it must all be on single line. Any line breaks will result in invalid JavaScript.
negate

Constructor & Destructor Documentation

ERXJSPopupBlockerConditional ( WOContext  aContext  ) 

Public constructor

Parameters:
aContext a context


Member Function Documentation

boolean negate (  )  [private]

String string1 (  ) 

First part of the javascript to check if popups are blocked.

Returns:
first part of the js string

String string2 (  ) 

Second part of the js string

Returns:
second part of the js string.


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:07 2012 for Project Wonder by  doxygen 1.5.8