This seems vaguely familiar but I can't pinpoint a JIRA ticket for the
exact issue.  I did find [1] which I encountered a year ago or so.

What version of Shindig are you using?  At what point in the gadget
lifecycle are you trying to get the active holder?

[1] https://issues.apache.org/jira/browse/SHINDIG-1965

On Wed, Apr 29, 2015 at 11:39 AM, Davies,Douglas <davi...@oclc.org> wrote:

> Has anyone had any inconsistencies with gadgetSite.getActiveSiteHolder()
> not being initialized immediately after container.navigateGadget?  I use
> this to add chrome to my gadget.  Sometimes this fails because the active
> site holder isn’t set yet.  If I delay for a second (or add an alert) then
> it’s set.  I even tried adding an onRender lifecycle callback, with the
> same result (I figured if I was getting the callback rendering should be
> done).  It appears that it’s either suppose to return loadingGadgetHolder
> or currentGadgetHolder.
>
> Ideas?
>
> doug
>
>
>

Reply via email to