28 Oct 2010 1:24 AM #1
Does GXT allow to create plugins?
I need to create plugins for my application. Particularly I need to add new functionality to my application without recompiling whole project. Can anybody recommend me solution? I read a lot of forums but didn't find any good way.
28 Oct 2010 1:35 AM #2
Can you please rephrase that?
You are dealing with Gwt here. Any client code changes needs a new Gwt compilation.
There is no way to skip that.
28 Oct 2010 1:49 AM #3
Your right, it looks like this is gwt problem. But I didn't find any solution in gwt and decided to ask in this forum.
Let me give example to make my task more clear:
I have a web application with TabPanel on the main canvas. By default I have four tabs. In some moment I need to add additional tab. The key place is that I want to create new module and create the tab there. And than put some generated result to existed web application to be visible from main application. Is it clear now?
29 Oct 2010 5:39 AM #4
The problem is clear, but unless you can provide some very tight constraints on what you expect to be able to create in this module/tab, you are better off staying away from any framework that requires a compile phase between design and runtime. If you need to be able to draw gwt/gxt components in that new module as well as in the outer section, you will be requiring your users download the basic GXT code twice nearly any way you do this, unless you do a recompile of the outer application. As a thought, if you have a process to compile new plugins, why can this not recompile the existing code as well?
If you only need a little bit of customization, and can describe the possible inner content in model object form, and then parse that object to create new content, you should be able to do this. But this will require a lot of work on your part - every component you wish to create must have a model and code to get it to draw.
Yet another thought could be an iframe in the tab, pointing to a custom form, generated by whatever would normally create the new content, which could then simply post back to your server. Probably wouldn't look as good, but it might let you do what you are try to do.
By gxtyas in forum Ext GWT: DiscussionReplies: 2Last Post: 26 Oct 2010, 10:20 AM
By salvin18 in forum Ext GWT: DiscussionReplies: 2Last Post: 28 May 2010, 10:01 AM
By safewolf in forum Ext GWT: User Extensions and PluginsReplies: 3Last Post: 17 Nov 2009, 5:53 AM
By daeo in forum Community DiscussionReplies: 9Last Post: 18 Mar 2009, 1:34 AM
By francescoNemesi in forum Ext GWT: Help & Discussion (1.x)Replies: 3Last Post: 1 Aug 2008, 1:20 AM