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
