Hello Sri

Thanks for your comments. But I think my requirement is a very genuine
and if can be achieved in GWT, it will be a great feature for creating
client side component libraries using GWT. I would request to some one
from GWT team to comment on this whether it is possible (might be with
the help of some patch -:)) or if they are planning to provide it in
future releases of GWT.

Thanks

Ganesh Bansal

On Jan 1, 3:57 am, Sripathi Krishnan <[email protected]>
wrote:
> GWT was never meant to be used that way. If you want to share widgets, it
> has to be done at compile time, not at runtime.
>
> The gwt-exporter <http://code.google.com/p/gwt-exporter/> project can help
> you to some extent, you can have a look at it.
>
> --Sri
>
> 2009/12/31 Ganesh <[email protected]>
>
> > Hi All
>
> > I am using GWT2.0. I want to create some client side widgets by
> > extending GWT's widgets. These widgets will be deployed on my server &
> > I will provide public links of js (.nocache.js) file of these widgets
> > so that a user can include these in his application's html page & use
> > them. I will deploy many of such widgets on my server. If a user wants
> > to use more than one widget, he need to include js file of each widget
> > in his html file. Each widget will have it's own module.
>
> > Further my widgets can be dependent on each other. Suppose Widget1 is
> > dependent on Widget2 & user wants to use Widget1, he needs to include
> > js of both widgets (Widget1 & Widget2) in his html file.
>
> > Now my problem is
> > - How to compile my Widget1's module so that while compiling Widget1,
> > it doesn't generate js for Widget2 as it will be provided to it at run
> > time (as user will include Widget2's js file in his html file).
> > - How Widget1 will be able to use Widget2 & it's method as GWT
> > obfuscates all java code at compile time. I can't choose option for
> > not obfuscating code due to size of js & security issues.
>
> > Kindly also consider that I would like to compile Widget1 & Widget2
> > separetly & a new version of Widget2 can be compiled at any time.
> > After this compile, changes done in Widget2 shd reflect while it is
> > being used through Widget1 without compiling Widget1 again.
>
> > Any help/suggestion in this regard will be highly appreciable.
>
> > Thanks in advance.
>
> > Ganesh Bansal
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<google-web-toolkit%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.

--

You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


Reply via email to