Posted by
Tambet Matiisen on
Dec 16, 2010; 11:50am
URL: https://discuss.orbeon.com/Accessing-summary-columns-and-form-rendering-on-JSP-tp3090455p3090702.html
Hi, K!
1. I suppose you could access persistence layer directly. See:
http://wiki.orbeon.com/forms/doc/contributor-guide/form-builder-integration-notes#TOC-Persistence-API
and
http://wiki.orbeon.com/forms/doc/contributor-guide/form-builder-integration-notes#TOC-Data-exchange-format
Or you could implement your own persistence layer, which exposes
certain fields as columns in database table.
2. For embedding Orbeon in your page you have many options:
a) just use OrbeonXFormsFilter in your app, which preprocesses
XForms tags in your JSP-s output. If there isn't any, then it just
passes everything through, with one caveat - everything must be XML.
XHTML is fine. You can put your XForms-producing JSPs into different
directory than other JSPs, and apply OrbeonXFormsFilter only to that
directory.
b) include Orbeon form in your page with iframe.
c) use JSR-168/JSR-268 portlet, if your application server supports
it. See:
http://wiki.orbeon.com/forms/doc/developer-guide/admin/deployment-portlet
d) use remote portlet method. As I understand it, this doesn't
imply, that Orbeon is deployed in separate server or that your
application server must support portlets. It just embeds Orbeon form
in your HTML page and rewrites all URL-s so that AJAX calls made by
Orbeon work.
http://wiki.orbeon.com/forms/doc/developer-guide/xforms-remote-portlet-deployment
e) use AJAX portlet method.
http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-xforms#TOC-Ajax-portlet
Choice depends on you application, application server and
familiarity with the technology, I suppose.
You could use workflow send button for sending submission results to
your JSP. See:
http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-form-runner#TOC-Workflow-send-button
Hope it helps.
Tambet
On 16.12.2010 10:21, ktangirala wrote:
Hi,
I am trying to build a custom JSP page which embeds the summary
log layout as designed in the Orbeon forms. I can't use the orbeon
form runner's summary URL directly for business reasons. What I am
trying to understand is
1. When I design the form in Form Builder, I mark some controls as
"Show in Summary" so that they appear in the summary log when I
open the published form. In my case, I need to have access to
those columns marked for summary so that I can populate that
information in my JSP page's HTML table. 2. In the published form,
I need a way to embed the designed form as is, while retaining
control over the "Save" and Validation capabilities provided by
Orbeon. This is again with respect to building my custom JSP that
shows the form and I have control on how I want to submit the form
with my own FORM action. Hope someone can answer! Thanks,
K
View this message in context: Accessing
summary columns and form rendering on JSP
Sent from the Orbeon
Forms (ops-users) mailing list archive at Nabble.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
OW2 mailing lists service home page:
http://www.ow2.org/wws