末尾添加脚本的方法和添加头部类似,请参看如何引用脚本等资源

bottoms

    在toHtml的变量上下文中可以获取bottoms变量,如果不为null,那么可以添加字符串到这里。

    bottoms的类型是:List<Map<String, String>> ,和heads的结构一致。

bottomThings

    也可以在toHtml脚本中添加一些在末尾才执行的toHtml的事物,比如jquery需要在末尾初始化所有控件等。

    bottomThings的类型是:List<Thing>。

Copyright ©  2007-2019 XWorker.org  版权所有  沪ICP备08000575号