^1640740801079
@
sname
ThingTemplate
slabel
ThingTemplate
Sdescription
#$@text#$@
<p>一个简单的应用，使用freemarker模板和指定的事物合并生成html网页。</p>
<p>参数是thing，template和contentType，其中thing是事物的路径，template是模板的路径，contentType默认text/html; charset=utf-8。</p>
<p>合并模板时事物的参数名是thing。</p>
#$@text#$@
sdescriptors
xworker.web.controls.SimpleControl
sth_createIndex
false
  @/@actions
  sname
  actions
  sdescriptors
  xworker.web.controls.SimpleControl/@actions
  sth_createIndex
  false
  sid
  actions
    @/@actions/@doAction
    sname
    doAction
    sclassPath
    xworker.web.app.ThingTemplateActions
    smethod
    doAction
    sinterpretationType
    Self
    sattributeTemplate
    false
    schildsAttributeTemplate
    false
    svarScope
    Local
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    sdisableGlobalContext
    false
    sdescriptors
    xworker.web.HttpActions/@HttpMethod
    sth_createIndex
    false
    sid
    doAction
    @/@actions/@hello
    sname
    hello
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    svarScope
    Local
    sdisableGlobalContext
    false
    scode
    println("hello world" + self.getString("name"));
    sinterpretationType
    Action
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdescriptors
    xworker.lang.actions.Actions/@GroovyAction
    sinheritDescription
    false
    sth_createIndex
    false
    sth_registMyChilds
    false
    sth_mark
    false
    sid
    hello
  @/@success
  sname
  success
  stype
  freemarker
  scontentType
  ${contentType}
  svalue
  ${template}
  sdescriptors
  xworker.web.controls.SimpleControl/@result
  sth_createIndex
  false
  sid
  success
