svghmi/widget_foreach.ysl2
branchsvghmi
changeset 2966 7349063b19d8
parent 2959 ae549ba1a116
child 3003 9771a724af09
equal deleted inserted replaced
2965:8f928cee01e5 2966:7349063b19d8
     1 
     1 
     2 template "widget[@type='ForEach']", mode="widget_defs" {
     2 template "widget[@type='ForEach']", mode="widget_defs" {
     3     param "hmi_element";
     3     param "hmi_element";
     4     const "widgets", "func:refered_elements($forEach_widgets)[not(@id = $forEach_widgets_ids)]";
       
     5 
     4 
     6     const "class","arg[1]/@value";
     5     const "class","arg[1]/@value";
     7 
     6 
     8     const "base_path","path/@value";
     7     const "base_path","path/@value";
     9     const "hmi_index_base", "$indexed_hmitree/*[@hmipath = $base_path]";
     8     const "hmi_index_base", "$indexed_hmitree/*[@hmipath = $base_path]";