| org.apache.jetspeed.ajax.AjaxBuilder
All known Subclasses: org.apache.jetspeed.layout.impl.MultipleAction, org.apache.jetspeed.layout.impl.RemovePortletAction, org.apache.jetspeed.layout.impl.ChangePortletAction, org.apache.jetspeed.layout.impl.BasePortletAction, org.apache.jetspeed.layout.impl.ExportJetspeedSchema, org.apache.jetspeed.layout.impl.GetPortletActionsAction, org.apache.jetspeed.layout.impl.GetUserInformationAction, org.apache.jetspeed.layout.impl.GetFolderAction, org.apache.jetspeed.layout.impl.BaseGetResourceAction, org.apache.jetspeed.layout.impl.GetMenusAction, org.apache.jetspeed.layout.impl.MovePortletAction, org.apache.jetspeed.layout.impl.BaseSiteUpdateAction, org.apache.jetspeed.layout.impl.SecurityConstraintsAction, org.apache.jetspeed.layout.impl.UpdatePageAction, org.apache.jetspeed.layout.impl.GetFolderListAction, org.apache.jetspeed.layout.impl.GetPageAction, org.apache.jetspeed.layout.impl.SecurityPermissionAction, org.apache.jetspeed.layout.impl.GetThemesAction, org.apache.jetspeed.layout.impl.GetPagesAction, org.apache.jetspeed.layout.impl.GetMenuAction, org.apache.jetspeed.layout.impl.GetLinkAction, org.apache.jetspeed.layout.impl.GetUserListAction, org.apache.jetspeed.layout.impl.ExportObject, org.apache.jetspeed.layout.impl.UpdateFolderAction, org.apache.jetspeed.layout.impl.UpdateLinkAction, org.apache.jetspeed.layout.impl.GetPortletsAction, org.apache.jetspeed.layout.impl.AddPortletAction, org.apache.jetspeed.layout.impl.GetFoldersListAction, org.apache.jetspeed.layout.impl.BaseUserAction,
AjaxBuilder | public interface AjaxBuilder (Code) | | An Ajax request is made up of an action and builder phases.
Implement this interface for the Ajax builder phase.
The builder can add additional information to the requiest context,
and it also provides the template used for building the result stream
sent back over the Ajax request.
author: David Sean Taylor |
buildContext | public boolean buildContext(RequestContext requestContext, Map contextVars)(Code) | | Build the normal context template
Parameters: requestContext - The Jetspeed Request Context Parameters: contextVars - Context variables to be substituted into template true on success false onerror |
buildErrorContext | public boolean buildErrorContext(RequestContext requestContext, Map contextVars)(Code) | | Build the error context template
Parameters: requestContext - The Jetspeed Request Context Parameters: contextVars - Context variables to be substituted into template true on success false onerror |
getErrorTemplate | public String getErrorTemplate()(Code) | | the name of the error template used for this builder |
getTemplate | public String getTemplate()(Code) | | the name of the template used for this builder |
|
|