Artefact:Model/net/leue/andreas/sandbox/model28/Model28Observed

From OOModels
< Artefact:Model‎ | net‎ | leue‎ | andreas‎ | sandbox‎ | model28
Revision as of 18:31, 9 February 2024 by AndreasLeue (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
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]

Model28Observed
«CoreClass»
...
XMLogicEvents ObserveChangestrue
NameString«»
...
XMLogic ValidationConstraint{
    Condition = {
        JavaCodeTemplate = «@(Name) != null && @(Name).matches("[A-Za-z0-9]+")»
    },
    ErrorMessage = "Der Name darf nur aus Buchstaben und Zahlen bestehen"
}