Class: ItemSelectorRepositoryEntryBrowser

(abstract) ItemSelectorRepositoryEntryBrowser()

Handles the events in the Repository Entry Browser taglib.

Extends

  • PortletBase

Members

(static, non-null) STATE :Object

State definition.
Type:
  • Object
Source:

closeCaption :String

Text to show near the close icon in the Item Viewer
Type:
  • String
Source:

editItemURL :String

Url to edit the item.
Type:
  • String
Source:

maxFileSize :Number|String

Maximum allowed file size to drop in the item selector.
Type:
  • Number | String
Source:

uploadItemReturnType :String

The return type for the uploaded item.
Type:
  • String
Source:

uploadItemURL :String

URL to upload an item.
Type:
  • String
Source:

validExtensions :String

Valid extensions for files uploaded to the Item Selector.
Type:
  • String
Source:

Methods

_getUploadFileMetadata(file) → {JSON}

Generates the JSON that the item viewer need to show in the info panel.
Parameters:
Name Type Description
file File
Source:
Returns:
Type
JSON

_showFile(file, Preview)

Shows the selected item in the Item Viewer and uploads to the server.
Parameters:
Name Type Description
file File
Preview String of the item in Base64 code
Source:

attached()

Source:

created()

Source:

detached()

Source: