Model42 «CoreClass, WithInstanceEditor» |
...
com.sphenon.basics.data.Data_MediaObject |
|
DataEmbeddedImage | Data_MediaObject | «Optional,NoFilter» | ...
XMPresentation |
Style | EmbeddedImage |
XMLogic |
ValidationConstraint | { Condition = { JavaCodeTemplate = «@(DataEmbeddedImage) != null && @(DataEmbeddedImage.MediaType) != null && @(DataEmbeddedImage.MediaType).matches("^image/(png)$")» }, ErrorMessage = "Only PNG images can be used" } |
|
DataZoomableThumbnail | Data_MediaObject | «Optional,NoFilter» | ...
XMPresentation |
Style | ZoomableThumbnail |
XMLogic |
ValidationConstraint | { Condition = { JavaCodeTemplate = «@(DataZoomableThumbnail) != null && @(DataZoomableThumbnail.MediaType) != null && @(DataZoomableThumbnail.MediaType).matches("^image/(png)$")» }, ErrorMessage = "Only PNG images can be used" } |
|
DataDownload | Data_MediaObject | «Optional,NoFilter» | ...
XMPresentation |
Style | Download |
XMLogic |
ValidationConstraint | { Condition = { JavaCodeTemplate = «@(DataDownload) != null && @(DataDownload.MediaType) != null && @(DataDownload.MediaType).matches("^image/(png)$")» }, ErrorMessage = "Only PNG images can be used" } |
|
DataNavigatableResource | Data_MediaObject | «Optional,NoFilter» | ...
XMPresentation |
Style | NavigatableResource |
XMLogic |
ValidationConstraint | { Condition = { JavaCodeTemplate = «@(DataNavigatableResource) != null && @(DataNavigatableResource.MediaType) != null && @(DataNavigatableResource.MediaType).matches("^image/(png)$")» }, ErrorMessage = "Only PNG images can be used" } |
|