Can Stripes do this?


Written on September 14, 2006 – 12:00 am | by mpayne

This is a continuation of the previous blog entry in response to Tims blog about the lack of value in having a layer between actions and their results.

Without writing more java code, have a generic action that can be re-used all over the place?

http://sutternow.com/space/Can+Stripes+do+this%3F

In this case, NamedQueryPagingAction can provide generic paging for various "lists" for things throughout the webapp.

Also, Webork’s  xml supports multiple inheritance, so if I want to recast the all same (n number) of actions under /secureStuff and /demo

I can just have a fairly emtpy package statement.

<package name="demo" extends="secureStuff"
namespace="/demo">maybe just mention a different default interceptor
stack that doesn’t include security checking</package>

If 30 actions were mentioned in /secureStuff, I don’t need 30 new classes or 30 action statements

Post a Comment

You need to enable GD extension in order to use Simple CAPTCHA.