com.plumtree.portaluiinfrastructure.tags.tasks
Class TagStateTasks

java.lang.Object
  extended by com.plumtree.portaluiinfrastructure.tags.tasks.TagStateTasks

public class TagStateTasks
extends java.lang.Object

This is a helper class for TagState Tasks.

When debug mode is on, tags will display HTML comments before and after they are executed to aid in debugging. Tags may also have custom behavior in debug mode.


Field Summary
protected static java.lang.String DEBUG_MODE_KEY
          The key that the debug mode boolean is stored with in PORTLET_REQUEST scope.
 
Constructor Summary
TagStateTasks()
           
 
Method Summary
static boolean GetIsDebugMode(ITagState _state)
          Check if the current tag is in debug mode.
static void SetIsDebugMode(boolean _bDebug, ITagState _state)
          Set debug mode for the current PORTLET_REQUEST.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG_MODE_KEY

protected static final java.lang.String DEBUG_MODE_KEY
The key that the debug mode boolean is stored with in PORTLET_REQUEST scope.

See Also:
Constant Field Values
Constructor Detail

TagStateTasks

public TagStateTasks()
Method Detail

GetIsDebugMode

public static boolean GetIsDebugMode(ITagState _state)
Check if the current tag is in debug mode.

When debug mode is on, tags will display HTML comments before and after they are executed to aid in debugging. Tags may also have custom behavior in debug mode.

Parameters:
ITagState - _state The current TagState object
Returns:
boolean True implies debug mode

SetIsDebugMode

public static void SetIsDebugMode(boolean _bDebug,
                                  ITagState _state)
Set debug mode for the current PORTLET_REQUEST.

When debug mode is on, tags will display HTML comments before and after they are executed to aid in debugging. Tags may also have custom behavior in debug mode.

Parameters:
boolean - _bDebug True implies debug mode
ITagState - _state The current TagState object



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.