> On 2012-04-12 17:42:54, Henry Saputra wrote: > > Could you take a look at the > > RenderingGadgetRewriter.injectFeatureLibraries() method? Looks like its > > trying to get "libs" from context. For HTML based gadget the libs in the > > URL could just be colon separated feature names I believe.
I'm not sure I want to change the behavior of non url type gadgets. The arguments in an html gadget aren't specced, for the most part, as shindig implements all the feature code that uses them. The url type gadgets though require us to identify key ones that must be there and useful. I am curious now to see if the feature detection libraries need to be updated for url gadgets. I'll check in to that. Did I miss your point? I can hop on gchat if you think that would be easier. - Dan ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/4710/#review6893 ----------------------------------------------------------- On 2012-04-12 13:34:54, Dan Dumont wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/4710/ > ----------------------------------------------------------- > > (Updated 2012-04-12 13:34:54) > > > Review request for shindig. > > > Summary > ------- > > Fix shindig to implement the stated spec, that the libs param should be a url > to download feature impl, not just a list of features. > > Additional conversation on the spec list here: > https://groups.google.com/d/topic/opensocial-and-gadgets-spec/7lGzhk67nY8/discussion > > > This addresses bug SHINDIG-1707. > https://issues.apache.org/jira/browse/SHINDIG-1707 > > > Diffs > ----- > > > http://svn.apache.org/repos/asf/shindig/trunk/content/samplecontainer/examples/url-gadget-with-features/url.html > PRE-CREATION > > http://svn.apache.org/repos/asf/shindig/trunk/content/samplecontainer/examples/url-gadget-with-features/url.xml > PRE-CREATION > > http://svn.apache.org/repos/asf/shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/uri/DefaultIframeUriManager.java > 1311965 > > http://svn.apache.org/repos/asf/shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/uri/DefaultIframeUriManagerTest.java > 1311965 > > Diff: https://reviews.apache.org/r/4710/diff > > > Testing > ------- > > Updated unit tests to expect the new url. > All tests pass. > > Added a sample url gadget and html page to show the feature working. > > > Thanks, > > Dan > >