com.wewebu.ow.server.app
Class OwLoginView

java.lang.Object
  extended by com.wewebu.ow.server.ui.OwEventTarget
      extended by com.wewebu.ow.server.ui.OwView
          extended by com.wewebu.ow.server.ui.OwLayout
              extended by com.wewebu.ow.server.app.OwLoginView
All Implemented Interfaces:
OwBaseView, OwUpdateTarget

public class OwLoginView
extends OwLayout

Login View Module for the Application. Used to log user on and create the Credentials.

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com


Nested Class Summary
 
Nested classes/interfaces inherited from class com.wewebu.ow.server.ui.OwLayout
OwLayout.OwDispatchRegion
 
Field Summary
static int ERROR_REGION
          name of the login info region.
static int LOCALS_REGION
          language selection
static int LOGINPART_REGION
          name of the login part region
protected  OwConfiguration m_Configuration
          application m_Configuration reference
protected  OwUISubModul m_LoginSubModul
          reference to the DMS specific login UI
protected  OwMainAppContext m_MainContext
          reference to the cast AppContext
 
Fields inherited from class com.wewebu.ow.server.ui.OwLayout
m_Regions
 
Fields inherited from class com.wewebu.ow.server.ui.OwView
CURRENT_MODULE_KEY, FORMULAR_PLACEHOLDER_END_DELIMITER, FORMULAR_PLACEHOLDER_START_DELIMITER, m_externalFormEventTarget
 
Fields inherited from interface com.wewebu.ow.server.ui.OwBaseView
EMPTY_STRING
 
Constructor Summary
OwLoginView()
           
 
Method Summary
protected  void init()
          init the view after the context is set.
 boolean isRegion(int iRegion_p)
          determine if region contains a view or must be rendered
protected  void onRender(Writer w_p)
          render the view and all contained views
 void renderLocalsRegion(Writer w_p)
          render the locales select region to switch languages by user.
 void renderRegion(Writer w_p, int iRegion_p)
          render the views of the region
 
Methods inherited from class com.wewebu.ow.server.ui.OwLayout
addRegion, addView, addView, addViewReference, getIterator, getViewRegion, isRegionMaximized, isRegionMinimized, isRegionNormal, renderNamedRegion
 
Methods inherited from class com.wewebu.ow.server.ui.OwView
activate, detach, getBreadcrumbPart, getDocument, getExternalFormEventTarget, getFormName, getFormTarget, getIcon, getMaximizeView, getParent, getRenderedNamedRegion, getRenderedRegion, getTitle, getViewList, isFormTargetExternal, isNamedRegion, isShowMaximized, isShowMinimized, isShowNormal, onActivate, onUpdate, render, renderHTMLFormular, serverSideDesignInclude, serverSideInclude, setDocument, setExternalFormTarget, setMaximizeView, setParent, showMaximized, showMinimized, showNormal, usesFormWithAttributes
 
Methods inherited from class com.wewebu.ow.server.ui.OwEventTarget
attach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGINPART_REGION

public static final int LOGINPART_REGION
name of the login part region

See Also:
Constant Field Values

ERROR_REGION

public static final int ERROR_REGION
name of the login info region.

See Also:
Constant Field Values

LOCALS_REGION

public static final int LOCALS_REGION
language selection

See Also:
Constant Field Values

m_MainContext

protected OwMainAppContext m_MainContext
reference to the cast AppContext


m_Configuration

protected OwConfiguration m_Configuration
application m_Configuration reference


m_LoginSubModul

protected OwUISubModul m_LoginSubModul
reference to the DMS specific login UI

Constructor Detail

OwLoginView

public OwLoginView()
Method Detail

init

protected void init()
             throws Exception
init the view after the context is set.

Overrides:
init in class OwView
Throws:
Exception

isRegion

public boolean isRegion(int iRegion_p)
determine if region contains a view or must be rendered

Specified by:
isRegion in interface OwBaseView
Overrides:
isRegion in class OwLayout
Parameters:
iRegion_p - ID of the region
Returns:
true if region contains anything and should be rendered

renderLocalsRegion

public void renderLocalsRegion(Writer w_p)
                        throws Exception
render the locales select region to switch languages by user.

Throws:
Exception

renderRegion

public void renderRegion(Writer w_p,
                         int iRegion_p)
                  throws Exception
render the views of the region

Specified by:
renderRegion in interface OwBaseView
Overrides:
renderRegion in class OwLayout
Parameters:
w_p - Writer object to write HTML to
iRegion_p - ID of the region to render
Throws:
Exception

onRender

protected void onRender(Writer w_p)
                 throws Exception
render the view and all contained views

Overrides:
onRender in class OwView
Parameters:
w_p - Writer object to write HTML to
Throws:
Exception


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.