public class CreateActionListenerCommand extends AbstractCommand
This Command
will create a ActonListener
and assign it to the
parent
. The construction of the ActionListener
is based on the current displayElement
in the
ClayContext
Constructor and Description |
---|
CreateActionListenerCommand() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(org.apache.commons.chain.Context context)
Uses the
ClayContext to build a ActionListener and
assign it to the context parent using the context
displayElement that is derived from type
ComponentBean . |
getCatalog, getCustomizationCatalog, getMessages, getTagUtils, isValueReference, realizeSymbols, replaceMnemonic, replaceMnemonic
public boolean execute(org.apache.commons.chain.Context context) throws Exception
Uses the ClayContext
to build a ActionListener
and
assign it to the context parent
using the context
displayElement
that is derived from type
ComponentBean
.
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.