directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ole Ersoy <ole.er...@gmail.com>
Subject Re: [Boolean Valued Attributes] Should Java's "true" work?
Date Fri, 22 Jun 2007 21:52:30 GMT


Emmanuel Lecharny wrote:
> System.out.println( true ) will *always print "true"/
> 
> Ok, which attributeType are you using ? It seems that it might be an
> H/R attribute, so in tis case, you must do :
> attributes.put( "yourHRattribute", Boolean.TRUE.toString() );

Hmmm - now that you mention it, it's a custom attributeType entry.  Maybe when adding AttributeType
entries that have the Boolean syntax I should set human readable attribute to false.  I'll
give it a shot.
  
> 
> Btw, you might want to svn up : I have fixed the readible typo.
> 
Terrific - Thanks!
- Ole

SNIP

Mime
View raw message