Super - Thanks Martin and Emmanuel! Have a terrific weekend,
- Ole
Emmanuel Lecharny wrote:
Oh, very TRUE, Martin.
The syntax checker will throw an exception if you inject 'true' or 'false'.
This is compliant with the RFC...
Thanks Martin !
On 6/23/07, Martin Alderson <[EMAIL PROTECTED]> wrote:
Ole Ersoy wrote:
> 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.
I think that would have to be attributes.put( "yourHRattribute",
Boolean.TRUE.toString().toUpperCase() ); too.
Martin