/// <summary> /// 将对象列表绑定到模板 /// </summary> /// <param name="listName">需要被绑定的列表名</param> /// <param name="lbl">对象在模板中的变量名</param> /// <param name="objList">对象的列表</param> /// <param name="otherBinder">附加的绑定器bindFunction( IBlock tpl, int id )</param> protected void bindList( String listName, String lbl, IList objList, bindFunction otherBinder ) { utils.getCurrentView().bindFunc = otherBinder; utils.getCurrentView().BindList( listName, lbl, objList ); }
/// <summary> /// 将对象列表绑定到模板 /// </summary> /// <param name="listName">需要被绑定的列表名</param> /// <param name="lbl">对象在模板中的变量名</param> /// <param name="objList">对象的列表</param> /// <param name="otherBinder">附加的绑定器bindFunction( IBlock tpl, int id )</param> protected void bindList(String listName, String lbl, IList objList, bindFunction otherBinder) { utils.getCurrentView().bindFunc = otherBinder; utils.getCurrentView().BindList(listName, lbl, objList); }