^1648172754183
@
sname
SimpleLogin
slabel
SimpleLogin
sdescriptors
xworker.lang.MetaDescriptor3
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
Sdescription
#$@text#$@
<p><strong>简单登录应用</strong></p>

<p>&nbsp;&nbsp;&nbsp; 一个 HTTP的简单登录应用，用户需要输入用户名和密码实现登录。</p>

<p><strong>可以重写的方法</strong></p>

<ul>
	<li><strong>重写loadUser方法</strong><br />
	参数name和password，实际上是校验和读取用户对象，如果返回值不为空，那么认为装载成功，返回值是用户对象。<br />
	&nbsp;</li>
	<li><strong>重写本事物的doLogin方法</strong><br />
	也可以重写doLogin方法，参数name和password，在这个方法里可以自行校验用户和设置用户的session等，以及request和response等默认参数。<br />
	loadUser方法默认是通过doLogin方法调用的，所以doLogin方法是总方法。</li>
</ul>

<p><strong>控制参数</strong></p>

<p>&nbsp;&nbsp;&nbsp; 通过参数command控制方法，command=login是登录，command=logout是退出登录，其他如果session存在返回已登录页面，否则是登录页面。</p>

<p><strong>doLogined方法</strong></p>

<p>&nbsp;&nbsp;&nbsp; 登录成功后会调用doLogined方法。</p>
#$@text#$@
snotXmlAttribute
false
sth_createIndex
false
sth_mark
false
  @/@actions
  sname
  actions
  sdescriptors
  xworker.lang.MetaDescriptor3/@actions
  sth_createIndex
  false
  sth_mark
  false
  sid
  actions
    @/@actions/@httpDo
    sname
    httpDo
    schangeSelf
    true
    sselfVarName
    loginThing
    sinterpretationType
    Self
    sattributeTemplate
    false
    schildsAttributeTemplate
    false
    svarScope
    Local
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdisableGlobalContext
    false
    sdescriptors
    xworker.lang.actions.Actions/@ActionGroup
    sth_createIndex
    false
    sth_mark
    false
    sid
    httpDo
      @/@actions/@httpDo/@actions
      sname
      actions
      sdescriptors
      xworker.lang.actions.Begin/@actions
      sth_createIndex
      false
      sth_mark
      false
      sid
      actions
        @/@actions/@httpDo/@actions/@doAction
        sname
        doAction
        sclassPath
        xworker.web.app.view.http.SimpleLogin
        sinterpretationType
        Self
        sattributeTemplate
        false
        schildsAttributeTemplate
        false
        svarScope
        Local
        sisSynchronized
        false
        sthrowException
        true
        suseOtherAction
        false
        screateLocalVarScope
        false
        ssaveReturn
        false
        sdisableGlobalContext
        false
        sdescriptors
        xworker.web.HttpActions/@HttpAciton
        sth_createIndex
        false
        sth_mark
        false
        sid
        doAction
    @/@actions/@toHtml1
    sname
    toLoginHtml
    schangeSelf
    true
    sselfVarName
    data
    sinterpretationType
    Self
    sattributeTemplate
    false
    schildsAttributeTemplate
    false
    svarScope
    Local
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdisableGlobalContext
    false
    sdescriptors
    xworker.lang.actions.Actions/@ActionGroup
    sth_createIndex
    false
    sth_mark
    false
    sid
    toHtml1
      @/@actions/@toHtml1/@actions
      sname
      actions
      sdescriptors
      xworker.lang.actions.Begin/@actions
      sth_createIndex
      false
      sth_mark
      false
      sid
      actions
        @/@actions/@toHtml1/@actions/@toHtml
        sname
        toHtml
        stemplatePath
        xworker/web/app/view/http/app/page/SimpleLoginPage.ftl
        stype
        freemarker
        soutput
        outputStream
        svarScope
        Local
        stemplateEncoding
        UTF-8
        soutputEncoding
        UTF-8
        sinterpretationType
        Self
        sattributeTemplate
        false
        schildsAttributeTemplate
        false
        sisSynchronized
        false
        sthrowException
        true
        suseOtherAction
        false
        screateLocalVarScope
        false
        ssaveReturn
        false
        sswitchResult
        false
        sdisableGlobalContext
        false
        sdebugLog
        false
        sdescriptors
        xworker.core.text.TextTemplate
        sth_createIndex
        false
        sth_mark
        false
        sid
        toHtml
    @/@actions/@doLogin
    sname
    doLogin
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.web.app.view.http.SimpleLogin
    smethodName
    doLogin
    sdisableGlobalContext
    false
    sattributeTemplate
    false
    sinterpretationType
    Action
    svarScope
    Global
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdescriptors
    xworker.lang.actions.Actions/@JavaAction
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    doLogin
    @/@actions/@loadUser
    sname
    loadUser
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.web.app.view.http.SimpleLogin
    smethodName
    loadUser
    sdisableGlobalContext
    false
    sattributeTemplate
    false
    sinterpretationType
    Action
    svarScope
    Global
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdescriptors
    xworker.lang.actions.Actions/@JavaAction
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    loadUser
    @/@actions/@doLogined
    sname
    doLogined
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.web.app.view.http.SimpleLogin
    smethodName
    doLogined
    sdisableGlobalContext
    false
    sattributeTemplate
    false
    sinterpretationType
    Action
    svarScope
    Global
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdescriptors
    xworker.lang.actions.Actions/@JavaAction
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    doLogined
  @/@name
  sname
  name
  sreadOnly
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_mark
  false
  sid
  name
  @/@label
  sname
  label
  sreadOnly
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_mark
  false
  sid
  label
  @/@title
  sname
  title
  ssize
  40
  sreadOnly
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_mark
  false
  sid
  title
  @/@company
  sname
  company
  ssize
  60
  sreadOnly
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_mark
  false
  sid
  company
  @/@logo
  sname
  logo
  ssize
  60
  sreadOnly
  false
  sdefault
  /images/logo.jpg
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_mark
  false
  sid
  logo
  @/@loginedUrl
  sname
  loginedUrl
  ssize
  60
  sshowLabel
  true
  sreadOnly
  false
  sinheritDescription
  false
  sdescription
  <p>登录成功后要跳转到的页面。可以通过重载getLoginedUrl方法返回自定义的登陆成功的页面。</p>
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_mark
  false
  sid
  loginedUrl
  @/@sessionAttributeName
  sname
  sessionAttributeName
  ssize
  50
  sshowLabel
  true
  sreadOnly
  false
  sinheritDescription
  false
  sdescription
  <p>如果htttpsesion中的这个属性不为空，表示已登录，否则表示未登录。</p>
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  snotXmlAttribute
  false
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_mark
  false
  sid
  sessionAttributeName
  @/@actions1
  sname
  actions
  slabel
  Actions
  sdescriptors
  xworker.lang.MetaDescriptor2/@thing
  sextends
  xworker.lang.actions.Actions
  smany
  true
  seditCols
  2
  Sdescription
