[
http://www.stripesframework.org/jira/browse/STS-149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ben Gunter closed STS-149.
--------------------------
> Ruby on Rails like before_filter/after_filter for ActionBeans
> -------------------------------------------------------------
>
> Key: STS-149
> URL: http://www.stripesframework.org/jira/browse/STS-149
> Project: Stripes
> Issue Type: Improvement
> Affects Versions: Release 1.3
> Reporter: Jeppe Cramon
> Assignee: Tim Fennell
> Fix For: Release 1.3
>
> Attachments: methodfilterinterceptor.zip
>
>
> Implement an interceptor which can provide before/after method invocation
> based on the LifecycleStage of the ActionBean.
> Code with TestNG based unit test will follow in an attachment.
> I hope we can get this into Stripes 1.3 final.
> With this we can now write code like this:
> @Before
> public void doSomething() { /* whee */ }
> @Before(LifecycleStage.BindingAndValidation)
> public void doMoreStuff() { /* whee */ }
> @After({LifecycleStage.BindingAndValidation, LifecycleStage.CustomValidation})
> public void ignoreAllErrorEver() {
> getContext().getValidationErrors().clear(); }
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development