Rereading I may not have been totally clear.  We are NOT using the
auto-generated number.  We are using a sequence number from our database
(which correlates to our gadget space).  It is always the same number for an
installed gadget.

I guess my question was... Is using an html element attribute the correct
way to communicate this id or would changing the api for newGadgetSite to
accept an id be more appropriate?

doug


On 11/17/11 11:15 AM, "Dan Dumont" <[email protected]> wrote:

> The siteId is also passed along in the set_pref and get_pref convenience
> functions so that containers can choose to have preferences that are saved
> per-gadget-instance.  I thought that if a container page were to persist
> gadgets on a page in particular places, those site ids might need to have
> a greater significance than just an autogenerated number.


Reply via email to