[hunchentoot-devel] Upcoming Hunchentoot release - Web design wanted

Hans Hübner hans.huebner at gmail.com
Wed Feb 16 12:13:24 UTC 2011


On Wed, Feb 16, 2011 at 1:08 PM, Andrey Moskvitin <archimag at gmail.com> wrote:
>> Setting ACCEPTOR-ERROR-TEMPLATE-DIRECTORY in the acceptor to NIL and
>> (CALL-NEXT-METHOD) from your own ACCEPTOR-STATUS-MESSAGE method
>> should do, or am I missing something?
>
> Yes, thank you, but only ACCEPTOR-ERROR-TEMPLATE-DIRECTORY
> then also need to export )

I've done that, but you'll normally don't want to follow my advice
literally but rather supply a :ERROR-TEMPLATE-DIRECTORY as initarg
when you create your acceptor.  If you're working with a derived
acceptor class, consider using a :DEFAULT-INITARGS clause in your
acceptor class definition to override what Hunchentoot uses for bare
ACCEPTOR instances.

-Hans




More information about the Tbnl-devel mailing list