Dasaev Cerqueda | 7 Apr 2005 17:58
Picon

Re: Accessing Buttons, Labels and Panels

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

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

Gmane