svghmi/widget_foreach.ysl2
branchsvghmi
changeset 2959 ae549ba1a116
parent 2952 2adfce8908b4
child 3003 9771a724af09
equal deleted inserted replaced
2958:895d3f2b1786 2959:ae549ba1a116
     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]";