A few comments to the code.

The "none" state is the initial state on object creation. When the object is
created, we do not need to make request if the name comes as a parameter.

The "renamed" state is the default state.
And the "renaming" state is the state when the object is being renamed.

These states make cool stuff like this possible:

        this.__controller.setIconOptions({converter : function(data) {
            if (data == "renaming") {
                return "irequest_dj/icons/updating.gif";
            } else if (data == "deleting") {
                return "irequest_dj/icons/deleting.gif";
            } else {
                return "irequest_dj/icons/playlist.png";
            }
        }});

Cheers,
Gleb
-- 
View this message in context: 
http://www.nabble.com/Setting-a-property-in-qooxdoo-tp24931267p24973628.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to