You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Xunhua Teng <te...@magic-sw.com.cn> on 2009/02/04 04:45:37 UTC
About the AOP and Page Class
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+Spring.
Re: About the AOP and Page Class
Posted by Igor Drobiazko <ig...@gmail.com>.
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 <te...@magic-sw.com.cn> wrote:
> 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+Spring.
>
>
--
Best regards,
Igor Drobiazko