Package org.exoplatform.webui.core
Class UIApplication
java.lang.Object
org.exoplatform.webui.core.UIComponent
org.exoplatform.webui.core.UIContainer
org.exoplatform.webui.core.UIApplication
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UIPortalApplication,UIPortletApplication
This is abstract class for Root WebUI component of applications in GateIn.
Act as container of WebUI components, it also provide method to show a Popup message
Act as container of WebUI components, it also provide method to show a Popup message
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.exoplatform.webui.core.UIContainer
UIContainer.SelectTabActionListener -
Field Summary
FieldsFields inherited from class org.exoplatform.webui.core.UIComponent
AJAX_ASYNC, config, OBJECTID, UICOMPONENT, uiparent, USE_WEBUI_RESOURCES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMessage(org.exoplatform.web.application.AbstractApplicationMessage message) voidaddMessage(org.exoplatform.web.application.ApplicationMessage message) void<T extends UIComponent>
TfindComponentById(String lookupId) longReturn the common UIPopupMessagesvoidprocessAction(WebuiRequestContext context) Wrap the action processing by a try catch, if there is exceptions, show a popup message if no exception the processAction will be delegate to the target of the action requestvoidrenderBlockToUpdate(UIComponent uicomponent, WebuiRequestContext context, Writer w) Triggered when there is Ajax request.voidvoidsetLastAccessApplication(long time) Methods inherited from class org.exoplatform.webui.core.UIContainer
addChild, addChild, findComponentOfType, findFirstComponentOfType, getChild, getChild, getChildById, getChildren, hasChildren, removeChild, removeChildById, renderChild, renderChild, renderChild, renderChild, renderChildren, renderUIComponent, replaceChild, replaceChild, setChildren, setRenderedChild, setRenderedChild, setRenderedChildrenOfTypesMethods inherited from class org.exoplatform.webui.core.UIComponent
broadcast, buildModelObject, createEvent, createUIComponent, createUIComponent, createUIComponent, doAsync, event, event, event, getAncestorOfType, getApplicationComponent, getComponentConfig, getId, getName, getParent, getTemplate, getTemplateResourceResolver, isRendered, loadConfirmMesssage, processDecode, processRender, renderEventURL, setComponentConfig, setComponentConfig, setId, setParent, setRendered, setRenderSibling, url, url, url
-
Field Details
-
LOG
protected static final org.exoplatform.services.log.Log LOG
-
-
Constructor Details
-
UIApplication
public UIApplication()
-
-
Method Details
-
getUIPopupMessages
Return the common UIPopupMessages- Returns:
- UIPopupMessages
-
addMessage
public void addMessage(org.exoplatform.web.application.AbstractApplicationMessage message) -
addMessage
public void addMessage(org.exoplatform.web.application.ApplicationMessage message) -
clearMessages
public void clearMessages() -
getLastAccessApplication
public long getLastAccessApplication() -
setLastAccessApplication
public void setLastAccessApplication(long time) -
getUIComponentName
- Overrides:
getUIComponentNamein classUIComponent
-
findComponentById
- Overrides:
findComponentByIdin classUIContainer
-
renderChildren
- Overrides:
renderChildrenin classUIContainer- Throws:
Exception
-
processAction
Wrap the action processing by a try catch, if there is exceptions, show a popup message if no exception the processAction will be delegate to the target of the action request- Overrides:
processActionin classUIComponent- Throws:
Exception
-
renderBlockToUpdate
public void renderBlockToUpdate(UIComponent uicomponent, WebuiRequestContext context, Writer w) throws Exception Triggered when there is Ajax request.
This method add xml structure that help PortalHttpRequest.js parse the response- Throws:
Exception
-