<div dir="ltr"><div><div><div>Hi Christian,<br><br></div>First let's talk about your second question.<br></div>Where do your external contents come from (database, file system) and what kind of data is it (XML, JSON, plain text)? Depending on that there are several ways to handle such content.<br>
</div><div>For example, each resource type (like xml content) in OpenCms has a loader that handles a request for that kind of resource. E.g. the XML content loader reads the template property of a resource and forwards the requests to this path, expecting that it is a JSP.<br>
</div><div>But there is also the possibility to register a request handler that acts on a URL path pattern, e.g. there is a permalink handler that handles all requests beginnging with "/permalink".<br><br></div>
<div>Regarding your first question, OpenCms is about managing and serving content. Having that said, it is of course possible to implement UI applications with OpenCms.<br></div><div>The most straight forward way would be to use plain Servlet and JSP technology (personally I use Servlets that serve as base class for JSPs in the OpenCms vfs - that way I can easily gain access to OpenCms internals in my servlet class). Integration of other frameworks like JSF or Struts with OpenCms is always a hassle.<br>
</div><div>But here also it depends: do you need access to OpenCms internals and vfs resources in your GUI? And one important question is: do you need to write back to OpenCms resources?<br></div><div>Would you like to integrate your system as a backend view in OpenCms or in the frontend?<br>
<br></div><div>Kind regards,<br>Stephan<br><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-08 16:59 GMT+02:00 Christian Bjørnbak <span dir="ltr"><<a href="mailto:cbj@touristonline.dk" target="_blank">cbj@touristonline.dk</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>We're about to rewrite the UI of our self developed system to get responsive webdesign.</div>
<div><br></div><div>At the same time we are replacing our old cms with opencms also to be able to RWD..</div>
<div><br></div><div>To avoid learning two new UI frameworks at the same time we're considering using opencms as the frontend of our own system..</div><div><br></div><div>Is this a viable solution?</div><div><br></div>

<div>Can opencms load external content and format like the internal xml content blocks?</div><div><br></div><div><br></div><div><br><div><div>Med venlig hilsen / Kind regards,<br><br>Christian Bjørnbak<br><br>Chefudvikler / Lead Developer<br>

TouristOnline A/S<br>Islands Brygge 43<br>2300 København S<br>Denmark<br>TLF: <a href="tel:%2B45%2032888230" value="+4532888230" target="_blank">+45 32888230</a><br>Dir. TLF: <a href="tel:%2B45%2032888235" value="+4532888235" target="_blank">+45 32888235</a><br>
</div>
</div></div></div>
<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/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>
<br>
<br>
<br>
<br></blockquote></div><br></div>