|
From: Nick L. <nl...@es...> - 2004-08-11 23:49:54
|
> > Nick Lothian wrote: > > Should I be able to use the spring tag library within a Portlet? > > It should, but as you have found out it does not at the moment. > > The intent is to have all the WebMVC View technology available in > PortletMVC. However, much of the View technology is dependent on > specifics of the Servlet API. To get around this we wrote a "bridge" > Servlet which PortletMVC delegates to for rendereing. This > works ok for > simple JSTL views and allows one to use the Portlet taglib. > > The problem now is that <spring:bind ...> is dependendant upon > WebApplicationContext...which is not available in PortletMVC, > so we'll > have to figure out a way to also "bridge" the taglib. > Essentially if we > are running in PortletMVC we need the tablibs to look for > PortletApplicationContext instead of WebApplicationContext or come up > with an abstraction for both and refactor the tablib. > > later. > Bill > > Why can't PortletApplicationContext inherit from WebApplicationContext? Logically it would make sense - the portlet specification leaverages the servlet spec, even if there are no interfaces shared between the specifications. Nick |