Creating a framework similar to igoogle, adding widgets dynamically

2008-09-06 Thread Rosh PR
I'm developing a framework where i can browse and add widgets dynamically. Problems I'm facing * The widget developer use the framework for developing the widgets. While compiling gwt dumps all the widget and framework code into one directory. How will I differentiate between the framework output

Re: Creating a framework similar to igoogle, adding widgets dynamically

2008-09-06 Thread Folke
Split up the project into a core module, a widget library module, and an application module. Make your widget library inherit the core module, the application module then inherits both and possibly other widget/extension libraries. Look at GWT's User module: http://code.google.com/p/google-web-to

Re: Creating a framework similar to igoogle, adding widgets dynamically

2008-09-07 Thread rakesh wagh
Folke is right on the point. You will create a module with its own gwt.xml. This gwt.xml will not have entry point. You will distribute your module(widgets) as a package. Who ever wants to use this widget lib will include your .jar file and inherit the module(using inherit tag in his/her gwt.xml.

Re: Creating a framework similar to igoogle, adding widgets dynamically

2008-09-07 Thread rakesh wagh
You will create a widget module with its own gwt.xml. This gwt.xml will not have a entry point. You will distribute your module(widgets) as a jar file. Simply jar everything in the base package. Who ever wants to use this widget lib will include your .jar file and inherit the module(using inherit