Re: About the AOP and Page Class

2009-02-03 Thread Igor Drobiazko
Please have a look at the source of http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/internal/hibernate/CommitAfterWorker.html On Wed, Feb 4, 2009 at 4:45 AM, Xunhua Teng wrote: > Now I have a requirement that need to execute a piece of code before every > method of every page c

About the AOP and Page Class

2009-02-03 Thread Xunhua Teng
Now I have a requirement that need to execute a piece of code before every method of every page class, so I thought I should use the Spring aop, but how can I do, I found that the aop is just for service class ,how to use it for page class. Please give some ideas thanks a lot. I use the T5+Spri