Image

(part of package 'Bootstrap Components') Extends designtime/SolutionModel: JSWebComponent Extends runtime: RuntimeWebComponent

Image is a component that can show either a dataprovider based image (DB column/form or scope variable) or an image from the media section of your solution. When it is enabled and editable it also provides means to download and upload am image from/to the dataprovider.

This is a reference page; many components have detailed usage guides here.

Properties

alternate

Value to be filled in alt html attribute of the img tag.

Type: tagstring


dataProviderID

Type: dataprovider


editable

Type: protected Default Value: false


enabled

Type: enabled Default Value: true


media

Type: media


styleClass

Set the styleclasses that should be applied at to this component

Type: styleclass


tabSeq

Type: tabseq


toolTipText

Type: tagstring


visible

Whether the button is visible or not

Type: visible


Events

onActionMethodID

Parameters:

event JSEvent


onDataChangeMethodID

Handle changed data, return false if the value should not be accepted. JSEvent.data will contain extra information about dataproviderid, its scope and the scope id (record datasource or form/global variable scope)

Parameters:

oldValue ${dataproviderType} newValue ${dataproviderType} event JSEvent

Returns: boolean


API


Last updated