org.apache.jetspeed.modules.parameters
Class PopupCalendar

java.lang.Object
  extended byorg.apache.turbine.modules.Assembler
      extended byorg.apache.jetspeed.modules.parameters.ParameterPresentationStyle
          extended byorg.apache.jetspeed.modules.parameters.VelocityParameterPresentationStyle
              extended byorg.apache.jetspeed.modules.parameters.PopupCalendar

public class PopupCalendar
extends VelocityParameterPresentationStyle

Presentation method to show a date input field with a popup calendar. Calendar is accessed by clicking the icon next to input field. For now, the only date format supported is mm/dd/yyyy. If value $today is passed, the date in the input field will default to today's date.

Options:

Version:
$Id: PopupCalendar.java,v 1.4 2005/01/18 17:08:45 morciuch Exp $
Author:
Mark Orciuch

Field Summary
static java.lang.String DEF_INPUT_FORMAT
           
static java.lang.String LAYOUT_INPUT
           
static java.lang.String LAYOUT_LABEL
           
protected static JetspeedLogger logger
          Static initialization of the logger for this class
static java.lang.String PARM_FORM_NAME
           
static java.lang.String PARM_FORMAT
           
static java.lang.String PARM_INPUT_FORMAT
           
static java.lang.String PARM_LAYOUT
           
 
Fields inherited from class org.apache.jetspeed.modules.parameters.ParameterPresentationStyle
styleparms
 
Constructor Summary
PopupCalendar()
           
 
Method Summary
 void buildContext(org.apache.turbine.util.RunData data, java.lang.String name, java.lang.String value, java.util.Map parms, org.apache.velocity.context.Context context)
          Put custom objects in velocity context
 
Methods inherited from class org.apache.jetspeed.modules.parameters.VelocityParameterPresentationStyle
getContent
 
Methods inherited from class org.apache.jetspeed.modules.parameters.ParameterPresentationStyle
getJavascriptEvents, getParm, setParms
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static final JetspeedLogger logger
Static initialization of the logger for this class


PARM_FORM_NAME

public static final java.lang.String PARM_FORM_NAME
See Also:
Constant Field Values

PARM_FORMAT

public static final java.lang.String PARM_FORMAT
See Also:
Constant Field Values

PARM_INPUT_FORMAT

public static final java.lang.String PARM_INPUT_FORMAT
See Also:
Constant Field Values

PARM_LAYOUT

public static final java.lang.String PARM_LAYOUT
See Also:
Constant Field Values

LAYOUT_LABEL

public static final java.lang.String LAYOUT_LABEL
See Also:
Constant Field Values

LAYOUT_INPUT

public static final java.lang.String LAYOUT_INPUT
See Also:
Constant Field Values

DEF_INPUT_FORMAT

public static final java.lang.String DEF_INPUT_FORMAT
See Also:
Constant Field Values
Constructor Detail

PopupCalendar

public PopupCalendar()
Method Detail

buildContext

public void buildContext(org.apache.turbine.util.RunData data,
                         java.lang.String name,
                         java.lang.String value,
                         java.util.Map parms,
                         org.apache.velocity.context.Context context)
Put custom objects in velocity context

Overrides:
buildContext in class VelocityParameterPresentationStyle
Parameters:
data -
name -
value -
parms -
context -
Returns:
string


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.