classfantomato::CommentsWeblet
sys::Obj fantomato::CommentsWeblet : web::Weblet
CommentsWeblet Handle comments requests
- addComment
Post a comment
- captcha
Send a captchca to the browser Used to validate comments are not spam (or try to anyway)
- comments
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 := ...