Hello Chris Sorry for being late, actually was out of office so could not check my emails.
Here I want to extend GWT's library and provide a more powerful library to end users. e.g. I can provide a combo field where user can select multiple values as provided by gmail while composing mail for selecting To, Cc & Bcc. A more powerful date field can be provided which understands user's inputs intelligently & much more widgets like this. Now my problem is I want to compile each of these widgets separately in a so that if changes are made in some base widget, & no changes are done in extending widgets, js of extending widgets should not be downloaded on client side. It is only possible when each module generates it's own js files without generating js of it's parent module. Now it will be really helpful if you could provide some help how we can do it. Even if we need to apply some patch in GWT's compiler, kindly hint for this & we can opt for that too :) Thanks in advance. Ganesh Bansal On Jan 8, 4:12 am, Chris Ramsdale <[email protected]> wrote: > Ganesh, > > If you wouldn't mind, please provide us with some hypothetical, real world > examples of widgets that you are describing, as well as how they would > interact and depend on each other. > > Typically hosting multiple GWT-based widgets on your servers for others to > consume within a mashup is a non-issue, as the consumer would simply include > script tags that reference your widgets. In some cases a separate iframe or > xs linker might be necessary, but the base cases should run right out of the > box. > > The more complicated part (and again, I may be misunderstanding you) is > having widget x rely on widget y, with the requirement that they compile > separately and produce separate js. > > Do you have a sample project that you could provide? > > - Chris > > On Thu, Jan 7, 2010 at 2:25 AM, Ganesh <[email protected]> wrote: > > Would request some one to comment on this so that I can move further > > with my application. Kindly let me if not possible in GWT so that I > > can look further for some other technology for my project. > > > Ganesh Bansal > > > On Jan 5, 10:08 am, Ganesh <[email protected]> wrote: > > > 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]> > > <google-web-toolkit%[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]<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.
