Als Beispiel:
Ein Button öffnet einen Dialog mit einem View.
Im geöffnetem View gibt es einen button, wollen Sie wirklich mit der ID zum Garagentor öffnen.
Der Button für "Garagentor öffnen" -> öffnet einen Dialog mit einem View (hier: Test5)
[{"tpl":"tplContainerButtonDialog","data":{"visibility-cond":"==","visibility-val":1,"buttontext":"Gragentor öffnen","padding":"5","contains_view":"Test5"},"style":{"left":"382px","top":"107px","width":"172px","height":"36px"},"widgetSet":"jqui"}]
Der View mit dem Bestätigungsbutton "wollen Sie wirklich"
{
"settings": {
"style": {},
"theme": "redmond",
"sizex": "",
"sizey": "",
"hideDescription": false,
"gridSize": ""
},
"widgets": {
"e00001": {
"tpl": "tplBasicState",
"data": {
"oid": "garagentor-id",
"visibility-cond": "==",
"visibility-val": "",
"value": "0",
"html": "
wollen Sie wirklich?",
"visibility-oid": "",
"name": "",
"comment": ""
},
"style": {
"left": "0",
"top": "0",
"background": "rgb(204, 204, 204) none repeat scroll 0% 0% / auto padding-box border-box",
"width": "90px",
"height": "55px",
"z-index": "10",
"color": "rgb(68, 68, 68)",
"text-align": "center",
"text-shadow": "none",
"font-family": "'Lucida Grande', 'Lucida Sans', Arial, sans-serif",
"font-style": "normal",
"font-variant": "normal",
"font-weight": "bold",
"font-size": "12px",
"line-height": "14px",
"letter-spacing": "0",
"word-spacing": "0px",
"background-position": "0% 0%",
"background-size": "auto",
"background-clip": "",
"background-origin": "",
"padding": "",
"box-shadow": "0px 0px 1px 1px",
"border-style": "solid",
"border-radius": "",
"border-width": "1px"
},
"widgetSet": "basic"
}
},
"name": "Test5",
"rerender": false,
"filterList": []
}
2858_philips_ok.pcapng.txt