svghmi/detachable_pages.ysl2
branchsvghmi
changeset 3107 ee0704cc6dc8
parent 3007 360300a8b995
child 3117 f058542d0caa
equal deleted inserted replaced
3106:70b728fff3c9 3107:ee0704cc6dc8
   148     |         [hmi_widgets["«@id»"], [«$widget_paths_relativeness»]]`if "position()!=last()" > ,`
   148     |         [hmi_widgets["«@id»"], [«$widget_paths_relativeness»]]`if "position()!=last()" > ,`
   149     }
   149     }
   150     |     ],
   150     |     ],
   151     |     jumps: [
   151     |     jumps: [
   152     foreach "$parsed_widgets/widget[@id = $all_page_widgets/@id and @type='Jump']" {
   152     foreach "$parsed_widgets/widget[@id = $all_page_widgets/@id and @type='Jump']" {
   153         const "_id","@id";
       
   154         const "opts" call "jump_widget_activity" with "hmi_element", "$hmi_elements[@id=$_id]";
       
   155         if "string-length($opts)>0"
       
   156     |         hmi_widgets["«@id»"]`if "position()!=last()" > ,`
   153     |         hmi_widgets["«@id»"]`if "position()!=last()" > ,`
   157     }
   154     }
   158     |     ],
   155     |     ],
   159     |     required_detachables: {
   156     |     required_detachables: {
   160     foreach "$required_detachables" {
   157     foreach "$required_detachables" {