My favorites | Sign in
t-2
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 258: User can not get the result of action method using Plugin#afterActionInvoke.
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  shinpei.ohtani@gmail.com
Closed:  Sep 2009


 
Project Member Reported by shinpei.ohtani@gmail.com, Sep 1, 2009

Web application sometime needs post condition validation when an action
method is executed for user request. For example, we expect user need
pre/post security condition, or some parameter condition with some consistency.


So, that is the situation for using Plugin#afterActionInvoke.
However, the developer can not get the result of action method, which is
Navigation instance from parameter.This should be considered specification
bug of Plugin, and it should be fixed to get Navigation instance.

Before:
	Navigation afterActionInvoke(final ActionContext actionContext,
			final MethodDesc targetMethod, final Object page,
			final Object[] args);

After:
	Navigation afterActionInvoke(final ActionContext actionContext,
			final MethodDesc targetMethod, final Object page,
			final Object[] args, final Navigation result);



Sep 1, 2009
Project Member #1 yone...@gmail.com
Agreement.
Sep 1, 2009
Project Member #2 c95...@gmail.com
I agree.
Sep 2, 2009
Project Member #3 skir...@gmail.com
I'm for your opinion.

Sep 2, 2009
Project Member #4 shinpei.ohtani@gmail.com
Fixed at r4954.
Status: Fixed

Powered by Google Project Hosting