Posted by
Alessandro Vernet on
URL: https://discuss.orbeon.com/Separate-deployment-FilesystemResourceManagerFactory-CSS-problem-tp1560229p1571438.html
Stessy,
There you go; that was the missing part. Assuming you have your own
app deployed under
http://localhost:8080/myapp/, requests to
http://localhost:8080/myapp/orbeon/* are sent to Orbeon Forms so your
page can access resources that are needed by the XForms engine (XForms
server handling Ajax requests, CSS, JavaScript...). But you are not
expected to use this as a simple proxy to Orbeon Forms, with your
application in fact residing inside Orbeon Forms.
When you use Orbeon Forms in separate deployment mode, you are
expected to have your XForms stored in your app, not in the Orbeon
Forms resource directory. And the reason you want to use separate
deployment is to generate XForms from a servlet, or JSP, or some Java
framework.
1) If you just have XForms files on disk, then you don't need separate
deployment; you just deploy Orbeon Forms, and access your form with
http://myDomain.org/orbeon/epss-forms/CP-IP/A1 (without "epss" in the
URL). This seems to be the case you're in.
2) If you use separate deployment, then you access your form with
http://myDomain.org/epss/epss-forms/CP-IP/A1.xhtml (without "orbeon"
in the URL). If A1.xhtml is just a static file, there is no benefit in
doing this, and you'd just use #1. However you'll want to do this if
you A1 is a JSP dynamically generating XForms. Then the URL will be
http://myDomain.org/epss/epss-forms/CP-IP/A1.jsp.
Does this make sense?
Alex
On Fri, Feb 26, 2010 at 10:33 AM, stessy <
[hidden email]> wrote:
--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/My Twitter:
http://twitter.com/avernet--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet