public class FormBuilderRule extends Object implements org.apache.commons.chain.Command
This rule has an implied mapping meaning that all html form nodes will map to
the FormBuilder
regardless if the html form attribute has a
jsfid
.
Constructor and Description |
---|
FormBuilderRule() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(org.apache.commons.chain.Context context)
Uses the
BuilderRuleContext to find the current html Node . |
public boolean execute(org.apache.commons.chain.Context context) throws Exception
Uses the BuilderRuleContext
to find the current html Node
.
If the node is a form, return an instance if the builder and stop the
chain.
execute
in interface org.apache.commons.chain.Command
context
- commons chainstrue
if the command ends the chainException
- pushes an exception back to the invoking CommandCopyright © 2004-2013 Apache Software Foundation. All Rights Reserved.