extending formbuilder .. tutorials?

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

extending formbuilder .. tutorials?

DL
This post was updated on .
Are there any tutorials for building and adding components to formbuilder?

How are custom components such as controls added to the left menu?


[p.s.]

I've now found this .. Custom XML.   is this where to start?

http://orbeon-forms-ops-users.24843.n4.nabble.com/Form-Builder-quot-Advanced-gt-Custom-XML-quot-help-td4620806.html
Reply | Threaded
Open this post in threaded view
|

Re: extending formbuilder .. tutorials?

Erik Bruchez
Administrator
No tutorial per se, but you can control the toolbox via the properties:

http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-form-builder#TOC-Toolbox

You can see the values of the properties controlling the default toolbox here:

https://github.com/orbeon/orbeon-forms/blob/master/src/resources-packaged/config/properties-form-builder.xml

Each entry in a property refers to an XBL file, which contains one or
more XBL components. The components have metadata which lets Form
Builder know how to insert the control into a form. Here is an
example:

https://github.com/orbeon/orbeon-forms/blob/master/src/resources-packaged/xbl/orbeon/attachment/attachment.xbl

As to how to create XBL components, we have a guide here:

http://wiki.orbeon.com/forms/doc/developer-guide/xbl-components-guide

It's not complete but it's a start, and you can look at existing XBL
components for further inspiration.

Note that we have made some improvements to XBL components in the
upcoming 4.0, which make it easier to do some common operations.

-Erik

On Tue, May 29, 2012 at 6:08 AM, DL <[hidden email]> wrote:

> Are there any tutorials for building and adding components to formbuilder?
>
> How are custom components such as controls added to the left menu?
>
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/extending-formbuilder-tutorials-tp4655153.html
> 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
>


--
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