Class WLogin

All Implemented Interfaces:
ISupportMask, UIPart

public class WLogin extends AbstractUIPart
Manage login window for login and role selection
Version:
$Revision: 0.10 $
Author:
Ashley G Ramdass, Low Heng Sin
  • Constructor Details

    • WLogin

      public WLogin(IWebClient app)
      Parameters:
      app -
  • Method Details

    • doCreatePart

      protected org.zkoss.zk.ui.Component doCreatePart(org.zkoss.zk.ui.Component parent)
      Create UI from login.zul file.
      The main layout component ("layout") must be instance of Borderlayout.
      Get loginWindow reference from zul using id "loginWindow".
      Specified by:
      doCreatePart in class AbstractUIPart
      Parameters:
      parent - parent Component or null for root UI block
      Returns:
      Component
    • detach

      public void detach()
      detach/dispose window content
    • getComponent

      public org.zkoss.zk.ui.Component getComponent()
      Returns:
      Component
    • changeRole

      public void changeRole(Locale locale, Properties properties)
      Show change role panel in loginWindow
      Parameters:
      locale -
      properties - env context