equal
deleted
inserted
replaced
335 |
335 |
336 template "widget[@type='DropDown']", mode="widget_defs" { |
336 template "widget[@type='DropDown']", mode="widget_defs" { |
337 param "hmi_element"; |
337 param "hmi_element"; |
338 labels("text box button highlight"); |
338 labels("text box button highlight"); |
339 // It is assumed that list content conforms to Array interface. |
339 // It is assumed that list content conforms to Array interface. |
340 || |
340 > content: |
341 content: [ |
341 choose{ |
342 /* TODO : Support HMI:List */ |
342 // special case when used for language selection |
343 ``foreach "arg" | "«@value»", |
343 when "count(arg) = 1 and arg[1]/@value = '#langs'" { |
344 ], |
344 > langs |
345 |
345 } |
346 || |
346 otherwise { |
|
347 > [\n |
|
348 foreach "arg" | "«@value»", |
|
349 > ] |
|
350 } |
|
351 } |
|
352 > ,\n |
347 } |
353 } |