Hi all,

working on igoogle gadgets technology for few month, I am realy found
of the "Developper" gadget, which allows to add other gadgets from
their spec url  !!

Now, as I am working on a prototype for my team, one of our use case
would be to have a gadget able to do the same thing (some kind off
Graphical Gadget Repository).

I've looked inside the source code of developper gadget and can
isolate the portion responsible for the add of a gadget in the
container : it makes invocation to _add_remote_module() function with
url and callback function as parameters.

On a first try, I have inocently reproduced portion of code and
adapted it to take in consideration my own ways to get specUrl and
callback.
Unfortunately, this first attempt failed :( doing NOTHING !

On a second try, I decided to reuse the existing features that allows
to add a gadget from a hyperlink, but as my gadget is running in a
iframe, it implies that the link to add gadget must be opened in an
other window or other tab
adding a gadget create a popup with a link to
http://www.google.com/ig/adde?moduleurl= with the specified url

Even if the second try can satisfy the requirement, my team and I  do
not like it so much as it is not as straight forward as the feature
proposed by the Developper gadget.

I am asking for people who have that need to add gadget from a gadget
and if their is a common fashion to workaround that issue.

Best Regards,

--~--~---------~--~----~------------~-------~--~----~
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