1. #1
    Sencha User swarnendude's Avatar
    Join Date
    Jul 2009
    Location
    Kolkata, India
    Posts
    117
    Vote Rating
    1
    swarnendude is on a distinguished road

      0  

    Default Create window and start menu link dynamically

    Create window and start menu link dynamically


    Hi All,

    I want to create a window dynamically with extjs desktop application. I was working with a number of applications which can be installed automatically by a single button click. All the applications are displayed in grid and all are having a "install" button with it. I want after installation, that application will open in a iframe in a extjs desktop window and a link to that installed application will be added in the start menu (just as we did in normal desktop application after installing anything).

    Everything is done except after installation when i get the response ({success : true}), i need to open that window and add link to start menu. Any help?

    Source:
    Code:
    // get modules to initialize (make available to your desktop)
        getModules : function() {
            var name = get_cookie('memberName') || 'jsDesk User';
            var nick = get_cookie('memberUsername') || 'jsDesk';
            return [
                    new MyDesktop.LayoutWindow(),
                    new MyDesktop.ServiceWindow(),
                    new MyDesktop.Docs(),
                    new MyDesktop.GridWindow(),
                    new MyDesktop.SuggestedServices(),
                    new MyDesktop.TabWindow(),
                    new MyDesktop.WebWindow({
                                id : 'forum-win',
                                url : 'http://www.google.com', (e.g. here i will change the url of that application)
                                name : 'forum',
                                width : 740,
                                height : 480
                            }),

    Thanks,
    Swarnendu

  2. #2
    Sencha User swarnendude's Avatar
    Join Date
    Jul 2009
    Location
    Kolkata, India
    Posts
    117
    Vote Rating
    1
    swarnendude is on a distinguished road

      0  

    Exclamation Create window and start menu link dynamically

    Create window and start menu link dynamically


    Hi All,

    I want to create a window dynamically with extjs desktop application. I was working with a number of applications which can be installed automatically by a single button click. All the applications are displayed in grid and all are having a "install" button with it. I want after installation, that application will open in a iframe in a extjs desktop window and a link to that installed application will be added in the start menu (just as we did in normal desktop application after installing anything).

    Everything is done except after installation when i get the response ({success : true}), i need to open that window and add link to start menu. Any help?

    Source:
    Code:
    // get modules to initialize (make available to your desktop)
        getModules : function() {
            var name = get_cookie('memberName') || 'jsDesk User';
            var nick = get_cookie('memberUsername') || 'jsDesk';
            return [
                    new MyDesktop.LayoutWindow(),
                    new MyDesktop.ServiceWindow(),
                    new MyDesktop.Docs(),
                    new MyDesktop.GridWindow(),
                    new MyDesktop.SuggestedServices(),
                    new MyDesktop.TabWindow(),
                    new MyDesktop.WebWindow({
                                id : 'forum-win',
                                url : 'http://www.google.com', (e.g. here i will change the url of that application)
                                name : 'forum',
                                width : 740,
                                height : 480
                            }),
    Thanks,
    Swarnendu

  3. #3
    Ext User
    Join Date
    Jul 2007
    Location
    Florida
    Posts
    9,996
    Vote Rating
    5
    mjlecomte will become famous soon enough mjlecomte will become famous soon enough

      0  

    Default


    Please post help questions in help forum only (don't post same question multiple times).

Thread Participants: 1