Results 1 to 2 of 2

Thread: Export GXT

  1. #1
    Sencha User
    Join Date
    Oct 2009
    Vote Rating

    Default Export GXT

    Is it possible to export the GXT objects to javascript to provide a javascript api for widget development? By this I mean, I have an application that is using GXT and I have created an API using GWT Exporter than a developer can use to call my objects, but I want to let them build a widget inside my application with the same capabilities that I have from GXT. Is this possible or do I have to create my own object for each GXT object?

  2. #2
    Sencha User
    Join Date
    Feb 2009
    Vote Rating


    My understanding about the GWT Exporter is that you would need to provide methods to do the things you need it to do, so you _could_ subclass each widget you want to use. This won't be very easy, but that brings up my next point:

    Why are you doing this? If you are indeed just providing an API to instruct the app to do a few things, then this is fine, but if you are trying to give javascript the ability to build any arbitrary content, you should rethink the approach. Consider perhaps a dsl of some kind to describe layout/binding/your problem, or consider using the regular extjs for layout. If you still wanted to use GWT for RPC or something, you can still write that part in java, but ExtJS does a good job of building content quickly and easily from direct javascript.

Similar Threads

  1. Export Project does nothing
    By Wayne Hiller in forum Ext Designer: Bugs
    Replies: 2
    Last Post: 18 Jun 2010, 7:50 AM
  2. Replies: 3
    Last Post: 10 May 2010, 9:10 AM
  3. How can gxt export excel by a list<Object> return already inclient
    By TOMMYZHANG in forum Ext GWT: Discussion
    Replies: 1
    Last Post: 21 Sep 2009, 6:33 AM
  4. export excel
    By neenhouse in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 20 Dec 2007, 4:35 PM

Posting Permissions

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