directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny" <elecha...@gmail.com>
Subject Re: [Boolean Valued Attributes] Should Java's "true" work?
Date Fri, 22 Jun 2007 20:14:57 GMT
No, it won't work, I guess.

You sould store an object into your attribute, like Boolean.TRUE.

Be aware that your attribute syntax must also allow you to use booleans values.

On 6/22/07, Ole Ersoy <ole.ersoy@gmail.com> wrote:
> Hey Guys,
>
> I tried to create an entry containing an attribute like this:
>
> attributes.put("someBooleanTypeAttributeName", true);
>
> And got an exception (Noted in most recent JIRA filed).  Should that work?
>
> Thanks,
> - Ole
>
>
>


-- 
Regards,
Cordialement,
Emmanuel L├ęcharny
www.iktek.com

Mime
View raw message