public class GetCommand extends BaseAjaxCommand
This command is intended to be used for calling existing managed bean methods. The result of the value binding is added to the response as is i.e. by calling toString(). The content type of the response is always text/html.
logger| Constructor and Description |
|---|
GetCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(javax.faces.context.FacesContext facesContext,
java.lang.String expression,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Invokes the relevant method on the bean represented by the given
expression.
|
makeBindingExpressionpublic void execute(javax.faces.context.FacesContext facesContext,
java.lang.String expression,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
AjaxCommandfacesContext - FacesContextexpression - The binding expressionrequest - The requestresponse - The responsejavax.servlet.ServletExceptionjava.io.IOExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.