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/08/12 16:13:37 UTC

svn commit: r685162 - /incubator/shindig/trunk/config/container.js

Author: lindner
Date: Tue Aug 12 07:13:36 2008
New Revision: 685162

URL: http://svn.apache.org/viewvc?rev=685162&view=rev
Log:
SHINDIG-449 | Apply container.js documentation updates

Modified:
    incubator/shindig/trunk/config/container.js

Modified: incubator/shindig/trunk/config/container.js
URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/config/container.js?rev=685162&r1=685161&r2=685162&view=diff
==============================================================================
--- incubator/shindig/trunk/config/container.js (original)
+++ incubator/shindig/trunk/config/container.js Tue Aug 12 07:13:36 2008
@@ -17,13 +17,24 @@
  * under the License.
  */
 
-// Default container configuration. Rather than replacing this
-// file, you should create your own container.js file and
-// load it directly by modifying the value of web.xml.
+// Default container configuration. To change the configuration, you have two options:
+//
+// A. If you run the Java server: Create your own "myContainer.js" file and
+// modify the value in web.xml. 
+//
+//  B. If you run the PHP server: Create a myContainer.js, copy the contents of container.js to it,
+//  change 
+//		{"gadgets.container" : ["default"],
+//  to
+//		{"gadgets.container" : ["myContainer"],
+// And make your changes that you need to myContainer.js.
+// Just make sure on the iframe URL you specify &container=myContainer 
+// for it to use that config. 
+//
 // All configurations will automatically inherit values from this
 // config, so you only need to provide configuration for items
 // that you require explicit special casing for.
-
+//
 // Please namespace your attributes using the same conventions
 // as you would for javascript objects, e.g. gadgets.features
 // rather than "features".