-
APL函數(shù)代碼開放場(chǎng)景-UI事件Java接口說明 packagefx.custom.apl.example.ui_event;importcom.fxiaoke.functions.FunctionContext;importcom.fxiaoke.functions.Fx;importcom.fxiaoke.functions.client.DebugHelper;importcom.fxiaoke.functions.model.Remind;importcom.fxiaoke.functions.template.IUIEventAction;開發(fā)者手冊(cè) 273
-
APL函數(shù)代碼開放場(chǎng)景-UI事件Groovy代碼示例 一、數(shù)據(jù)更新事件-函數(shù)編寫模板:(1)在新建/編輯頁,當(dāng)某一字段修改(值改變且失焦)時(shí),觸發(fā)自定義函數(shù)來更新主對(duì)象或從對(duì)象的數(shù)據(jù)Groovy:// 獲取當(dāng)前頁面標(biāo)識(shí) Add:新建頁面,Edit:編輯頁面context.actionPage//新建UIEvent事件UIEvent event = UIEvent.build(context) { //把字段設(shè)置為只讀、隱藏、必填開發(fā)者手冊(cè) 365