hi, i want to now if qooxdoo have a function like PHP include, i want
to do  something like this:

var barView = new qx.ui.pageview.buttonview.ButtonView;
barView.addToDocument();
        this._states = {};
        this._createPage(barView, "Page1", "page1.png", this._page1);
        this._createPage(barView, "Page2", "page2.png", this._page2);
        
_createPage : function(barView, title, iconUrl, callback, scrolls)
{
<i take this function from ShowCase demo>
},

_page1: function()
    {
                include("page1.js"); <--- the qooxdoo function like PHP include 
:)
    },

_page2: function()
    {
                include("page2.js"); <--- the qooxdoo function like PHP include 
:)
    }
});

i want this because is to dificult to me work everything in the same
file, like Showcase Demo.

Grettings
insulae

-- 
Juan Matias Granda
http://www.insulae.com.ar
GPG FINGERPRINT:459C 4A2D 330C CB8C 0C44 0C3A 572C CBCA 5457 508B

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to