Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Sapphire » checkbox.layout hint is ignored [SOLVED]
checkbox.layout hint is ignored [SOLVED] [message #1754773] Wed, 22 February 2017 09:39
Jens Rabe is currently offline Jens RabeFriend
Messages: 81
Registered: September 2013
I am trying to show a checkbox that is bound to a boolean property. Currently I have in my model:

    @XmlBinding(path = "use-authentication")
    @Label(standard = "Use Authentication")
            new ValueProperty(TYPE, "UseAuthentication");

    Value<Boolean> getUseAuthentication();

    void setUseAuthentication(Boolean value);

And in my sdef:

However, the field is still shown as a text box. What am I missing?

EDIT: Found out myself what I was missing.

I was missing the following in my model:
@Type(base = Boolean.class)

[Updated on: Wed, 22 February 2017 09:52]

Report message to a moderator

Previous Topic:Outline without root node
Next Topic:How do I display a text box as password?
Goto Forum:

Current Time: Mon Mar 04 14:01:44 GMT 2024

Powered by FUDForum. Page generated in 0.02125 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top