Hi All, I agree with Pascal. I use two sets of pages, the full blown and the Ajax version. The fact that they both call a common component to do the actual work means you still have most of the logic in the same place.
One thing I was thinking for my next project was to have a '/ajax/' directory in which the autohandler inherits from either nothing (undef) or '/syshandler' if I still need database access in Ajax page. As an example: /syshandler -> inherits from undef, connects to database /autohandler -> inherits from '/syshandler', generates the wrapper HTML /apage.html -> calls /comp/apage.mhtml /ajax/autohandler -> inherits from '/syshandler' /ajax/apage.html -> calls /comp/apage.mhtml /comp/apage.mhtml -> the common component which does all the work Cheers, Andy -- contact: Andrew Chilton website: http://kapiti.geek.nz/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users