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
1
vote
1 answer

Firefox extension convert to restartless with XBL

I'm developing a Firefox extension and need some help with it. My extension is overlayed and uses XBL binding to add new items to the user interface. Is it possible to convert this extension to a bootstrap type? I'm trying to add a button to the…
mortalis
  • 2,060
  • 24
  • 34
1
vote
1 answer

Dynamic way to unbind dynamically binded XBL

I am applying a binding like this in a restartless add-on: var css = '.findbar-container { -moz-binding:url("' + self.path.chrome + 'findbar.xml#matchword") }'; var cssEnc = encodeURIComponent(css); var newURIParam = { aURL: 'data:text/css,' +…
Noitidart
  • 35,443
  • 37
  • 154
  • 323
1
vote
1 answer

getElementById a XBL bound XUL element

I'm trying to access a XUL element which was XBL bound. I want to controll it from the javascript. This is the binding.
malintha
  • 176
  • 3
  • 18
1
vote
0 answers

How can I modify anonymous element attributes in XUL?

I'm using the autocomplete textbox element in a Firefox extension, and I have the showcommentcolumn attribute set to true. As a result, two columns appear in the autocomplete output results. Unfortunately, the width of the second column is too wide.…
Jonah Bishop
  • 12,279
  • 6
  • 49
  • 74
1
vote
1 answer

Translate the labels in xbl component

I have a form built with Form Builder, containing an XBL component that is a little form with just xforms labels and inputs. I want to display the form (and by the way the component) in two languages (FR: French, and NL: Dutch), so in the XBL, I…
trin86
  • 157
  • 2
  • 2
  • 8
0
votes
1 answer

In XBL, what is the difference between xbl:attr and xbl:text?

I am using Orbeon Forms, and here is some sample code from xbl-simple.xhtml XHTML with XBL Component I am trying to understand the difference between (xbl:text=foobar vs…
BinnyG
  • 601
  • 9
  • 19
0
votes
1 answer

Orbeon XBL and xxbl:transform

I'm still in the early stages of understanding and learning to use XBL components. I am experimenting with using a stylesheet to generate an HTML "report" on the contents of a node in the main instance (putting aside for now the issue of updating it…
0
votes
1 answer

How to use a restful request to populate an XBL control?

I hope some of you XForms gurus can help. I have a large XFroms model that is populated via a bunch of xbl controls. One of the controls needs to use the XML that is retrieved from a restful url which returns me the XML for the model. I assume a…
Faithypop
  • 183
  • 1
  • 2
  • 11
0
votes
1 answer

Orbeon Forms - Date Picker Changes to Wrong Date

When a user enters an invalid date into the date picker field for example, 99/99/99999 and the user clicks away causing the input to loose focus the date changes to 7/6/99999 which is undesirable as this will pass date validation and not strong…
clD
  • 2,523
  • 2
  • 22
  • 38
0
votes
1 answer

How do I convert an extension which uses XBL to use a custom element?

I have an overlay Thunderbird extension. It uses XBL to alter the Help menu in Thunderbird’s menu bar, where it replaces the original menu items with a single "Hello, World!" menu item. As XBL is on its way out, I would like to update the extension…
James Hibbard
  • 16,490
  • 14
  • 62
  • 74
0
votes
1 answer

How to get value from form builder as label of trigger?

I'm working on custom control in Orbeon. In form builder, in settings there is a field called buttonName. Its value is supposed to show as a label of button visible in form runner. I'm moving an old file that supposedly worked on old version of…
MiKk
  • 1
0
votes
0 answers

Converting .fbx to .XBL

Attempting to convert a 3D object to a ".xbl" to upload to an external application however having no joy with either Autodesks old FBX Converter or my own research... Have tried Autodesk FBX Converter 2013, Attempted to install XNA studio on win 10,…
0
votes
1 answer

Why this handler is not restricted to CTRL+L?

I have a XBL handler with the following signature: As you see, it should be fired when the user press CTRL+L. But, for some reason, it fires when the user press CTRL+. Why? And how…
The Student
  • 27,520
  • 68
  • 161
  • 264
0
votes
2 answers

Best approach to avoid javascript's “this” mistakes in XBL

Talking about XBL is not exactly talking about javascript. So I'll create this question that's related to this one, but now about XBL, where I'm not the creator of the root javascript code, but just of the methods and event handlers inside the…
The Student
  • 27,520
  • 68
  • 161
  • 264
0
votes
2 answers

Calling a method from XBL

From a XBL method, when I need to call another method, I do like:
The Student
  • 27,520
  • 68
  • 161
  • 264