Hi,
How about implementing your own resolution extensions that take the "name"
of a view or something and translates that into a concrete JSP?
-dennis
Philip Constantinou <[email protected]> skrev den 29-04-2009
04:10:44:
>
> Hey folks -
>
> I'm was wondering if anyone has come up with an elegant solutions to
> handle multiple presentation layers with stripes. We have a web and
> mobile web versions of our application (sometimes a JSON version too).
> Many of the functions, login, forgot password, etc. take the same
> parameters, use the same validation but dispatch to different JSP's.
>
> The best approach we've found is creating abstract ActionBean which
> manages validation, interaction with domain objects and persistence
> layers. The subclasses generally just implement abstract events
> handlers that return resolution to the correct JSP. The JSP's
> stripes:form/useBean refer to the concrete classes.
>
> This works ok, anyone got a better pattern?
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users