public class AssignViewRootCommand extends AbstractCommand
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.
| Constructor and Description |
|---|
AssignViewRootCommand() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(org.apache.commons.chain.Context context)
If the target
componentType is "javax.faces.ViewRoot",
assign the property overrides is present. |
getCatalog, getCustomizationCatalog, getMessages, getTagUtils, isValueReference, realizeSymbols, replaceMnemonic, replaceMnemonicpublic boolean execute(org.apache.commons.chain.Context context)
throws Exception
If the target componentType is "javax.faces.ViewRoot",
assign the property overrides is present.
execute in interface org.apache.commons.chain.Commandexecute in class AbstractCommandcontext - commons chains contexttrue if the current display element is for the view root;
Otherwise, return false to create/update a component.Exception - any error that might terminate processingCopyright © 2004-2013 Apache Software Foundation. All Rights Reserved.