Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Load SmartGWT Module into SmartGWT

    Hi,

    I was wondering if the following would be possible and if so, how.

    I want to create a module which will be 'loaded' into the SmartGWT app. i.e. A button which once clicked somehow downloads a mini SmartGWT class. A window for example, which can then be used.

    How feasible is this?

    Thanks in advance.

    #2
    You mean like a plugin sort of structure? I looked at doing something similiar, but as far as I can tell it's not feasible. You have to remember SmartGWT applications are Javascript, not Java. You don't get much in the way of reflection or dynamic loading.

    Your hosting web page will pull in a large chunk of Javascript, which could, at least in theory, pull in another chunk of Javascript and run it. GWT seems to have ideas which might aid this, such as deferred binding and code splitting, but I couldn't find any neat plugin type solution.

    If anyone knows how to do such a thing I'd be keen to learn about it too.

    Comment

    Working...
    X