public class PropertyConverterCommand extends AbstractCommand implements org.apache.commons.chain.Command
This Command
will create an converter
value
binding and assign it to the UIComponent
implementing the
ValueHolder
interface.
Constructor and Description |
---|
PropertyConverterCommand() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(org.apache.commons.chain.Context context)
|
getCatalog, getCustomizationCatalog, getMessages, getTagUtils, isValueReference, realizeSymbols, replaceMnemonic, replaceMnemonic
public boolean execute(org.apache.commons.chain.Context context) throws Exception
Looks to see if the AttributeBean
on the ClayContext
is a
converter
attribute. If it is, create a
ValueBinding
or a Converter
and assign it to the
component returning a true
value. Otherwise, return a false
value. This Command
is invoked from the
AssignPropertiesCommand
chain.
execute
in interface org.apache.commons.chain.Command
execute
in class AbstractCommand
context
- common chainstrue
if the chain is completeException
- propagated up to the top of the chainCopyright © 2004-2013 Apache Software Foundation. All Rights Reserved.