much thnx sir!<br><br><div class="gmail_quote">On Dec 4, 2007 5:07 AM, Sebastian Himberger <<a href="mailto:sebastian.himberger@gmx.de">sebastian.himberger@gmx.de</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Andy,<br><br>it's possible. This is from my spring-<servlet>.xml:<br><br> <bean<br>class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping"><br> <property name="mappings">
<br> <value><br> /user/register/customer=customerRegistrationController<br> /user/register/business=businessRegistrationController<br> /user/activate=activationController
<br> /user/login=loginController<br> /user/account=profileController<br> </value><br> </property><br> </bean><br><br> <bean id="opencmsViewResolver"
<br> class="org.springframework.web.servlet.view.UrlBasedViewResolver"><br> <property name="viewClass"<br>value="org.springframework.web.servlet.view.JstlView"/><br> <property name="prefix" value="/opencms/views/"/>
<br> <property name="suffix" value=".jsp"/><br> </bean><br><br>This is an example JSP inside the OpenCms VFS:<br><br><%@ taglib prefix="cms" uri="<a href="http://www.opencms.org/taglib/cms" target="_blank">
http://www.opencms.org/taglib/cms</a>" %><br><%@ taglib prefix="form" uri="<a href="http://www.springframework.org/tags/form" target="_blank">http://www.springframework.org/tags/form</a>" %>
<br><br><cms:include property="template" element="head"/><br><br><h1>...</h1><br><br><div class="featureForm"><br><form:form><br><br> <form:errors path="*" cssClass="errorBox" />
<br><br> <cms:include file="base-info.jsp"/><br><br> <fieldset><br> <legend>Your data</legend><br><br> <label>Firstname</label><form:input path="firstname"/><br/>
<br> <label>Lastname</label><form:input path="lastname"/><br/><br><br> <cms:include file="/views/commons/address-form.jsp"/><br><br> </fieldset><br><br> <p>... privacy statements ...</p>
<br><br> <button type="submit">Send</button><br><br></form:form><br></div><br><br><cms:include property="template" element="foot"/><br><br>I'm currently doing an EJB3/Acegi/Spring/OpenCms 7 project. If you have
<br>further questions don't bother to ask. I'm a bit busy these weeks but it<br>is my plan to write an article about this as soon as the project is<br>finished.<br><br>best regards,<br>Sebastian<br><br>Andy Thompson schrieb:
<br><div><div></div><div class="Wj3C7c">> anybody have pointers on how to accomplish this?<br>><br>> currently we have a single web application. but the view portion of<br>> the application is divided up into springmvc and opencms. what i'd
<br>> like to do is to migrate the jsps currently being used by spring mvc<br>> into opencms. but i want to continue to use elements that we're<br>> currently using (spring:bind).<br>><br>> i'm relatively confident that i could put the jsps inside opencms -
<br>> and then just point the spring mvc application to where opencms<br>> exports it's jsps. but what i'd really like is to be able to reuse<br>> the header/footer templates inside opencms in my jsps.<br>
><br>> --<br>> Andrew R. Thompson<br>> Currently in N.Y *not* Consulting<br></div></div>> ------------------------------------------------------------------------<br><div><div></div><div class="Wj3C7c">>
<br>><br>> _______________________________________________<br>> This mail is sent to you from the opencms-dev mailing list<br>> To change your list options, or to unsubscribe from the list, please visit<br>>
<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br><br><br>_______________________________________________<br>This mail is sent to you from the opencms-dev mailing list
<br>To change your list options, or to unsubscribe from the list, please visit<br><a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Andrew R. Thompson<br>Currently in N.Y *not* Consulting