Kombinált nézet Egyszerű nézet Fa-nézet
Szálak [ Előző | Következő ]
toggle
Mandatory attributes
community attrrep documentation
Válasz
2014.03.27. 12:11
I have a class which has two mandatory double attributes called "Alto" and "Ancho" that have a default value, as shown in the image attached.

When I apply the _mandatoryerr function it returns "true" and on the NOTEBOOK still shows "*" indicating that both attributes must have a value in spite of having one already set (by default). How can I do to make it display "*" only when the value of the attribute is null or less than the default value?
Melléklet

Mellékletek: mandatory.png (14,7k)

RE: Mandatory attributes
attr mandatory attrrep
Válasz
2014.01.08. 7:43 válaszként erre: Névtelen.
It is defined that attributes can be marked in AttrRep as mandatory, whereas mandatory means that attribute values shall be different from the default attribute value.