|
From: Jan N. <jan...@gm...> - 2007-12-14 14:13:48
|
We are building JSR-168 JSF portles for deployment into LifeRay Portal
with Spring and Hibernate. To hook into Spring we declare the
following in web.xml:
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<listener>
<listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
</listener>
This is straight JSF - no Spring MVC or Spring Portlet MVC. Question
is: should the "scope" attribute on Spring context defined beans work
in this configuration; specifically, should the web scope values,
e.g., session, work in this configuration?
More generally, is it possible to use JSF as the view technology for
Spring Portlet MVC? Can anyone provide a sample ala "petportal"? If it
is possible, what do you do with JSF's navigation-rules in the Spring
Portlet MVC model?
Many thanks for any help you can provide. (I posed the 'use' question,
on the Spring user list a few days ago with no response...)
-Jan
|