Are there any examples on how to use ViewFileItem ?
Thanks a lot,
Stonebranch
Thanks a lot,
Stonebranch
<field name="logo" type="imageFile" title="Logo File" required="false" showFileInline="true" /> ViewFileItem logoItem = new ViewFileItem(DropboxDS.LOGO , "Logo"); logoItem.setShowFileInline(true);
ViewFileItem target = new ViewFileItem("target"); target.setAttribute("editorType", "ViewFileItem"); target.setType("imageFile");
Evaluator: result of 'isc_ViewFileItem_2_canvas ' (11ms): Canvas{creator: [ViewFileItem ID:isc_ViewFileItem_2 name:logo], ID: "isc_ViewFileItem_2_canvas", height: 100, width: 908, position: "absolute", className: "normal", left: 98, top: 28, tabIndex: 2150, canvasItem: [ViewFileItem ID:isc_ViewFileItem_2 name:logo], disabled: false, showFocused: false, parentElement: [DynamicForm ID:isc_OID_250], topElement: [VLayout ID:isc_OID_66], contents: " ", zIndex: 203582, }
Comment