Control graphical appearance of XForms controls and widgets?

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

Control graphical appearance of XForms controls and widgets?

Helsing, Patrik
Control graphical appearance of XForms controls and widgets?

Hi all,

Do anyone know if and where I can find more elaborate documentation and/or user guides on how to use
XForms widgets and or controls? A lot of sections in Orbeon documentation is "TODO"...
(Widgets meaning what come with xmlns:widget="http://orbeon.org/oxf/xml/widget" Are there others?)

I want to know more about the options on how I can control the appearance and visibility of the graphical
elements by attributes or other binding.

For example on how to control the visibility of an xforms:group element with appearance="xxforms:fieldset".
I would like the group to be hidden if its child elements aren't relevant. I know I can use "bind" to control
the relevance of model items, but not how to do it for groups.

Thanks!
/Patrik

 
This communication, including any attachments, may contain information that is proprietary, privileged, confidential or legally exempt from disclosure. If you are not a named addressee, you are hereby notified that you are not authorized to read, print, retain a copy of or disseminate any portion of this communication without the consent of the sender and that doing so may be unlawful. If you have received this communication in error, please immediately notify the sender via return e-mail and delete it from your system.

--
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
Reply | Threaded
Open this post in threaded view
|

Re: Control graphical appearance of XForms controls and widgets?

Erik Bruchez
Administrator
Patrick,

> Do anyone know if and where I can find more elaborate documentation  
> and/or user guides on how to use
> XForms widgets and or controls? A lot of sections in Orbeon  
> documentation is "TODO"...
> (Widgets meaning what come with xmlns:widget="http://orbeon.org/oxf/xml/widget 
> " Are there others?)
>
> I want to know more about the options on how I can control the  
> appearance and visibility of the graphical
> elements by attributes or other binding.
At the moment we have some documentation here:

   http://wiki.orbeon.com/forms/doc/developer-guide/xforms-controls

We realize it is not complete yet, and in fact I put a few more TODOs  
in that document ;)
> For example on how to control the visibility of an xforms:group  
> element with appearance="xxforms:fieldset".
> I would like the group to be hidden if its child elements aren't  
> relevant. I know I can use "bind" to control
> the relevance of model items, but not how to do it for groups.
>
You can also bind a group to a node, and relevance will be honored:

   <xforms:bind nodeset="my-node" relevant="..."/>

   <xforms:group ref="my-node"> ...

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.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