renderDawoMenu function
void
renderDawoMenu()
model from #Wikipedia
Implementation
/*
//TODO JSON quest: howTo do JSON.decode when String is in many rows?
var dawoMenu = JSON.decode('[
"menu" : {
"id": "file",
"value": "File",
"dragdown": {
"menuitem": [
{"value": "New", "onclick": "CreateNewDoc()"},
{"value": "Open", "onclick": "OpenDoc()"},
{"value": "Close", "onclick": "CloseDoc()"}
]
},
"popup": {
"menuitem": [
{"value": "New", "onclick": "CreateNewDoc()"},
{"value": "dawoHook()", "onclick": "dawoFlag()"},
{"value": "Open", "onclick": "OpenDoc()"},
{"value": "Close", "onclick": "CloseDoc()"}
]
}
}
]');
*/
///
void renderDawoMenu() {
// dawoMenu.menu.popup.menuitem[1].value;
}