public class PropertyValidatorCommand extends AbstractCommand implements org.apache.commons.chain.Command
This Command will create an validator method
binding and assign it to the UIComponent implementing the
EditableValueHolder interface. This Command is
invoked from the AssignPropertiesCommand chain.
| Constructor and Description |
|---|
PropertyValidatorCommand() |
| 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
validator attribute. If it is, create a
MethodBinding and assign it to the component returning a
true value. Otherwise, return a false
value.
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.