EOS Development Basics Master Two o'clock on line: MINIUI and Logical flow
First, select the current line operation
function SelectionChanged () {
var rows=grid.getselecteds ();
if (rows.length!=0) {//If
nui.get ("Doremove") is selected. Enable ()//action to delete if
(rows.length==1) {
nui.get ("Doshow "). Enable ()//Select a row to navigate
nui.get (" Dodetail "). Enable ()//Select a row to view
the detailed}else{
nui.get (" Doshow "). Disable ()//otherwise cannot perform * * Operation
nui.get ("Dodetail"). disable ();
}
else{
nui.get ("Doremove"). disable ();
Nui.get ("Doshow"). disable ();
Nui.get ("Dodetail"). disable ();
}
Similar to the page operation data, components, event viewing API on the line.
Two. Adding and deleting the logical flow of the search
The use of Primeton from the Add and delete to check (mainly set to the logical flow parameters, logical stream return value, logical flow custom local variables global variables), you need to understand what parameters to receive from the page, return what results. If you want to conform to the specification with your own SQL or Java attention. such as SQL: return value type, parameter type, corresponding fields need to write pairs, Java class: Packaged into a biz need to add annotations, call time can be used, can be parameters and return value Three. Advanced needs to understand the approval process definition, release, personnel roles, activities, etc., their own completion of a set of approval process, to understand the table used backstage, clear how the Approval flow chart exhibition Now to the page; Special features need to be written individually and encapsulated into controls, such as import, export, electronic signature