Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

19
LINES

< > BotCompany Repo | #1020946 // CRUD for other module [read only, so only "R", no "CUD" :D]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (1245L/7K).

!7

cmodule OtherModuleCRUD > DynObjectTable {
  S moduleLibID = "#1020938/AskQuestions";
  
  start {
    dm_vmBus_onMessage_q('conceptsChanged, voidfunc(O concepts) {
      if (concepts == dm_call(dm_findModule(moduleLibID), 'conceptsObject)) updateData()
    });
    setModuleName("CRUD for " + moduleLibID);
  }
  
  afterVisualize { updateData(); }
  
  void updateData {
    if (table() == null) ret; // Only update when visible
    setData(conceptsToMaps_gen((L) dm_requireAndCallModule(moduleLibID, 'concepts)));
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020946
Snippet name: CRUD for other module [read only, so only "R", no "CUD" :D]
Eternal ID of this version: #1020946/16
Text MD5: 910fc2dac7b3e23cebf80dbcf48b312f
Transpilation MD5: b0fa649eeafa428a7ed8cd4e52f3e6b8
Author: stefan
Category: javax / concepts
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-01-13 03:12:14
Source code size: 544 bytes / 19 lines
Pitched / IR pitched: No / No
Views / Downloads: 277 / 605
Version history: 15 change(s)
Referenced in: [show references]