@topsurfer
doch, aber vis2 ist in der lage die richtigen datentypen auszuwerten
da muss es dann so heißen
{val:0_userdata.0.test;val==true?"green":"red"}
[image: image.jpeg]
[image: image.jpeg]
Spoiler
[
{
"tpl": "tplFrame",
"data": {
"bindings": [],
"title": "Titel",
"g_common": true,
"title_top": -10,
"title_left": 20
},
"style": {
"bindings": [],
"left": "170.778px",
"top": "105.889px",
"width": "262px",
"height": "162px",
"border-style": "solid",
"border-width": "3px",
"border-color": "{val:0_userdata.0.test;val==true?\"green\":\"red\"}",
"overflow-x": "visible",
"overflow-y": "visible"
},
"widgetSet": "basic",
"_id": "i000001"
},
{
"tpl": "tplValueBoolCheckbox",
"data": {
"bindings": [],
"oid": "0_userdata.0.test"
},
"style": {
"bindings": [],
"left": 486,
"top": 154
},
"widgetSet": "basic",
"_id": "i000002"
}
]