Re: Re: FormRunner on WebLogic Portal
Posted by
Erik Bruchez on
Feb 15, 2011; 7:01pm
URL: https://discuss.orbeon.com/FormRunner-on-WebLogic-Portal-tp3300867p3307428.html
Kalaiselvan,
It seems your original message did not make it to the list. For reference it is here:
We have not tested our portlet with WebLogic Portal. To answer your question:
"in the OrbeonProxyPortlet, the response.contentType is not set. Please let me know whether you intentionally not set the contentType or any other reason behind this."
That's not intentional. At first I thought that this was due to the fact that we don't call setContentType() directly but we call setProperty("Content-Type", …) if Orbeon returned a content type, which it should. See:
It was possible that WebLogic did not handle this while Liferay does. The portlet spec is a bit vague on this: it says this is meant to translate into headers, but does not say specifically that setting the "Content-Type" property should be equivalent to setContentType(), although I would expect this to be the case.
However, I also notice that doView() does not call propagateHeaders(), and that seems wrong.
I committed this change, which might help:
Could you get the next PE nightly (up in a few minutes) and let us know if this helps?
--
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