Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejavascript
titleUsing a primitive object
pjs.defineDisplay("mydisplay.json");
mydisplay.myscreen.execute({ field1: "value1", field2: "value2" });
Code Block
languagejavascript
titleUsing a data structure
pjs.defineDisplay("mydisplay.json");
pjs.define("S1", { type: 'data structure', extName: { file: 'MYDISPLAY', format: 'MYSCREEN' } });
mydisplay.myscreen.execute(pjs.ds("S1"));

...