[Bese-devel] login component question

Marco Baringer mb at bese.it
Tue Dec 21 09:31:56 UTC 2004


Chris Capel <pdf23ds at gmail.com> writes:

> Do I understand it correctly that the proper way to use the login
> component is to subclass it and define methods on check-credentials
> and login-successful (if necessary) with the new subclass? It's
> possible to simply define a method on check-credentials, but then it
> might conflict with other uses of the component elsewhere in the lisp
> image, and you have to subclass (I think) to use a custom
> login-successful.

correct, though nothing stops you from defining a method for
check-credentials on login (and redefinig login-successful).

in case anyone is curious: i do not expect anyone to directly use any
of the standard components (ever). my personal expectation is that
people will want to customize at least the render-on method of any
compoent they use (expect maybe simple-window-component) and so will
generally use subclasses of the standard components. i'll add a note
to the docs saying so.

-- 
-Marco
Ring the bells that still can ring.
Forget your perfect offering.
There is a crack in everything.
That's how the light gets in.
     -Leonard Cohen



More information about the bese-devel mailing list