spring-travel sample app uses a JSP Renderer
I see a JSP Renderer configured for the spring-surf-application-spring-travel sample project provided with the source (https://src.springframework.org/svn/se-surf/trunk). The login-dialog.xml component-type declaration (under spring-surf-applications/spring-surf-application-spring-travel/src/main/webapp/WEB-INF/classes/surf/site/component-types) contains the following:
----------------------------------
<!-- Define the rendering processors for this component type -->
<processor mode="view">
<id>jsp</id>
<jsp-path>/WEB-INF/jsp/login-dialog.jsp</jsp-path>
</processor>
----------------------------------
The login page (spring-surf-applications/spring-surf-application-spring-travel/src/main/webapp/WEB-INF/pages/login.xml) then defines the following component:
----------------------------------
<component>
<region-id>body</region-id>
<component-type-id>login-dialog</component-type-id>
</component>
----------------------------------
Makes sense. I see the login-dialog.jsp page as weil.
I'm now looking into:
1) How do I wire-in a Java controller?
Using the "root objects" the Surf MVC framework wires in. The equivalent to "context", "page", "url" in the Web Scripts redering framework.
2) Accessing the model created in the Java controller in the JSP