You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by David Benge <db...@adobe.com> on 2009/02/15 20:12:22 UTC
Gadget settings not working for local gadgets
For some reason UserPref's never show for any gadget hosted locally. If the Gadget url is external to my company domain its not an issue and they render properly. I can take the same gadget code and have one copy local and another remote (remote being outside of *.company.com) and the settings only show on the remote url gadget.
What did I do wrong?
Re: Gadget settings not working for local gadgets
Posted by David Benge <db...@adobe.com>.
I will take a peak at that project. thanks
On 2/15/09 8:20 PM, "Tim Moore" <tm...@atlassian.com> wrote:
On Feb 16, 2009, at 6:12 AM, David Benge wrote:
> For some reason UserPref's never show for any gadget hosted
> locally. If the Gadget url is external to my company domain its not
> an issue and they render properly. I can take the same gadget code
> and have one copy local and another remote (remote being outside of
> *.company.com) and the settings only show on the remote url gadget.
> What did I do wrong?
If you're talking about using the sample container that ships with
Shindig, it actually relies on iGoogle to generate the UserPrefs UI,
so the iGoogle server needs to be able to fetch your gadget spec. That
sample container is only intended as a quick example and isn't
suitable for production code. If you're writing your own container,
you'll need to write your own UserPrefs UI. There are a few open
source containers around that you might want to start with. Partuza is
one of the more mature ones (http://www.partuza.nl/).
Cheers,
-- Tim
Re: Gadget settings not working for local gadgets
Posted by Tim Moore <tm...@atlassian.com>.
On Feb 16, 2009, at 6:12 AM, David Benge wrote:
> For some reason UserPref's never show for any gadget hosted
> locally. If the Gadget url is external to my company domain its not
> an issue and they render properly. I can take the same gadget code
> and have one copy local and another remote (remote being outside of
> *.company.com) and the settings only show on the remote url gadget.
> What did I do wrong?
If you're talking about using the sample container that ships with
Shindig, it actually relies on iGoogle to generate the UserPrefs UI,
so the iGoogle server needs to be able to fetch your gadget spec. That
sample container is only intended as a quick example and isn't
suitable for production code. If you're writing your own container,
you'll need to write your own UserPrefs UI. There are a few open
source containers around that you might want to start with. Partuza is
one of the more mature ones (http://www.partuza.nl/).
Cheers,
-- Tim