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