Posted by
Stian Sigvartsen on
URL: https://discuss.orbeon.com/Separate-portlet-app-deploy-OrbeonPortletXFormFilter-getContent-tp2955736.html
Hi
I've been trying to the separate portlet app deployment method to work
(
http://wiki.orbeon.com/forms/doc/developer-guide/xforms-separate-deployment-with-portlets).
However, when the OrbeonPortletXFormsFilter processes the response from
my .jsp, it doesn't appear to find any content. This is reflected by
responseWrapper.getContent() returning null or empty string (I used
Eclipse debugger to determine this is the issue).
The code snippet which evaluates this from
OrbeonPortletXFormsFilter.doFilter() is:
// Set document if not present AND output was intercepted
final boolean isEmptyContent;
if
(renderRequest.getAttribute(OrbeonXFormsFilter.RENDERER_DOCUMENT_ATTRIBU
TE_NAME) == null) {
final String content = responseWrapper.getContent();
if (content != null) {
renderRequest.setAttribute(OrbeonXFormsFilter.RENDERER_DOCUMENT_ATTRIBUT
E_NAME, content);
}
isEmptyContent = OrbeonXFormsFilter.isBlank(content);
} else {
// Assume content is not blank
isEmptyContent = false;
}
After this code runs, isEmptyContent is set to false and hence the
OrbeonTrampolineServlet is never used to replace xforms markup with
HTML.
Has anyone encountered this problem before?
I'm using an Orbeon xforms nightly build from the end of August.
I've spent a lot of time researching this issue with no luck. I
encountered a forum post describing the same problem, but no solution
was posted
(
http://orbeon-forms-ops-users.24843.n4.nabble.com/OrbeonXFormsFilter-never-forwards-to-Orbeon-td931256.html).
I would really appreciate any help anyone can offer.
Kind regards,
Stian Sigvartsen
--
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