lumis.doui.source.field
Class OptionLookupValue
java.lang.Object
lumis.doui.render.CharSequenceRenderableWrapper
lumis.doui.source.field.OptionLookupValue
- All Implemented Interfaces:
- CharSequence, IRenderable
public class OptionLookupValue
- extends CharSequenceRenderableWrapper
A CharSequence
value that when is rendered the corresponding option
value is returned.
- Since:
- 4.0.4
Constructor Summary |
OptionLookupValue(CharSequence value,
Node optionsNode)
Creates a option lookup renderable for the given value that uses the
given options node to find the corresponding option value. |
OptionLookupValue
public OptionLookupValue(CharSequence value,
Node optionsNode)
- Creates a option lookup renderable for the given value that uses the
given options node to find the corresponding option value.
- Parameters:
value
- the CharSequence value.optionsNode
- the options node. During render it is searched for a tag
option with attribute value equals to the
value parameter, and the text context of such tag is localized
and used.- Since:
- 4.0.4
getRenderData
public String getRenderData(IRenderer renderer)
throws PortalException
- Description copied from interface:
IRenderable
- Returns the data of this object in a standard xml format.
- Specified by:
getRenderData
in interface IRenderable
- Overrides:
getRenderData
in class CharSequenceRenderableWrapper
- Parameters:
renderer
- the renderer object that will use the returned render data.
- Returns:
- the xml data for this object.
- Throws:
PortalException
Lumisportal 4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.