Hi Peppi,
You can't directly use a gadget inside another gadget. Factoring out shared
code as yuvi described is the best approach. One of the gadgets may end up
being just a small wrapper around the shared code when you're done.

Rob Russell
Google Developer Relations


On Wed, Dec 22, 2010 at 1:43 AM, yuvi <[email protected]> wrote:

> Hi,
>
> You are trying to reuse Gadget functionality ?
>
> Why not doing that in a shared javascript file and share it among
> Gadgets ?
> Personally I use GWT and develop shared services. The Gadget specific
> code includes only UI and logic...
>
> You can try (been using that for some time...)
> http://code.google.com/p/gwt-google-apis/wiki/GadgetsGettingStarted
>
> On Dec 20, 8:54 pm, Peppi <[email protected]> wrote:
> > Hello,
> >
> > Can I use one gadget inside of another gadget? In my particular
> > implementation, I have a gadget that reads data from a Google
> > spreadsheet and returns it in JSON format. I now want to use this
> > generic gadget in another gadget that will build a UI for the data.
> > How would I go about doing this?
> >
> > Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "iGoogle Developer Forum" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-gadgets-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/Google-Gadgets-API?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"iGoogle Developer Forum" 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-Gadgets-API?hl=en.

Reply via email to