#$@text#$@
<p>动作集合，通过子节点可以添加各种动作，动作通常是一个可执行的程序。</p>
<p>事物的第一个动作集合的子事物才可以作为事物的行为，第二个及其他动作集合就不能作为事物的行为使用了，事物的行为默认找第一个动作集合。</p>
<p>事物的run方法一般是这个事物转化为动作之后执行的方法。</p>
#$@text#$@
  szh_label
  动作
  sth_createIndex
  false
  sid
  actions1
    @/@actions1/@name
    sname
    name
    sdescriptors
    xworker.lang.MetaDescriptor2/@attribute
    sid
    name
  @/@sswtMenus
  sname
  sswtMenus
  sdescriptors
  xworker.lang.MetaDescriptor3/@swtMenus
  sth_createIndex
  false
  sth_mark
  false
  sid
  sswtMenus
    @/@sswtMenus/@menuSetting
    sname
    menuSetting
    stype
    data
    smenuType
    WEB
    sdescriptors
    xworker.lang.MetaDescriptor3/@swtMenus/@menuSetting
    sth_createIndex
    false
    sth_mark
    false
    sid
    menuSetting
      @/@sswtMenus/@menuSetting/@openInBrowser
      sname
      openInBrowser
      slabel
      在浏览器中打开
      surl
      do?sc=
      sisSplit
      false
      sattachParam
      true
      sdescriptors
      xworker.lang.ThingMenu/@menuSetting/@menu
      sth_createIndex
      false
      sth_mark
      false
      sid
      openInBrowser
    @/@sswtMenus/@menuDefine
    sname
    menuDefine
    sdescriptors
    xworker.lang.MetaDescriptor3/@swtMenus/@menuDefine
    sth_createIndex
    false
    sth_mark
    false
    sid
    menuDefine
      @/@sswtMenus/@menuDefine/@WEB
      sname
      WEB
      slabel
      WEB
      sdescriptors
      xworker.lang.ThingMenu/@menuDefine/@menu
      sth_createIndex
      false
      sth_mark
      false
      sid
      WEB
