Login  Register

Re: Problem with OPS 3.6 (xforms:submission element)

Posted by AlecL on Mar 16, 2009; 9:24pm
URL: https://discuss.orbeon.com/Problem-with-OPS-3-6-xforms-submission-element-tp25204p25206.html

I just stumbled upon this bug and it is unfortunately blocking further progress for me.  Having my portlet contained to a single "page" isn't an option for what I'm building.

Thus, after inspecting the code a bit, I'm willing to contribute a solution.  Perhaps somebody could point me to the code change that introduced this bug?

Alec

PS is nobody using Orbeon in a portal?  This seems to be a massive defect that's almost a year old..

Alessandro Vernet wrote
On Fri, May 2, 2008 at 12:12 AM, Senthilvel <senthil.xforms@gmail.com> wrote:
>   We are using liferay 4.2.1 and Ops Xforms 3.6. The portlet application
> behaves as web application when we use   <xforms:submission..../> element

Recently, we haven't been using the portlet functionality much here,
but I remember that at some point a bug was introduced which broke the
<xforms:submission replace="all"> and <xforms:load> in portlets. See
below the bug for the <xforms:load>.

http://forge.objectweb.org/tracker/?group_id=168&atid=350207&func=detail&aid=307940

For now you can either make sure that your portlet are all in "one
page", i.e. that they only update by sending <xforms:submission
replace="instance"> to the server. You can maybe use an
<xforms:switch> instead of having different pages.

The alternative is for you to investigate in the Java code of Orbeon
Forms what goes wrong, and why the <xforms:submission replace="all">
and <xforms:load> take you out of the portal. The fix might be simple
(as this clearly used to work), but getting "into the code" might be a
somewhat more involved.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet


--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws


-----
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet