Did you look at the databinding features of Qooxdoo? That might also be
useful for the case you describe.

Cheers,
Fritz

On Tue, 12 Oct 2010, Mihaela Ciocoiu wrote:

>
> Hello everybody,
>
> I have a QX project which contain 2 classes: Application.js and
> RemoteDataModel.js.
> In the main method from Application.js file I have the following code:
>
> var doc = this.getRoot();
> var txtFirstName=new qx.ui.form.TextField();
> doc.add(txtFirstName, {left: 110, top: 50});
>
> How can I access the value of the txtFirstName field from RemoteDataModel.js
> class?
>
> Thanks in advance,
>
> Mihaela Ciocoiu.
>

-- 
Oetiker+Partner AG              tel: +41 62 775 9903 (direct)
Fritz Zaucker                        +41 62 775 9900 (switch board)
Aarweg 15                            +41 79 675 0630 (mobile)
CH-4600 Olten                   fax: +41 62 775 9905
Schweiz                         web: www.oetiker.ch

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to