Login  Register

Re: Client-side exception with a select tree in a repeat

Posted by Alessandro Vernet on Feb 26, 2011; 8:36am
URL: https://discuss.orbeon.com/Client-side-exception-with-a-select-tree-in-a-repeat-tp3318752p3325666.html

Miro,

Thank you for the test case. We'll look into this and follow up here.
The tree is rarely used in repeats; there is some special
initialization code we need to run when an iteration is added, and
there might be a glitch somewhere. Hopefully this is a simple one to
fix. I'll follow-up here as soon as I have have an update for you.

Alex

On Tuesday, February 22, 2011, Miroslav Plese
<[hidden email]> wrote:
> Hello,
> I have been trying to implement a simple select control with a xxforms:tree appearance inside a repeat, but it seems that I may have run into a possible bug in Orbeon XForms. Attached to this post you should find a simple XForms page which can be run in the sandbox and offers two products with the associated services which may be selected. Products are stored in the products-instance and list of all available services and sub-services is in the services-instance. There's also a button which allows you to add another product.
> Now, all is well when the page is initially loaded - you can check or un-check services and the products-instance is correctly updated. However, if you try to add another product (thus modifying the products-instance's list of "product" nodes) a client-side code exception will occur saying "Cannot call method 'getRoot' of undefined".
> Orbeon engine version is TAG_OPS_3_8_0_201005141856.
> Thanks in advance, Miro
>

--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet