They are different. I've been sitting in front of a monitor too long and
didn't see the "...Tag..." versus "...Adp..." in the "NsTclRegister...Cmd"
below:

    "ns_register_adptag", NsTclRegisterTagCmd, NULL
    "ns_adp_registeradp", NsTclRegisterAdpCmd, NULL
    "ns_adp_registertag", NsTclRegisterAdpCmd, NULL

/s.


----- Original Message -----
From: "Tom Jackson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 04, 2002 5:27 PM
Subject: Re: [AOLSERVER] ns_adp_registertag or ns_adp_registercmd?


> These two commands used to be different. The current doc description
> indicates they are different. I hope that  ns_register_adptag  behavior
> is working somewhere in the code, as that was a very useful proc. I
> never used the other forms, but know they used to be different by using
> the wrong one once before.
>
> --Tom Jackson
>
> Peter M. Jansson wrote:
>
> > ns_register_adptag and ns_adp_registeradp are different; the former
> > causes
> > an ADP string to be invoked upon encountering the tag, and the latter
> > causes a Tcl proc to be invoked.  My guess is that ns_adp_registertag is
> > too confusing, because it's name is close to the former, but it's a
> > synonym for the latter.  I think this should probably be fixed in code
> > someday, but for now the focus is on the docs, and I'm thinking that
> > ns_adp_registertag should be deprecated in favor of ns_adp_registeradp,
> > while continuing to endorse ns_register_adptag.
>
>

Reply via email to