org.apache.jetspeed.modules.parameters
Class CheckBoxGroup

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.CheckBoxGroup

public class CheckBoxGroup
extends VelocityParameterPresentationStyle

Returns a group of check boxes using the following options:

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

Field Summary
static java.lang.String DISABLED
           
static java.lang.String ITEMS
           
static java.lang.String LAYOUT
           
static java.lang.String LAYOUT_EW
           
static java.lang.String LAYOUT_NS
           
static java.lang.String ONCLICK_JAVASCRIPTS
           
static java.lang.String PREFIX
           
static java.lang.String PREFIX_DEFAULT
           
static java.lang.String SORTED
           
 
Fields inherited from class org.apache.jetspeed.modules.parameters.ParameterPresentationStyle
styleparms
 
Constructor Summary
CheckBoxGroup()
           
 
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
protected  java.util.Map getListItems(org.apache.turbine.util.RunData data, java.lang.String name, java.lang.String value, java.util.Map parms, org.apache.velocity.context.Context context)
          Returns a map of list items (key=value)
protected  void init(org.apache.turbine.util.RunData data)
          Initialize options
 
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

ITEMS

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

LAYOUT

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

LAYOUT_EW

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

LAYOUT_NS

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

PREFIX

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

PREFIX_DEFAULT

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

DISABLED

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

SORTED

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

ONCLICK_JAVASCRIPTS

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

CheckBoxGroup

public CheckBoxGroup()
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

getListItems

protected java.util.Map getListItems(org.apache.turbine.util.RunData data,
                                     java.lang.String name,
                                     java.lang.String value,
                                     java.util.Map parms,
                                     org.apache.velocity.context.Context context)
Returns a map of list items (key=value)

Returns:

init

protected void init(org.apache.turbine.util.RunData data)
             throws java.lang.Exception
Initialize options

Parameters:
data -
Throws:
java.lang.Exception


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