org.apache.jetspeed.modules.parameters
Class RegistryEntryListBox
java.lang.Object
org.apache.turbine.modules.Assembler
org.apache.jetspeed.modules.parameters.ParameterPresentationStyle
org.apache.jetspeed.modules.parameters.VelocityParameterPresentationStyle
org.apache.jetspeed.modules.parameters.RegistryEntryListBox
- public class RegistryEntryListBox
- extends VelocityParameterPresentationStyle
Returns list box control populated with registry entries from selected registry.
Options:
registry
[Portlet|Security|PortletControl|PortletController|Skin|security|MediaType|Client] - registry name
sort
[true|false] - return sorted list of items
select-hidden
[false|true] - allow multiple selections
null-if-empty
[true|false] - do not return a select control if item list is empty
set-label
[false|true] - put label in front of the list box based on the registry name
disabled-if-wml
[false|true] - set disabled attribute for the list box if using wml
select-if-simple
[false|true] - select only entries with parameter "simple" set to true
- Version:
- $Id: RegistryEntryListBox.java,v 1.10 2005/05/12 18:15:59 morciuch Exp $
- Author:
- Mark Orciuch
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 the velocity context |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OPTION_REGISTRY
public static final java.lang.String OPTION_REGISTRY
- See Also:
- Constant Field Values
OPTION_SORT
public static final java.lang.String OPTION_SORT
- See Also:
- Constant Field Values
OPTION_SELECT_HIDDEN
public static final java.lang.String OPTION_SELECT_HIDDEN
- See Also:
- Constant Field Values
OPTION_NULL_IF_EMPTY
public static final java.lang.String OPTION_NULL_IF_EMPTY
- See Also:
- Constant Field Values
OPTION_SET_LABEL
public static final java.lang.String OPTION_SET_LABEL
- See Also:
- Constant Field Values
OPTION_DISABLED_IF_WML
public static final java.lang.String OPTION_DISABLED_IF_WML
- See Also:
- Constant Field Values
OPTION_SELECT_IF_SIMPLE
public static final java.lang.String OPTION_SELECT_IF_SIMPLE
- See Also:
- Constant Field Values
RegistryEntryListBox
public RegistryEntryListBox()
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 the velocity context
- Overrides:
buildContext
in class VelocityParameterPresentationStyle
- Parameters:
data
- name
- value
- parms
- context
-
Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.