Questions tagged [xbl]

XBL is a declarative XML language which implements the publish/subscribe pattern. It is used to build extension for XUL applications, including the Firefox browser and the Komodo editor.

XML Binding Language (XBL, sometimes also called Extensible Bindings Language) is a language for describing bindings that can be attached to elements in other documents. The element that the binding is attached to, called the bound element, acquires the new behavior specified by the binding.

81 questions
2
votes
0 answers

How to add tooltip text to element in XUL

I have the following XBL document. %commonDTD; …
vipin katiyar
  • 3,437
  • 7
  • 24
  • 32
1
vote
1 answer

How to build a dynamic URL in javascript based on an Orbeon Xforms control value

I'm trying to create an Orbeon Forms XBL wrapper around a javascript media player control for inclusion in an XForms application. The URL of the media file must be constructed dynamically based on a value of another control (e.g xforms:input) also…
ncrofts
  • 11
  • 2
1
vote
1 answer

What would cause Orbeon to produce a duplicate xmlns:xbl prefix in XHTML mode?

I'm working on an application that embeds Orbeon XForms renderer. I'm using this to generate XHTML rather than HTML. We have a form that uses 2 custom XBL components. The XHTML that we pass to orbeon is appears to be correct. But the resulting XHTML…
EdC
  • 2,309
  • 1
  • 17
  • 30
1
vote
1 answer

orbeon: applying xslt transform in xbl on bound document

In Orbeon Forms I need to create a component (using XBL) that when bound to an instance like paragraph 1 paragraph 2 with italics part rest of paragraph 2 creates an…
Martijn Slob
  • 113
  • 1
  • 6
1
vote
1 answer

XBL doesn't work well on panel?

I have found that the xbl element won't init before it shows up. So when I add an xul box element to panel,and bind it to my xbl ,I can't use like this :box.xblMethod(),FF will throw xblMethod is undefined. The question is how can I know when I can…
Welling
  • 35
  • 7
1
vote
2 answers

how to add/include js file in xbl?

I've read around and found techniques to add js file inside XBL, but the techniques don't work. I tried to declare the tag: <'script src='test.js''> and <'script src='chrome://content/test.js '>, but none worked. The method inside the test class is…
user375065
  • 57
  • 5
1
vote
3 answers

Why this script is not running?

I'm trying to add a script to the beggin of my XBL file, but even the following test is not running, any idea why?
The Student
  • 27,520
  • 68
  • 161
  • 264
1
vote
1 answer

How to implement datatable xbl control to Orbeon Form Builder Xform

I am new to xforms - using Orbeon Form Builder 3.8 PE. I have read about advanced xbl controls like 'Alert Dialog' and 'Datatable'. These would be very useful in my application, but I cannot bridge my knowledge gap as to how to implement them. …
Bill Dolan
  • 359
  • 1
  • 4
  • 12
1
vote
1 answer

Hide and show other controls based on the drop down value using Orbeon Builder

How to create form using Orbeon builder, where user can select value from a drop down and based on the selection the user can see other controls get rendered (probably hidden/shown).
HybrisHelp
  • 5,518
  • 2
  • 27
  • 65
1
vote
0 answers

Orbeon form submit to third party system

I have a requirement like this, where I need to submit the same form data to third party system. I have tried to call send in save action as below. then send( uri = "http://localhost:8080/restcall/form", replace = "none", method …
1
vote
1 answer

How to create Orbeon custom control XBL with predefined visibility, control name, default value?

I have created a custom control (hidden text box with some predefined value), where I want to set visibility=false(), controlName="Mycustom", default value="This is my custom control" in XBL file. So that whenever we use that custom control from…
1
vote
0 answers

How to use a binding instead of a row in a grid

In a Xulrunner application I'm working on a grid with a dynamic number of rows. All the rows are going to look similar with same functionality. For this reason I would like to create and reuse an XBL binding, that would represent a row in my grid.…
Sergey Avdeev
  • 910
  • 1
  • 8
  • 16
1
vote
1 answer

Properties for xbl file

I created my own control and I had to hardcode some information in xbl file. Here is the code of my control:
piechos
  • 123
  • 2
  • 10
1
vote
0 answers

How can I let elements inside a xul tab element receive mouse events?

Considering this xul markup: ... I am unable to select the with my mouse. The shields off any mouse event to child nodes, it seems.…
Codifier
  • 354
  • 1
  • 14
1
vote
1 answer

Orbeon : One submission after another

In my form file I have a submission load-data-submission which fetches some data from database, it is called on xforms-ready : ...
pzeszko
  • 1,989
  • 18
  • 29