Class UIApplication

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
UIPortalApplication, UIPortletApplication

public abstract class UIApplication extends UIContainer implements Serializable
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
See Also:
  • Field Details

    • LOG

      protected static final org.exoplatform.services.log.Log LOG
  • Constructor Details

    • UIApplication

      public UIApplication()
  • Method Details

    • getUIPopupMessages

      public UIPopupMessages 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

      public String getUIComponentName()
      Overrides:
      getUIComponentName in class UIComponent
    • findComponentById

      public <T extends UIComponent> T findComponentById(String lookupId)
      Overrides:
      findComponentById in class UIContainer
    • renderChildren

      public void renderChildren() throws Exception
      Overrides:
      renderChildren in class UIContainer
      Throws:
      Exception
    • processAction

      public void processAction(WebuiRequestContext context) throws Exception
      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:
      processAction in class UIComponent
      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