Login  Register

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:

http://orbeon-forms-ops-users.24843.n4.nabble.com/FormRunner-on-WebLogic-Portal-td3300867.html

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:

  http://goo.gl/O3x9J

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.

  http://goo.gl/D1le2

I committed this change, which might help:

  https://github.com/orbeon/orbeon-forms/commit/340d9de33df65a218f8e12d6b894f536dde2a49a

Could you get the next PE nightly (up in a few minutes) and let us know if this helps?

-Erik

On Sun, Feb 13, 2011 at 9:47 PM, Kalaiselvan <[hidden email]> wrote:

Can you please any one help me on this to fix in WebLogic Portal?

Regards
Kalaiselvan
--
View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/FormRunner-on-WebLogic-Portal-tp3300867p3304481.html
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




--
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