Tuesday, August 2, 2011

Re: Developing Google gadgets with GWT

You can manually create a gadget spec and use exactly the same
application for both, but your app won't be able to use the gwt-gadget
API, because it bootstraps from a subclass of Gadget, not EntryPoint.
If you use the gwt-gadget library, it substitutes a different primary
linker and automatically creates the gadget.xml file for you, but
doesn't generate a regular web page bootstrap.

I suggest you use two different top level GWT module definitions and
then just inherit the same sub-modules to implement your app. That
way, you should be able to share a good deal of logic between the two
different ways of accessing your app.

On Sat, Jul 23, 2011 at 2:23 AM, Михаил Марёнов <enf644@gmail.com> wrote:
> I successfully created gadget using Getting Started with Gadgets and GWT
>
> I want to know:
>
> Is it possible to work on gadgets in development mode? I want to change the
> code and see the results. Or i need to compile and publish the gadget every
> time i change code?
>
> I want my GWT GAE application to be both normal GWT app and a google gadget.
> When user enters http://mygadget.appspot.com/ i want him to see normal GWT
> app. But when user
> accesshttp://mygadget.appspot.com/axogadget/com.axdms.gadget.client.AxObjectGadget.gadget.xml he
> gets the gadget. Is it posible? Or it has to be 2 different GAE
> applications? (Normal GWT app and gadget have different functionality).
> Multiple entry points?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/Iil9t7vTNTEJ.
> To post to this group, send email to google-web-toolkit@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

--
Eric Ayers | Software Engineer | zundel@google.com | +1 404 487 9229

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

No comments:

Post a Comment