xxforms:tree collapse-expand

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

xxforms:tree collapse-expand

bsteuhl
Currently on select controls with appearance attribute of xxforms:tree, the tree only expands or collapses if users click on the + or - symbol but not the icon (folder) or node text. Is there a way to have expand/collapse on the icon and text as well. Regards, Brian BTM Software Solutions, LLC
Reply | Threaded
Open this post in threaded view
|

Re: xxforms:tree collapse-expand

Alessandro  Vernet
Administrator
Hi Brian,

Currently you can't. There is also no way to programmatically, i.e.
from XForms, open or close a node after the tree has been rendered on
the client side. (The xxforms:open attribute allows you to control
this before the tree is rendered.) So you can't, from XForms,
intercept xforms-value-changed events and open/close the corresponding
branch.

If this is really something you need, you'll have to write some
JavaScript code directly against the YUI tree API.

Alex

On Sat, Dec 22, 2012 at 7:37 AM, bsteuhl <[hidden email]> wrote:

> Currently on select controls with appearance attribute of xxforms:tree, the
> tree only expands or collapses if users click on the + or - symbol but not
> the icon (folder) or node text. Is there a way to have expand/collapse on
> the icon and text as well. Regards, Brian BTM Software Solutions, LLC
> ________________________________
> View this message in context: xxforms:tree collapse-expand
> 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
>


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