You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ju...@apache.org on 2009/04/24 14:29:17 UTC
svn commit: r768274 - in /incubator/sling/trunk:
bundles/api/src/main/resources/org/apache/sling/api/servlets/HtmlResponse.html
contrib/extensions/dojo-sling/src/main/resources/SLING-INF/content/dojox/data/demo/demo4.html
Author: jukka
Date: Fri Apr 24 12:29:16 2009
New Revision: 768274
URL: http://svn.apache.org/viewvc?rev=768274&view=rev
Log:
SLING-941: Lots of svn:eol-style settings missing
Set svn:eol-style to native on all HTML files that lack the setting.
Modified:
incubator/sling/trunk/bundles/api/src/main/resources/org/apache/sling/api/servlets/HtmlResponse.html (props changed)
incubator/sling/trunk/contrib/extensions/dojo-sling/src/main/resources/SLING-INF/content/dojox/data/demo/demo4.html (contents, props changed)
Propchange: incubator/sling/trunk/bundles/api/src/main/resources/org/apache/sling/api/servlets/HtmlResponse.html
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/sling/trunk/contrib/extensions/dojo-sling/src/main/resources/SLING-INF/content/dojox/data/demo/demo4.html
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/contrib/extensions/dojo-sling/src/main/resources/SLING-INF/content/dojox/data/demo/demo4.html?rev=768274&r1=768273&r2=768274&view=diff
==============================================================================
--- incubator/sling/trunk/contrib/extensions/dojo-sling/src/main/resources/SLING-INF/content/dojox/data/demo/demo4.html (original)
+++ incubator/sling/trunk/contrib/extensions/dojo-sling/src/main/resources/SLING-INF/content/dojox/data/demo/demo4.html Fri Apr 24 12:29:16 2009
@@ -15,131 +15,131 @@
limitations under the License.
-->
-<html>
-<head>
- <style type="text/css">
- @import "../../../dijit/themes/tundra/tundra.css";
- @import "../../../dojo/resources/dojo.css";
- @import "../../../dijit/tests/css/dijitTests.css";
- @import "../../../dojox/grid/resources/tundraGrid.css";
- @import "../../../dojox/grid/resources/Grid.css";
-
- .dojoxGrid table {
- margin: 0;
- }
-
- </style>
-
- <script type="text/javascript" src="../../../dojo/dojo.js" djConfig="isDebug: true, parseOnLoad: true, usePlainJson: true"></script>
- <script type="text/javascript">
- dojo.require("dijit.form.Form");
- dojo.require("dijit.form.Button");
- dojo.require("dijit.form.ComboBox");
- dojo.require("dijit.form.TextBox");
- dojo.require("dijit.form.FilteringSelect");
- dojo.require("dijit.Tree");
- dojo.require("dojox.data.SlingPropertyStore");
- dojo.require("dojox.data.SlingNodeStore");
- dojo.require("dojox.grid.DataGrid");
- dojo.require("dijit.layout.StackContainer");
- dojo.require("dijit.layout.TabContainer");
- dojo.require("dijit.layout.ContentPane");
- dojo.require("dijit.layout.BorderContainer");
-
- var nodeLayout = [
- [
- { field: "name", name: "Name", width: 20 },
- { field: "value", name: "Value", width: 40, editable: true}
- ]
- ];
-
- </script>
-</head>
-<body class="tundra">
- <!-- the data stores -->
- <div dojoType="dojox.data.SlingPropertyStore" url="/samplenodes" jsId="propertyStore"></div>
- <div dojoType="dojox.data.SlingNodeStore" url="/samplenodes" jsId="nodeStore"></div>
- <div dojoType="dojox.data.SlingNodeStore" url="/samplenodes" jsId="nodeStoreLevel2" overrideDepth="{depth: 2}"></div>
- <div dojoType="dojox.data.SlingNodeStore" url="/samplenodes" jsId="nodeStoreLevel2NotDeep" overrideDepth="{depth: 2}" overrideDeep="{deep: false}"></div>
- <div dojoType="dojox.data.SlingNodeStore" url="/samplenodes" jsId="nodeStoreAll3" overrideDeep="{deep: true}" overrideDepth="{depth: 3}"></div>
- <div dojoType="dojox.data.SlingNodeStore" url="/" statement="//*[sling:resourceType='sample/node']" searchprops="['title','jcr:created']" jsId="nodeStoreSearch"></div>
- <div dojoType="dojox.data.SlingNodeStore" url="/samplenodes" jsId="nodeStoreTreeLimit" overrideDepth="{treeDepth: 3}"></div>
-
- <!-- Models for the Trees -->
- <div dojoType="dijit.tree.TreeStoreModel" jsId="treeModel" store="nodeStore"></div>
- <div dojoType="dijit.tree.ForestStoreModel" jsId="forestModel" store="nodeStoreLevel2" rootId="fakeRoot" rootLabel="Fake Root"></div>
- <div dojoType="dijit.tree.TreeStoreModel" jsId="treeModelLimit" store="nodeStoreTreeLimit"></div>
-
- <!--<div dojoType="dijit.layout.StackController" containerId="demoStack"></div>-->
- <div dojoType="dijit.layout.TabContainer" id="demoStack" style="height: 100%">
- <div title="Tree 1" dojoType="dijit.layout.ContentPane">
- <h4>Tree of /samplenodes, all defaults</h4>
- <div dojoType="dijit.Tree" model="treeModel" persist="false"></div>
- </div>
- <div title="Tree 2" dojoType="dijit.layout.ContentPane">
- <h4>Tree of /samplenodes, depth=2, using forest model</h4>
- <div dojoType="dijit.Tree" model="forestModel" persist="false"></div>
- </div>
- <div title="Tree 3" dojoType="dijit.layout.ContentPane">
- <h4>Tree of /samplenodes, treedepth=3</h4>
- <div dojoType="dijit.Tree" model="treeModelLimit" persist="false"></div>
- </div>
- <div title="ComboBox 1" dojoType="dijit.layout.ContentPane">
- <h4>ComboBox of /samplenodes, all defaults</h4>
- <div dojoType="dijit.form.ComboBox" store="nodeStore" searchAttr="title"></div>
- </div>
- <div title="ComboBox 2" dojoType="dijit.layout.ContentPane">
- <h4>ComboBox of /samplenodes, depth=2</h4>
- <div dojoType="dijit.form.ComboBox" store="nodeStoreLevel2" searchAttr="title"></div>
- </div>
- <div title="ComboBox 3" dojoType="dijit.layout.ContentPane">
- <h4>ComboBox of /samplenodes, depth=2, deep=false</h4>
- <div dojoType="dijit.form.ComboBox" store="nodeStoreLevel2NotDeep" searchAttr="title"></div>
- </div>
- <div title="FilteringSelect 1" dojoType="dijit.layout.ContentPane">
- <h4>FilteringSelect of /samplenodes, using search statement: //*[sling:resourceType='sample/node']</h4>
- <div dojoType="dijit.form.FilteringSelect" store="nodeStoreSearch" searchAttr="title"></div>
- </div>
- <div title="Complete" dojoType="dijit.layout.ContentPane">
- <div dojoType="dijit.layout.BorderContainer" design="sidebar" gutters="true" liveSplitters="true" id="borderContainer">
- <div dojoType="dijit.layout.ContentPane" splitter="true" region="leading" style="width: 20%;">
- <div dojoType="dijit.Tree" model="treeModel" persist="false">
- <script type="dojo/connect" event="onClick" args="nodeItem,nodeWidget">
- propertyStore.setUrl(nodeItem.uri);
- dijit.byId("nodePropGrid").setStore(propertyStore);
- </script>
- </div>
- </div>
- <div id="propGrid" dojoType="dijit.layout.ContentPane" region="center">
- <div dojoType="dijit.layout.BorderContainer" gutters="true" liveSplitters="true" id="propContainer">
- <div dojoType="dijit.layout.ContentPane" region="top">
- <input id="newPropertyName" dojoType="dijit.form.TextBox" value=""/>
- <input id="newPropertyValue" dojoType="dijit.form.TextBox" value=""/>
- <div dojoType="dijit.form.Button" label="Add Property">
- <script type="dojo/connect" event="onClick">
- var newItem= {name: dijit.byId('newPropertyName').getValue(),value: dijit.byId('newPropertyValue').getValue()};
- propertyStore.newItem(newItem);
- dijit.byId("nodePropGrid").setStore(propertyStore);
- </script>
- </div>
- </div>
- <div dojoType="dijit.layout.ContentPane" region="center">
- <div id="nodePropGrid"
- dojoType="dojox.grid.DataGrid"
- store="propertyStore"
- structure="nodeLayout"
- rowsPerPage="40">
- <script type="dojo/connect" event="onApplyCellEdit">
- // necessary because v1.2.3 grid keeps internal item cache & fetchItemByIdentity returns new item not ref to existing
- dijit.byId("nodePropGrid").setStore(propertyStore);
- </script>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
-</body>
-</html>
-
-
+<html>
+<head>
+ <style type="text/css">
+ @import "../../../dijit/themes/tundra/tundra.css";
+ @import "../../../dojo/resources/dojo.css";
+ @import "../../../dijit/tests/css/dijitTests.css";
+ @import "../../../dojox/grid/resources/tundraGrid.css";
+ @import "../../../dojox/grid/resources/Grid.css";
+
+ .dojoxGrid table {
+ margin: 0;
+ }
+
+ </style>
+
+ <script type="text/javascript" src="../../../dojo/dojo.js" djConfig="isDebug: true, parseOnLoad: true, usePlainJson: true"></script>
+ <script type="text/javascript">
+ dojo.require("dijit.form.Form");
+ dojo.require("dijit.form.Button");
+ dojo.require("dijit.form.ComboBox");
+ dojo.require("dijit.form.TextBox");
+ dojo.require("dijit.form.FilteringSelect");
+ dojo.require("dijit.Tree");
+ dojo.require("dojox.data.SlingPropertyStore");
+ dojo.require("dojox.data.SlingNodeStore");
+ dojo.require("dojox.grid.DataGrid");
+ dojo.require("dijit.layout.StackContainer");
+ dojo.require("dijit.layout.TabContainer");
+ dojo.require("dijit.layout.ContentPane");
+ dojo.require("dijit.layout.BorderContainer");
+
+ var nodeLayout = [
+ [
+ { field: "name", name: "Name", width: 20 },
+ { field: "value", name: "Value", width: 40, editable: true}
+ ]
+ ];
+
+ </script>
+</head>
+<body class="tundra">
+ <!-- the data stores -->
+ <div dojoType="dojox.data.SlingPropertyStore" url="/samplenodes" jsId="propertyStore"></div>
+ <div dojoType="dojox.data.SlingNodeStore" url="/samplenodes" jsId="nodeStore"></div>
+ <div dojoType="dojox.data.SlingNodeStore" url="/samplenodes" jsId="nodeStoreLevel2" overrideDepth="{depth: 2}"></div>
+ <div dojoType="dojox.data.SlingNodeStore" url="/samplenodes" jsId="nodeStoreLevel2NotDeep" overrideDepth="{depth: 2}" overrideDeep="{deep: false}"></div>
+ <div dojoType="dojox.data.SlingNodeStore" url="/samplenodes" jsId="nodeStoreAll3" overrideDeep="{deep: true}" overrideDepth="{depth: 3}"></div>
+ <div dojoType="dojox.data.SlingNodeStore" url="/" statement="//*[sling:resourceType='sample/node']" searchprops="['title','jcr:created']" jsId="nodeStoreSearch"></div>
+ <div dojoType="dojox.data.SlingNodeStore" url="/samplenodes" jsId="nodeStoreTreeLimit" overrideDepth="{treeDepth: 3}"></div>
+
+ <!-- Models for the Trees -->
+ <div dojoType="dijit.tree.TreeStoreModel" jsId="treeModel" store="nodeStore"></div>
+ <div dojoType="dijit.tree.ForestStoreModel" jsId="forestModel" store="nodeStoreLevel2" rootId="fakeRoot" rootLabel="Fake Root"></div>
+ <div dojoType="dijit.tree.TreeStoreModel" jsId="treeModelLimit" store="nodeStoreTreeLimit"></div>
+
+ <!--<div dojoType="dijit.layout.StackController" containerId="demoStack"></div>-->
+ <div dojoType="dijit.layout.TabContainer" id="demoStack" style="height: 100%">
+ <div title="Tree 1" dojoType="dijit.layout.ContentPane">
+ <h4>Tree of /samplenodes, all defaults</h4>
+ <div dojoType="dijit.Tree" model="treeModel" persist="false"></div>
+ </div>
+ <div title="Tree 2" dojoType="dijit.layout.ContentPane">
+ <h4>Tree of /samplenodes, depth=2, using forest model</h4>
+ <div dojoType="dijit.Tree" model="forestModel" persist="false"></div>
+ </div>
+ <div title="Tree 3" dojoType="dijit.layout.ContentPane">
+ <h4>Tree of /samplenodes, treedepth=3</h4>
+ <div dojoType="dijit.Tree" model="treeModelLimit" persist="false"></div>
+ </div>
+ <div title="ComboBox 1" dojoType="dijit.layout.ContentPane">
+ <h4>ComboBox of /samplenodes, all defaults</h4>
+ <div dojoType="dijit.form.ComboBox" store="nodeStore" searchAttr="title"></div>
+ </div>
+ <div title="ComboBox 2" dojoType="dijit.layout.ContentPane">
+ <h4>ComboBox of /samplenodes, depth=2</h4>
+ <div dojoType="dijit.form.ComboBox" store="nodeStoreLevel2" searchAttr="title"></div>
+ </div>
+ <div title="ComboBox 3" dojoType="dijit.layout.ContentPane">
+ <h4>ComboBox of /samplenodes, depth=2, deep=false</h4>
+ <div dojoType="dijit.form.ComboBox" store="nodeStoreLevel2NotDeep" searchAttr="title"></div>
+ </div>
+ <div title="FilteringSelect 1" dojoType="dijit.layout.ContentPane">
+ <h4>FilteringSelect of /samplenodes, using search statement: //*[sling:resourceType='sample/node']</h4>
+ <div dojoType="dijit.form.FilteringSelect" store="nodeStoreSearch" searchAttr="title"></div>
+ </div>
+ <div title="Complete" dojoType="dijit.layout.ContentPane">
+ <div dojoType="dijit.layout.BorderContainer" design="sidebar" gutters="true" liveSplitters="true" id="borderContainer">
+ <div dojoType="dijit.layout.ContentPane" splitter="true" region="leading" style="width: 20%;">
+ <div dojoType="dijit.Tree" model="treeModel" persist="false">
+ <script type="dojo/connect" event="onClick" args="nodeItem,nodeWidget">
+ propertyStore.setUrl(nodeItem.uri);
+ dijit.byId("nodePropGrid").setStore(propertyStore);
+ </script>
+ </div>
+ </div>
+ <div id="propGrid" dojoType="dijit.layout.ContentPane" region="center">
+ <div dojoType="dijit.layout.BorderContainer" gutters="true" liveSplitters="true" id="propContainer">
+ <div dojoType="dijit.layout.ContentPane" region="top">
+ <input id="newPropertyName" dojoType="dijit.form.TextBox" value=""/>
+ <input id="newPropertyValue" dojoType="dijit.form.TextBox" value=""/>
+ <div dojoType="dijit.form.Button" label="Add Property">
+ <script type="dojo/connect" event="onClick">
+ var newItem= {name: dijit.byId('newPropertyName').getValue(),value: dijit.byId('newPropertyValue').getValue()};
+ propertyStore.newItem(newItem);
+ dijit.byId("nodePropGrid").setStore(propertyStore);
+ </script>
+ </div>
+ </div>
+ <div dojoType="dijit.layout.ContentPane" region="center">
+ <div id="nodePropGrid"
+ dojoType="dojox.grid.DataGrid"
+ store="propertyStore"
+ structure="nodeLayout"
+ rowsPerPage="40">
+ <script type="dojo/connect" event="onApplyCellEdit">
+ // necessary because v1.2.3 grid keeps internal item cache & fetchItemByIdentity returns new item not ref to existing
+ dijit.byId("nodePropGrid").setStore(propertyStore);
+ </script>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+</body>
+</html>
+
+
Propchange: incubator/sling/trunk/contrib/extensions/dojo-sling/src/main/resources/SLING-INF/content/dojox/data/demo/demo4.html
------------------------------------------------------------------------------
svn:eol-style = native