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
5
votes
1 answer

Is "indie" app development for Xbox 360 possible?

Microsoft has introduced App Hub as a publishing portal for WP7 and Xbox 360. However, for the Xbox 360, there only seems to be support for adding and Xbox Live Indie Game project. Given the recent introduction of apps and the app marketplace on…
Håvard S
  • 23,244
  • 8
  • 61
  • 72
4
votes
2 answers

Xul element is not showing back after set it "hidden"

Updated Here's an even simpler example showing the failure (it should hide the img after press "z" and show it after press "x"): My test.xul:
The Student
  • 27,520
  • 68
  • 161
  • 264
4
votes
1 answer

How do I get -moz-binding to work for ellipsis with data:text/xml?

We have a lot of elements on the project I am working on that use ellipsis styles, which, of course, work fine with pure CSS in all major browsers but FireFox. We implemented the -moz-binding fix for that which references the xml file with the…
Lindsay
  • 856
  • 1
  • 9
  • 13
3
votes
0 answers

CSS linking XBL just removes methods of the tag

I want to extend the XUL browser tag with some methods but whenever I make the link in CSS it just removes methods from the tag. I can't tell if this is because the URI is wrong, or if the XBL file is wrong. Even the simplest XBL does this so it…
Chris Root
  • 617
  • 6
  • 16
3
votes
1 answer

How can I get started developing my own XBL component with Orbeon Forms?

I am very familiar with web technologies (HTML, JavaScript, CSS), but not with XBL and XForms. I would like to package a "widget" inside an XBL component, so it can be exposed to Form Builder, and used by form authors creating forms with Form…
avernet
  • 30,895
  • 44
  • 126
  • 163
2
votes
1 answer

Do moz-behaviors work in Firefox 10?

I downloaded an example of moz-behaviors usage but it doesn't work in Firefox 10. Do I need to change something to make it work?
vesna
  • 403
  • 1
  • 3
  • 13
2
votes
1 answer

Can an Orbeon event in an XBL be dispatched from Javascript?

Orbeon version: Orbeon Forms 3.8.0.201005270113 I have the following code in a Javascript file. This code is executed, but it seems like the model in the XBL is not found. ORBEON.xforms.Document.dispatchEvent("model-name", "event-name"); Here is…
mstrom
  • 1,655
  • 3
  • 26
  • 41
2
votes
1 answer

XForms: How do I use a select1 to render a radio group with NO item selected

I am using XBL to render various controls on my XForm. One of these is a radio group with 4 options. I am using appearance="full" and an itemset for the data itself. However, when the radio group is rendered, the last option is selected. I need to…
Faithypop
  • 183
  • 1
  • 2
  • 11
2
votes
1 answer

Is there a way to create a private method in XBL?

Is there a way to create a private method in XBL? --update The only documentation on MDN says nothing about private methods, but it's a wiki that's not always complete..
The Student
  • 27,520
  • 68
  • 161
  • 264
2
votes
1 answer

How to extend a Xul button and make it focusable?

When I extends this button in my XBL: how do I make it a focusable button?
The Student
  • 27,520
  • 68
  • 161
  • 264
2
votes
2 answers

Why this XBL example is not working?

This example is from this Mozilla's page. main.xul
The Student
  • 27,520
  • 68
  • 161
  • 264
2
votes
1 answer

Why when I add the CSS file my list gets rid of "YouTube" item?

main.xul
The Student
  • 27,520
  • 68
  • 161
  • 264
2
votes
0 answers

Restartless add-on upgrade: reload XBL element in CustomizableUI widget

I've made a restartless add-on that is a CustomizableUI widget based on custom XBL elements. For an upcoming version I have altered the main XBL element . However, when I test the upgrade and inspect the markup with the DOM Inspector, the…
Codifier
  • 354
  • 1
  • 14
2
votes
0 answers

Change 'command' in a binding using xbl:inherits

I'm making an application that runs in XULRunner on Windows. There I created the browser-toolbar binding that will be used in different places. While the binding needs to look the same it should execute different commands on button clicks. I'm…
Sergey Avdeev
  • 910
  • 1
  • 8
  • 16
2
votes
1 answer

To anonymous element add pseudo element and cursor style and event listeners

I have this anonymous element in the toolbarbutton xul element. It's a xul:image. I want to give it a pseudo element (:before, :after). And on hover I want to give it cursor:pointer style. I also want to addEventListener('click', ...) it. However…
Noitidart
  • 35,443
  • 37
  • 154
  • 323
1
2 3 4 5 6