Results 1 to 9 of 9

Thread: Anybody have an Extjs 6.0.1 Desktop example that is just js?

  1. #1
    Sencha User
    Join Date
    Jul 2016
    Posts
    18
    Answers
    1

    Default Anybody have an Extjs 6.0.1 Desktop example that is just js?

    Hi ya'll.

    I have inherited a 3.0 app that uses the desktop. I would like to move to 6.0.1 but I am limited to the GPL version.
    I know enough to be able to add new apps to the existing desktop, but I could really use an example of how to stand up the
    new desktop in simple hand written jsp/javascript without using any of the new build and deploy tools.

    Just a simple example of the desktop with a wallpaper and the shell of the start menu would be enough to get me on my way.

    It will be running under tomcat on a linux box;

    Any help would be much appreciated.

    S~

  2. #2
    Sencha User
    Join Date
    Apr 2013
    Posts
    914
    Answers
    105

    Default

    What's the problem with using Sencha CMD and the example included with ExtJS distribution?

  3. #3
    Sencha User
    Join Date
    Jul 2016
    Posts
    18
    Answers
    1

    Default

    Quote Originally Posted by hakimio View Post
    What's the problem with using Sencha CMD and the example included with ExtJS distribution?
    It just produces the basic example that is in the 6.0.1 GPL distro. It does not show me the basics to setup the desktop in a single javascript file.

  4. #4
    Sencha User
    Join Date
    Apr 2013
    Posts
    914
    Answers
    105

    Default

    Quote Originally Posted by ItsGarand View Post
    It just produces the basic example that is in the 6.0.1 GPL distro. It does not show me the basics to setup the desktop in a single javascript file.
    Do "sencha app build" and you'll get a single JS file from your source and the framework.
    Also, in "build" folder you should finde "ext-all.js", you can use it to manually bundle everything yourself without sencha CMD.

  5. #5
    Sencha User
    Join Date
    Jul 2016
    Posts
    18
    Answers
    1

    Default

    Quote Originally Posted by hakimio View Post
    Do "sencha app build" and you'll get a single JS file from your source and the framework.
    Also, in "build" folder you should finde "ext-all.js", you can use it to manually bundle everything yourself without sencha CMD.
    Results of that command..

    [INF] Using GPL version of Ext JS 6.0.1.250....
    [INF] Processing build descriptor :classic (production environment)
    [ERR] Cannot satisfy requirements for "classic"!
    ...
    [ERR] Cannot satisfy requirements for "theme-triton"
    ...
    [ERR] Cannot satisfy requirements for "font-awesome"
    [ERR] Can't resolve package requirements

    no build dir is created.......


    So this is why I am asking for a simple single page javascript example of setting up the desktop.

  6. #6
    Sencha User
    Join Date
    Apr 2013
    Posts
    914
    Answers
    105

    Default

    You have to generate starting classic app first:
    Code:
    sencha -sdk path/to/ext6 generate app -classic MyClassicApp ../myclassicapp
    You can find a bit more info here

  7. #7
    Sencha User
    Join Date
    Jul 2016
    Posts
    18
    Answers
    1

    Default

    Quote Originally Posted by hakimio View Post
    You have to generate starting classic app first:
    Code:
    sencha -sdk path/to/ext6 generate app -classic MyClassicApp ../myclassicapp
    You can find a bit more info here
    I receive the same errors above just generating the desktop app - let alone trying to build it.
    I don't think this direction is going to work for me.

    Thank you for your help, but surely somebody out there knows how to stand up the Desktop app using straight up javascript?

  8. #8
    Sencha User
    Join Date
    Jul 2016
    Posts
    18
    Answers
    1

    Default

    Ok, so I figured out how to stand up the desktop app with out using sencha command.. It is much easier to debug and add code on the fly to a running app.

  9. #9

Similar Threads

  1. Replies: 1
    Last Post: 28 Jan 2017, 8:04 PM
  2. Replies: 0
    Last Post: 12 Aug 2014, 12:28 PM
  3. com.extjs.gxt.desktop.client.Desktop how to load Image
    By easytech in forum Community Discussion
    Replies: 1
    Last Post: 16 Sep 2011, 2:31 AM
  4. Replies: 4
    Last Post: 8 Mar 2011, 10:16 PM
  5. Where is API description for com.extjs.gxt.desktop.client.Desktop ?
    By rssh in forum Ext GWT: Help & Discussion (1.x)
    Replies: 0
    Last Post: 30 Mar 2009, 7:57 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •