We configured Orbeon forms as a JSR 168 portlet in Weblogic 8.1 portal. I am able to get the initial view, but javascript links are pointing to web app context. Here is an example <div class="ops-portlet-div"><link rel="stylesheet" href="/xforms/config/theme/orbeon.css" type="text/css"><link rel="stylesheet" href="/xforms/ops/javascript/jscalendar/calendar-blue.css" type="text/css"><link rel="stylesheet" href="/xforms/config/theme/xforms.css" type="text/css"><script type="text/javascript" src="/xforms/ops/javascript/jscalendar/calendar-min.js"></script> "xforms" is the context for entire portal and with in that there is Orbeon portlet. These links are supposed to be pointing to portlet context with in portal application. Also when you submit the Xforms data, how is the form submission handled. Is it handled by Orbeon portlet or do I need to configure a separate Orbeon servlet to handle Xform submitted data. So I need to configure any servlets and mappings for Orbeon when deploying as a portlet. Thanks in advnace - Sree -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Sree,
> We configured Orbeon forms as a JSR 168 portlet in Weblogic 8.1 > portal. I am able to get the initial view, but javascript links are > pointing to web app context. Here is an example > <div class="ops-portlet-div"><link rel="stylesheet" > href="/xforms/config/theme/orbeon.css" type="text/css"><link > rel="stylesheet" > href="/xforms/ops/javascript/jscalendar/calendar-blue.css" > type="text/css"><link rel="stylesheet" > href="/xforms/config/theme/xforms.css" type="text/css"><script > type="text/javascript" > src="/xforms/ops/javascript/jscalendar/calendar-min.js"></script> > > "xforms" is the context for entire portal and with in that there is > Orbeon portlet. These links are supposed to be pointing to portlet > context with in portal application. When you deploy a "portlet app", you are also deploying a regular web app, which must have a context. What is that context in your case? All resources such as CSS, JavaScript, etc. are loaded through a servlet, because that's the way JSR-168 works: resources cannot go directly through a portlet, it's simply not possible with JSR-168. > Also when you submit the Xforms data, how is the form submission > handled. Is it handled by Orbeon portlet or do I need to configure > a separate Orbeon servlet to handle Xform submitted data. The answer is "it depends". Ajax requests go through a servlet, but certain submissions like with replace="all" go through the portlet. > So I need to configure any servlets and mappings for Orbeon when > deploying as a portlet. The answer is yes, you MUST configure the Orbeon servlets in your portlet app. This is not optional. But if you haven't changed the standard web.xml that comes with Orbeon Forms, those should already be configured. -Erik -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |