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(FacesContext facesContext,
String expression,
HttpServletRequest request,
HttpServletResponse response)
Invokes the relevant method on the bean represented by the given
expression.
|
makeBindingExpression
public void execute(FacesContext facesContext, String expression, HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
AjaxCommand
facesContext
- FacesContextexpression
- The binding expressionrequest
- The requestresponse
- The responseServletException
IOException
Copyright © 2005–2017 Alfresco Software. All rights reserved.