Re: [luxor-xul-user] Accessing Buttons, Labels and Panels
Status: Beta
Brought to you by:
vamp201
From: Dasaev C. <da...@gm...> - 2005-04-07 15:58:54
|
well, my problem is the same than Thierry Bertschi: >Hi! >As an exercice, I wanted to implement the "business-logic" of the calculator example >shipped in Ramses package (is it supposed to work already? In any case, in my >environment, I get the GUI working, but not any calculating function). >So, I managed to bind an action to a button (by implementing a subclass of XulAction), >but then I wanted to "echo" the button value on the calculator display. >For that, I tried to get a handle on the corresponding XTextField, and was looking for >something like: >text = (XTextField)XulManager.getXulContainer(displayId) >and then, I would do a text.setText() >But I didn't find how to retrieve a Xul node from the Xul tree referenced by it's ID???? >Am I completely missing something? Is it not the correct way to do? >A part from that, XUL looks very powerful and simple (at least the GUI definition syntax). >I'd be very keen to be able to use it. >Cheers, Thierry |