Tree view

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Tree view

redo
I tried to set up Orbeon form with tree - xf:select1 appearance="tree". Using
Orbeon Demo form builder I created a page with tree and it is working in
Demo environment (http://demo.orbeon.com/demo/fr/aaa/bbb/new). The same
XForm code in my local Tomcat environment (latest Orbeon CE) is not working
- the tree is not rendered at all.

If I check working demo HTML, then there are some additinal JS after
extension functions (after sections /*! Extension
'jquery.fancytree.wide.min.js' */, etc.) and there is minimized code line
a.declareCompanion("fr|tree-select1",b); which I believe registers the
component. The same form code my in local Tomcat instance does not generete
this block in JS files.

In Orbeon source code is file TreeSelect1.scale which I believe is converted
to JS and then included in rendered HTML JS files.

Also in tree-select1.xbl strange I comment:

NOTE: When using this component outside of Form Runner, the supporting
JavaScript must be explicitly included.

after:

<xbl:script src="/xbl/orbeon/tree-select1/fancytree/jquery-ui.min.js"/>
<xbl:script
src="/xbl/orbeon/tree-select1/fancytree/jquery.fancytree-all.min.js"/>

What must be done to be able to render the tree?

--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: Tree view

Alessandro  Vernet
Administrator
I think this question was crossposted on Stack Overflow, where I already
replied, so I suggest we continue the discussion there. And of course, just
let me know if I missed something and this is about something different.

https://stackoverflow.com/questions/49168746/tree-is-not-working

Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet