You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by li...@apache.org on 2008/02/09 04:14:20 UTC
svn commit: r620075 - in /incubator/shindig/trunk:
features/opensocial-samplecontainer/feature.xml javascript/README
javascript/samplecontainer/examples/SocialHelloWorld.xml
javascript/samplecontainer/samplecontainer.html
Author: lindner
Date: Fri Feb 8 19:14:19 2008
New Revision: 620075
URL: http://svn.apache.org/viewvc?rev=620075&view=rev
Log:
SHINDIG-55 Fix broken links caused by moving assetst to the 'files' directory
patch by Bruno Bowden
Modified:
incubator/shindig/trunk/features/opensocial-samplecontainer/feature.xml
incubator/shindig/trunk/javascript/README
incubator/shindig/trunk/javascript/samplecontainer/examples/SocialHelloWorld.xml
incubator/shindig/trunk/javascript/samplecontainer/samplecontainer.html
Modified: incubator/shindig/trunk/features/opensocial-samplecontainer/feature.xml
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/features/opensocial-samplecontainer/feature.xml?rev=620075&r1=620074&r2=620075&view=diff
==============================================================================
--- incubator/shindig/trunk/features/opensocial-samplecontainer/feature.xml (original)
+++ incubator/shindig/trunk/features/opensocial-samplecontainer/feature.xml Fri Feb 8 19:14:19 2008
@@ -28,7 +28,7 @@
opensocial.Container.setContainer(new opensocial.SampleContainer());
opensocial.Container.get().enableCaja();
- var stateUrl = "/gadgets/samplecontainer/state-basicfriendlist.xml";
+ var stateUrl = "/gadgets/files/samplecontainer/state-basicfriendlist.xml";
<!--TODO(doll): The cookies.js file needs to be moved into a feature so we can use it here-->
<!--var cookieUrl = decodeURIComponent(goog.net.cookies.get('sampleContainerStateUrl'));-->
<!--if (cookieUrl && cookieUrl != "undefined") {-->
Modified: incubator/shindig/trunk/javascript/README
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/javascript/README?rev=620075&r1=620074&r2=620075&view=diff
==============================================================================
--- incubator/shindig/trunk/javascript/README (original)
+++ incubator/shindig/trunk/javascript/README Fri Feb 8 19:14:19 2008
@@ -58,10 +58,10 @@
mvn jetty:run-war
C) Hit the sample container at
- http://yourserver:yourport/gadgets/samplecontainer/samplecontainer.html
+ http://yourserver:yourport/gadgets/files/samplecontainer/samplecontainer.html
D) See the sample container help document for more details on how it works:
- http://yourserver:yourport/gadgets/samplecontainer/getting-started.html
+ http://yourserver:yourport/gadgets/files/samplecontainer/getting-started.html
NOTE: In the short term, when rendering Gadgets using gmodules.com certain
Modified: incubator/shindig/trunk/javascript/samplecontainer/examples/SocialHelloWorld.xml
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/javascript/samplecontainer/examples/SocialHelloWorld.xml?rev=620075&r1=620074&r2=620075&view=diff
==============================================================================
--- incubator/shindig/trunk/javascript/samplecontainer/examples/SocialHelloWorld.xml (original)
+++ incubator/shindig/trunk/javascript/samplecontainer/examples/SocialHelloWorld.xml Fri Feb 8 19:14:19 2008
@@ -17,7 +17,7 @@
}
div.bubble {
- background-image: url(/gadgets/samplecontainer/examples/bubble.gif);
+ background-image: url(/gadgets/files/samplecontainer/examples/bubble.gif);
background-repeat: no-repeat;
width: 202px;
height: 66px;
@@ -81,7 +81,7 @@
&& allPeople[i].getField('thumbnailUrl').indexOf('null') == -1) {
html += '<img src="' + allPeople[i].getField('thumbnailUrl') + '"/>';
} else {
- html += '<img src="/gadgets/samplecontainer/examples/nophoto.gif"/>';
+ html += '<img src="/gadgets/files/samplecontainer/examples/nophoto.gif"/>';
}
html += '<br style="clear:both"></div>';
}
Modified: incubator/shindig/trunk/javascript/samplecontainer/samplecontainer.html
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/javascript/samplecontainer/samplecontainer.html?rev=620075&r1=620074&r2=620075&view=diff
==============================================================================
--- incubator/shindig/trunk/javascript/samplecontainer/samplecontainer.html (original)
+++ incubator/shindig/trunk/javascript/samplecontainer/samplecontainer.html Fri Feb 8 19:14:19 2008
@@ -48,7 +48,7 @@
document.getElementById("gadgetUrl").value = specUrl;
gadget = gadgets.container.createGadget({'specUrl': specUrl});;
- gadget.setServerBase('../');
+ gadget.setServerBase('../../');
gadgets.container.addGadget(gadget);
gadgets.container.layoutManager.setGadgetChromeIds(['gadget-chrome']);