Difference between revisions of "Artefact:Model/net/leue/andreas/sandbox/model42/Model42"
From OOModels
Jump to navigationJump to search
AndreasLeue (talk | contribs) (→Code) |
AndreasLeue (talk | contribs) (→Code) |
||
Line 17: | Line 17: | ||
- Style = EmbeddedImage | - Style = EmbeddedImage | ||
+ XMLogic | + XMLogic | ||
- ValidationConstraint = {Condition={JavaCodeTemplate=«@(DataImagePNGEmbedded) != null && @(DataImagePNGEmbedded.MediaType) != null && @(DataImagePNGEmbedded.MediaType).matches("^image/(png)$")»},ErrorMessage="Only PNG images can be used"} | - 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 | ** DataZoomableThumbnail Data_MediaObject Optional,NoFilter | ||
+ XMPresentation | + XMPresentation | ||
- Style = | - Style = ZoomableThumbnail | ||
+ XMLogic | + XMLogic | ||
- ValidationConstraint = {Condition={JavaCodeTemplate=«@(DataImagePNGEmbedded) != null && @(DataImagePNGEmbedded.MediaType) != null && @(DataImagePNGEmbedded.MediaType).matches("^image/(png)$")»},ErrorMessage="Only PNG images can be used"} | - 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 | ** DataDownload Data_MediaObject Optional,NoFilter | ||
Line 29: | Line 27: | ||
- Style = Download | - Style = Download | ||
+ XMLogic | + XMLogic | ||
- ValidationConstraint = {Condition={JavaCodeTemplate=«@(DataImagePNGEmbedded) != null && @(DataImagePNGEmbedded.MediaType) != null && @(DataImagePNGEmbedded.MediaType).matches("^image/(png)$")»},ErrorMessage="Only PNG images can be used"} | - 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 | ** DataNavigatableResource Data_MediaObject Optional,NoFilter | ||
Line 35: | Line 32: | ||
- Style = NavigatableResource | - Style = NavigatableResource | ||
+ XMLogic | + XMLogic | ||
- ValidationConstraint = {Condition={JavaCodeTemplate=«@(DataImagePNGEmbedded) != null && @(DataImagePNGEmbedded.MediaType) != null && @(DataImagePNGEmbedded.MediaType).matches("^image/(png)$")»},ErrorMessage="Only PNG images can be used"} | - ValidationConstraint = {Condition={JavaCodeTemplate=«@(DataImagePNGEmbedded) != null && @(DataImagePNGEmbedded.MediaType) != null && @(DataImagePNGEmbedded.MediaType).matches("^image/(png)$")»},ErrorMessage="Only PNG images can be used"} | ||
</wiml> | </wiml> |
Revision as of 19:14, 26 March 2024
Classification | |
---|---|
Type | Type:org/oomodels/WIML/1.0 |
Domain | Domain:it/test |
Category | Type:org/oomodels/wiki/Model |
More | |
Download Code | |
Namespace (more) | |
Private namespace of Andreas Leue. | |
create new pages |
Code[edit]
Model42 «CoreClass, WithInstanceEditor» | |||||||||
---|---|---|---|---|---|---|---|---|---|
...
|
|||||||||
DataEmbeddedImage | Data_MediaObject | «Optional,NoFilter» | ...
| ||||||
DataZoomableThumbnail | Data_MediaObject | «Optional,NoFilter» | ...
| ||||||
DataDownload | Data_MediaObject | «Optional,NoFilter» | ...
| ||||||
DataNavigatableResource | Data_MediaObject | «Optional,NoFilter» | ...
|