|
1 | 1 | <layout-row id="RowLayout1"> |
2 | 2 | <layout-column id="ColumnLayout1" style="align-items:stretch"> |
| 3 | + <curie-callout id="DC_IODDUploadStatus"> |
| 4 | + <crown-edpws-binding property="type" |
| 5 | + name="CSK_IODDInterpreter/OnNewCalloutType" update-on-resume> |
| 6 | + </crown-edpws-binding> |
| 7 | + <crown-edpws-binding property="value" |
| 8 | + name="CSK_IODDInterpreter/OnNewCalloutValue" update-on-resume> |
| 9 | + </crown-edpws-binding> |
| 10 | + </curie-callout> |
| 11 | + <layout-row id="RowLayout8"> |
| 12 | + <appspace-file-upload-button id="FUB_IODDUpload" button-type="primary" |
| 13 | + path="public/tempIODD.xml" is-file> |
| 14 | + <span>Upload IODD XML</span> |
| 15 | + <crown-binding event="finished" |
| 16 | + name="CSK_IODDInterpreter/uploadFinished" |
| 17 | + path="param/args/uploadSuccess" auto-commit> |
| 18 | + </crown-binding> |
| 19 | + </appspace-file-upload-button> |
| 20 | + <davinci-drop-down id="DD_IODDListToDelete" |
| 21 | + label="Select IODD to delete"> |
| 22 | + <crown-on property="data" |
| 23 | + crown-event="CSK_IODDInterpreter/OnNewListIODD" |
| 24 | + converter="convertToList"> |
| 25 | + </crown-on> |
| 26 | + <crown-on property="value" |
| 27 | + crown-event="CSK_IODDInterpreter/OnNewSelectedIODDToHandle"> |
| 28 | + </crown-on> |
| 29 | + <crown-set event="change" |
| 30 | + crown-function="CSK_IODDInterpreter/setSelectedIODDToHandle" |
| 31 | + protocol="crownMSGPACK" crown-path="newSelectedIODDToHandle"> |
| 32 | + </crown-set> |
| 33 | + </davinci-drop-down> |
| 34 | + <davinci-button id="B_DeleteIODD" type="primary" |
| 35 | + icon-position="append"> |
| 36 | + <span>Delete IODD</span> |
| 37 | + <crown-set event="submit" |
| 38 | + crown-function="CSK_IODDInterpreter/deleteIODD" |
| 39 | + protocol="crownMSGPACK"> |
| 40 | + </crown-set> |
| 41 | + </davinci-button> |
| 42 | + </layout-row> |
| 43 | + <davinci-button id="B_CreateInstance" type="primary" |
| 44 | + icon-position="append"> |
| 45 | + <span>Create Instance</span> |
| 46 | + <crown-set event="submit" |
| 47 | + crown-function="CSK_IODDInterpreter/addInstance" |
| 48 | + protocol="crownMSGPACK"> |
| 49 | + </crown-set> |
| 50 | + </davinci-button> |
| 51 | + <davinci-drop-down id="DD_InstanceList" label="Select Instance"> |
| 52 | + <crown-on property="data" |
| 53 | + crown-event="CSK_IODDInterpreter/OnNewListIntances" |
| 54 | + converter="convertToList"> |
| 55 | + </crown-on> |
| 56 | + <crown-on property="value" |
| 57 | + crown-event="CSK_IODDInterpreter/OnNewSelectedInstance"> |
| 58 | + </crown-on> |
| 59 | + <crown-set event="change" |
| 60 | + crown-function="CSK_IODDInterpreter/setSelectedInstance" |
| 61 | + protocol="crownMSGPACK" crown-path="newSelectedInstance"> |
| 62 | + </crown-set> |
| 63 | + </davinci-drop-down> |
| 64 | + <stacked-view id="SV_isInstanceSelected"> |
| 65 | + <stacked-pane id="SP_instanceISSelected" value="true"> |
| 66 | + <layout-column id="ColumnLayout7"> |
| 67 | + <layout-row id="RowLayout6"> |
| 68 | + <davinci-text-field id="TF_InstanceId" type="text" |
| 69 | + label="Instance ID"> |
| 70 | + <crown-on property="value" |
| 71 | + crown-event="CSK_IODDInterpreter/OnNewInstanceName"> |
| 72 | + </crown-on> |
| 73 | + <crown-set event="change" |
| 74 | + crown-function="CSK_IODDInterpreter/setInstanceName" |
| 75 | + protocol="crownMSGPACK" crown-path="newInstanceName"> |
| 76 | + </crown-set> |
| 77 | + </davinci-text-field> |
| 78 | + <davinci-button id="B_DeleteInstance" type="primary" |
| 79 | + icon-position="append"> |
| 80 | + <span>Delete Instance</span> |
| 81 | + <crown-set event="submit" |
| 82 | + crown-function="CSK_IODDInterpreter/deleteInstance" |
| 83 | + protocol="crownMSGPACK"> |
| 84 | + </crown-set> |
| 85 | + </davinci-button> |
| 86 | + </layout-row> |
| 87 | + <layout-row id="RowLayout5" style="width: 100%"> |
| 88 | + <davinci-drop-down id="DD_IODDListForInstace" |
| 89 | + label="Select IODD to be used by instance" style="width: 50%"> |
| 90 | + <crown-on property="data" |
| 91 | + crown-event="CSK_IODDInterpreter/OnNewListIODD" |
| 92 | + converter="convertToList"> |
| 93 | + </crown-on> |
| 94 | + <crown-on property="value" |
| 95 | + crown-event="CSK_IODDInterpreter/OnNewSelectedIODD"> |
| 96 | + </crown-on> |
| 97 | + <crown-set event="change" |
| 98 | + crown-function="CSK_IODDInterpreter/setSelectedIODD" |
| 99 | + protocol="crownMSGPACK" crown-path="ioddName"> |
| 100 | + </crown-set> |
| 101 | + </davinci-drop-down> |
| 102 | + </layout-row> |
| 103 | + </layout-column> |
| 104 | + </stacked-pane> |
| 105 | + <stacked-pane id="SP_instanceIsNOTSelected" value="false"> |
| 106 | + </stacked-pane> |
| 107 | + <crown-on property="value" |
| 108 | + crown-event="CSK_IODDInterpreter/isInstanceSelected" |
| 109 | + converter="bool2str"> |
| 110 | + </crown-on> |
| 111 | + </stacked-view> |
3 | 112 | <stacked-view id="SV_Login"> |
4 | 113 | <stacked-pane id="SP_LoginOK" value="true"> |
5 | 114 | <layout-column id="Column_PersistentData" |
|
95 | 204 | </crown-edpws-binding> |
96 | 205 | </stacked-view> |
97 | 206 | <stacked-view id="SV_PageCalled"> |
98 | | - <crown-binding property="value" name="CSK_IODDInterpreter/pageCalled" |
| 207 | + <crown-binding property="value" |
| 208 | + name="CSK_IODDInterpreter/pageCalledInstances" |
99 | 209 | path="result/data/empty" auto-update="0" update-on-resume> |
100 | 210 | </crown-binding> |
101 | 211 | </stacked-view> |
102 | 212 | </layout-column> |
103 | | - <layout-column id="ColumnLayout2" style="flex-grow:3"> |
104 | | - </layout-column> |
| 213 | + <layout-column id="ColumnLayout2"></layout-column> |
105 | 214 |
|
106 | 215 | </layout-row> |
0 commit comments