classfantomato::CommentsWeblet

sys::Obj
  fantomato::CommentsWeblet : web::Weblet

CommentsWeblet Handle comments requests

addComment

Void addComment(Str:Str args)

Post a comment

captcha

Void captcha(Str:Str args)

Send a captchca to the browser Used to validate comments are not spam (or try to anyway)

comments

Void comments(Str:Str args)

Will send the comments for the current page Called via Ajax It relies on ns and page being in the session, which should be ok since comments are always in context of a page If the session expires, pagination might stop working but we coud juts do a page reload then The offset can be used for pagination

gen

CaptchaGenerator gen := ...