Hi dzhang, I'm not very familiar with Vista sidebar gadgets, but from what I've read in the Vista Sidebar developer guide, it should be possible to use a GWT application as a Vista Sidebar Gadget. You can test this out for yourself by copying over GWT-generated sample application files (JS and HTML) in the prescribed directory in the Vista Sidebar Gadget documentation.
For example, try copying over the Hello sample application resources (samples/Hello/war/Hello.html and everything under samples/Hello/war/hello/) to your Vista Gadget directory, along with the gadget manifest file. The steps are described in the developer docs (link below). Vista Sidebar Gadgets developer guide: http://msdn.microsoft.com/en-us/library/bb456468(VS.85).aspx <http://msdn.microsoft.com/en-us/library/bb456468(VS.85).aspx>It would make sense to only deploy the IE version of your application to the Vista Sidebar Gadget (assuming it uses an IE rendering engine). You can make the GWT compiler generate the IE-specific application files only by specifying the following elements in your module XML file: <set-property name="user.agent" value="ie6" /> Hope that helps, -Sumit Chandel On Mon, Jun 22, 2009 at 6:14 AM, dzhang <[email protected]> wrote: > > Hey guys, > > Does anyone know if it is feasible to use GWT in a Vista sidebar > gadget? > > I wrote a simple gadget to attempt to do this, and it works in the > browsers, but not in the gadget itself (i.e. gadget doesn't load) > > There's no server side code, and it's just all client side. > > Has anyone ever had to deal with this? Is there a way to make GWT > target just IE? > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
