* Minor work on fse class. Experimental handling of submit/etc. directly

This commit is contained in:
Bryan Ashby 2015-08-12 22:08:33 -06:00
parent 40e1e1bea8
commit 08bebb560d
4 changed files with 61 additions and 0 deletions

Binary file not shown.

View file

@ -275,6 +275,41 @@
"footerView" : "demo_fse_netmail_footer_view.ans",
"help" : "demo_fse_netmail_help.ans"
}
},
"form" : {
"0" : {
"ETETTLTL" : {
"mci" : {
"TL1" : {
"width" : 36,
"argName" : "from"
},
"ET2" : {
"width" : 36,
"argName" : "to",
"focus" : true
},
"ET3" : {
"width" : 65,
"argName" : "subject",
"maxLength" : 72,
"submit" : true
},
"TL4" : {
"width" : 19,
"textOverflow" : "..."
}
}/*
"submit" : {
"3" : [
{
"value" : { "subject" : null },
"action" : "@method:fseSubmitProxy"
}
]
}*/
}
}
}
},
/*

View file

@ -38,6 +38,12 @@ function MessageAreaPostModule(options) {
fse.enter();
};
this.menuMethods = {
fseSubmitProxy : function(formData, extraArgs) {
console.log(formData)
}
};
}
require('util').inherits(MessageAreaPostModule, MenuModule);