Xem kết hợp Flat Xem Xem cây
Luồng thảo luận [ Trước | Tiếp theo ]
toggle
Mandatory attributes
community attrrep documentation
Câu trả lời
12:11 27/03/2014
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?
Đính kèm

Các đính kèm: mandatory.png (14,7k)

RE: Mandatory attributes
attr mandatory attrrep
Câu trả lời
07:43 08/01/2014 gửi bài phản hồi tới Cho phép người dùng chưa đăng ký.
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.