[opencms-dev] OpenCms and Spring MVC - preview and direct edit of resources

Tim Howland th at wdogsystems.com
Mon Jul 9 06:28:16 CEST 2012


I have a hazy recollection of a similar issue in a jsf-based site we built. I believe we solved it with apache mod_rewrite, using a Pass-Through (PT) rewrite- this rewrote the url prior to handing it off to mod_proxy_ajp for handling.

Sent from my iPad

On Jul 8, 2012, at 11:12 PM, Mathias Lin <mail at mathiaslin.com> wrote:

> We integrated SpringMVC in OpenCms both with OpenCms 7.0.4 and 8.0.4, here's a demo project that you can take a look at, esp. the readme file in there, maybe's there's something helpful in it. http://www.sendspace.com/file/x2sipm
> We didn't have any problems with the direct edit back then.
> 
> - Mathias
> 
> 
> On Mon, Jul 9, 2012 at 9:14 AM, Steve Bryan <steve.bryan at shinetech.com> wrote:
> Hi
> 
> We have an OpenCms/Spring MVC integration, with controllers forwarding to OpenCms xmlpage resources for the view.
> 
> When clicking directly on the resources on the GUI, and using direct edit, the resulting page preview breaks since the URL of the controller differs from the OpenCms resource url. Has anyone experienced this and could suggest a fix or work around?
> 
> Thanks
> -- 
> Steve Bryan
> Senior Consultant
> Shine Technologies
> Flybuys Loyalty
> www.shinetech.com
> 
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
> 
> 
> 
> 
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
> 
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20120709/54354121/attachment.htm>


More information about the opencms-dev mailing list