public class PropertyActionListenerCommand extends AbstractCommand implements org.apache.commons.chain.Command
This Command
will create an actionListener
method binding and assign it to the UIComponent
implementing
the ActionSource
interface.
Constructor and Description |
---|
PropertyActionListenerCommand() |
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
actionListener
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.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.