Package org.adempiere.webui
Class WLogin
java.lang.Object
org.adempiere.webui.part.AbstractUIPart
org.adempiere.webui.WLogin
- All Implemented Interfaces:
ISupportMask
,UIPart
Manage login window for login and role selection
- Version:
- $Revision: 0.10 $
- Author:
- Ashley G Ramdass, Low Heng Sin
-
Field Summary
Fields inherited from class org.adempiere.webui.part.AbstractUIPart
page, showMaskWrapper
Fields inherited from interface org.adempiere.webui.ISupportMask
READY_SHOW_MASK_FLAG
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
changeRole
(Locale locale, Properties properties) Show change role panel inloginWindow
void
detach()
detach/dispose window contentprotected org.zkoss.zk.ui.Component
doCreatePart
(org.zkoss.zk.ui.Component parent) Create UI from login.zul file.org.zkoss.zk.ui.Component
Methods inherited from class org.adempiere.webui.part.AbstractUIPart
createPart, getMaskComponent, getMaskObj, hideMask, showMask
-
Constructor Details
-
WLogin
- 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 ofBorderlayout
.
GetloginWindow
reference from zul using id "loginWindow".- Specified by:
doCreatePart
in classAbstractUIPart
- 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
Show change role panel inloginWindow
- Parameters:
locale
-properties
- env context
-