ERXJSCookiesConditional Class Reference

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

Collaboration diagram for ERXJSCookiesConditional:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ERXJSCookiesConditional (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 cookies are disabled. This can be useful for displaying messages to the user that they should have cookies enabled in order to use different features of the application.
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

ERXJSCookiesConditional ( WOContext  aContext  ) 

Public constructor

Parameters:
aContext a context


Member Function Documentation

boolean negate (  )  [private]

String string1 (  ) 

First part of the javascript to check if cookies are enabled.

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