On Friday 25 January 2002 10:02 am, Berin Loritsch wrote:
> This is for backwards compatibility.  Let's add an attribute to the
> keep-alive element to disable it, like this:
>
> <keep-alive disabled=""/>
>
> The existence of that attribute--wether filled or not will mark it for
> being disabled.

That's confusing. How about:

<keep-alive disabled="true"/>

You can then do a simple 
configuration.getChild("keep-alive").getAttributeAsBoolean("disabled", false);

to have it default to on.
-pete

-- 
peter royal -> [EMAIL PROTECTED]

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to