public class PropertyActionCommand extends AbstractCommand implements org.apache.commons.chain.Command
This Command will create an action method
binding and assign it to the UIComponent implementing the
ActionSource interface.
| Constructor and Description |
|---|
PropertyActionCommand() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(org.apache.commons.chain.Context context)
|
getCatalog, getCustomizationCatalog, getMessages, getTagUtils, isValueReference, realizeSymbols, replaceMnemonic, replaceMnemonicpublic boolean execute(org.apache.commons.chain.Context context)
throws Exception
Looks to see if the AttributeBean on the ClayContext is a
action attribute. If it is, create a
MethodBinding 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.Commandexecute in class AbstractCommandcontext - common chainstrue if the chain is completeException - propagated up to the top of the chainCopyright © 2004-2013 Apache Software Foundation. All Rights Reserved.