Folks,
A new, improved and refactored Spring PortletMVC has been checked into
the sandbox. The new approach follows Juergen's architecture suggestions:
http://opensource.atlassian.com/confluence/spring/display/JSR168/SpringPortlet+module+design+discussion
* simplify the controller infrastructure
* reuse the servlet view infrastructure by implementing a "bridge"
servlet - ViewRendererServlet
You can build the sandbox jar on the HEAD or try out the new
spring-example-portlet.war at http://www.tnt-web.com/springportlet/
The simple-example-portlet again simply maps portlet modes to
WEB-INF/jsp/portlet/{MODE}.jsp for the view. However, now we are
reusing the o.s.web.servlet.View package directly by dispatching to a
ViewRendererServlet mapped to WEB-INF/servlet/view
Still have a ways to go...tests, docs, sample-portlet-app, etc.
All feedback gratefully welcome of course...
later.
Bill
|