Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sapphire-dev] New topic in forum Sapphire, called Fact not displayed on empty field, by Ralf S.

Title: Eclipse Community Forums
Subject: Fact not displayed on empty field Author: Ralf S. Date: Sun, 26 April 2015 11:00
Hello,

I implemented a Editor for a XML-File. Elements of the XML structure have an optional attribute "name". For this attribute I added a @Fact explaining the behavior if the value is not given.

    @Label(standard = "name")
    @XmlBinding(path = "@name")
    //@Required
    @Unique(ignoreNullValues = true)
    @Service(impl = NameValidationService.class)
    @Fact(statement = "Optional name ... Default ...")
    ValueProperty PROP_NAME = new ValueProperty(TYPE, "Name");


Unfortunately the fact (and the little light bulb) is only displayed it the field is filled. It is not displayed on empty fields.

What do I have to do, so the fact is displayed for empty fields also?

Regards,

Ralf


[ Reply ][ Quote ][ View Topic/Message ][ Unsubscribe from this forum ]

Back to the top