Re: Common container rpc request uses wrong security token

2011-07-21 Thread daviesd
Ryan, I agree that the security token in the gadget holder should be done on the navigate. It appears this was the intention, but I think there are a few things about security tokens that havenĀ¹t been completed in the common container (I wish these holes were documented). My first attempt WAS to

RE: Common container rpc request uses wrong security token

2011-07-20 Thread Ryan J Baxter
uglas" To: , Date: 07/20/2011 10:41 AM Subject: RE: Common container rpc request uses wrong security token Here's what I'm implementing. Add a lifecycle handler for onNavigated. It calls token = container.service_.getGadgetToken and then uses that

RE: Common container rpc request uses wrong security token

2011-07-20 Thread Davies,Douglas
Here's what I'm implementing. Add a lifecycle handler for onNavigated. It calls token = container.service_.getGadgetToken and then uses that to call var holder = gadgetSite.getActiveGadgetHolder(); gadgets.rpc.call(holder.getIframeId(), 'update_security_