The OpenD Programming Language

WebDotDBaseType

this is there so there's a common runtime type for all callables

Members

Functions

_postProcess
void _postProcess(Document document)

Override this if you want to do something special to the document You should probably call super._postProcess at some point since I might add some default transformations here. By default, it forwards the document root to _postProcess(Element).

_postProcessElement
void _postProcessElement(Element element)

Override this to do something special to returned HTML Elements. This is ONLY run if the return type is(: Element). It is NOT run if the return type is(: Document).

ensurePost
void ensurePost()

convenience function to enforce that the current method is POST. You should use this if you are going to commit to the database or something.

exceptionExaminer
void exceptionExaminer(Throwable e)

use this to look at exceptions and set up redirects and such. keep in mind it does NOT change the regular behavior

Variables

cgi
Cgi cgi;

lower level access to the request

Meta