2015-03-24 05:12:19 +00:00
|
|
|
{
|
2015-03-26 05:23:14 +00:00
|
|
|
/*
|
|
|
|
Menu Configuration
|
|
|
|
*/
|
2015-03-24 05:12:19 +00:00
|
|
|
"matrix" : {
|
|
|
|
"art" : "matrix",
|
2015-03-30 03:47:48 +00:00
|
|
|
// :TODO: Not currently supporting more than form 0. Should probably do that!
|
2015-03-27 04:58:22 +00:00
|
|
|
"form" : [
|
|
|
|
{
|
|
|
|
"mciReq" : [ "VM1" ],
|
2015-03-28 00:02:00 +00:00
|
|
|
"mci" : {
|
|
|
|
"VM1" : {
|
|
|
|
"submit" : true,
|
|
|
|
"focus" : true,
|
2015-03-30 03:47:48 +00:00
|
|
|
// :TODO: need a good way to localize these ... Standard Orig->Lookup seems good.
|
2015-03-28 00:02:00 +00:00
|
|
|
"items" : [ "Login", "Apply", "Log Off" ]
|
|
|
|
}
|
2015-03-30 03:47:48 +00:00
|
|
|
},
|
|
|
|
/*
|
|
|
|
Some Examples:
|
|
|
|
VerticalMenu: { id: 0, submitId: 1, value: { '1': 1 } }
|
|
|
|
|
|
|
|
Another concept:
|
|
|
|
|
|
|
|
"menu" : "@helper.js/logoff" -> calls helper.js::logoff(...)
|
|
|
|
|
|
|
|
*/
|
|
|
|
"submit" : [
|
|
|
|
{
|
|
|
|
"value" : { "1" : 0 },
|
|
|
|
"menu" : "login"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value" : { "1" : 1 },
|
|
|
|
"menu" : "apply"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value" : { "1" : 2 },
|
|
|
|
"menu" : "logoff"
|
|
|
|
}
|
|
|
|
]
|
2015-03-27 04:58:22 +00:00
|
|
|
}
|
|
|
|
]
|
2015-03-24 05:12:19 +00:00
|
|
|
},
|
|
|
|
"login" : {
|
|
|
|
"art" : "login",
|
|
|
|
"module" : "login"
|
|
|
|
},
|
2015-03-26 05:23:14 +00:00
|
|
|
"logoff" : {
|
2015-03-24 05:12:19 +00:00
|
|
|
"art" : "logoff",
|
2015-03-26 05:23:14 +00:00
|
|
|
"module" : "logoff"
|
2015-03-24 05:12:19 +00:00
|
|
|
}
|
|
|
|
}
|