aop extend function for web form