On Wed, Feb 16, 2011 at 1:08 PM, Andrey Moskvitin archimag@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