|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.shale.clay.component.chain.AbstractCommand
org.apache.shale.clay.component.chain.AssignViewRootCommand
public class AssignViewRootCommand
This Command assigns properties to an existing UIViewRoot. It can only update the renderKit and locale properties. There are two new properties on the view root in JSF 1.2, beforePhaseListener and afterPhaseListener. These two require MethodExpression that is introduced in JSP 2.1. We will have to wait until we can migrate to 1.2 before we can support these attributes. For some reason, these are not wrappered like the ValueBinding is wrapperd by the ValueExpression.
Field Summary |
---|
Fields inherited from interface org.apache.commons.chain.Command |
---|
CONTINUE_PROCESSING, PROCESSING_COMPLETE |
Constructor Summary | |
---|---|
AssignViewRootCommand()
|
Method Summary | |
---|---|
boolean |
execute(org.apache.commons.chain.Context context)
If the target componentType is "javax.faces.ViewRoot",
assign the property overrides is present. |
Methods inherited from class org.apache.shale.clay.component.chain.AbstractCommand |
---|
getCatalog, getCustomizationCatalog, getMessages, getTagUtils, isValueReference, realizeSymbols, replaceMnemonic, replaceMnemonic |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AssignViewRootCommand()
Method Detail |
---|
public boolean execute(org.apache.commons.chain.Context context) throws java.lang.Exception
If the target componentType
is "javax.faces.ViewRoot",
assign the property overrides is present.
execute
in interface org.apache.commons.chain.Command
execute
in class AbstractCommand
context
- commons chains context
true
if the current display element is for the view root;
Otherwise, return false
to create/update a component.
java.lang.Exception
- any error that might terminate processing
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |