cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pplaque...@apache.org
Subject [49/51] [partial] [cordova-tizen] Tizen SDK 2.2 support mores samples
Date Tue, 10 Sep 2013 18:04:54 GMT
http://git-wip-us.apache.org/repos/asf/cordova-tizen/blob/4ebce38e/samples/TizenWebUI-sample-v1/icon.png
----------------------------------------------------------------------
diff --git a/samples/TizenWebUI-sample-v1/icon.png b/samples/TizenWebUI-sample-v1/icon.png
new file mode 100644
index 0000000..c6fdaac
Binary files /dev/null and b/samples/TizenWebUI-sample-v1/icon.png differ

http://git-wip-us.apache.org/repos/asf/cordova-tizen/blob/4ebce38e/samples/TizenWebUI-sample-v1/page/page1.css
----------------------------------------------------------------------
diff --git a/samples/TizenWebUI-sample-v1/page/page1.css b/samples/TizenWebUI-sample-v1/page/page1.css
new file mode 100644
index 0000000..dfdb200
--- /dev/null
+++ b/samples/TizenWebUI-sample-v1/page/page1.css
@@ -0,0 +1,4 @@
+/*******************************************************************************
+* This file was generated by Tizen Web UI Builder.
+* User should hand edit this file.
+********************************************************************************/
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-tizen/blob/4ebce38e/samples/TizenWebUI-sample-v1/page/page1.html
----------------------------------------------------------------------
diff --git a/samples/TizenWebUI-sample-v1/page/page1.html b/samples/TizenWebUI-sample-v1/page/page1.html
new file mode 100644
index 0000000..6ffe0b6
--- /dev/null
+++ b/samples/TizenWebUI-sample-v1/page/page1.html
@@ -0,0 +1,29 @@
+
+<!--
+This file was generated by Tizen Web UI Builder.
+This file will be auto-generated each and everytime you save your project.
+Do not hand edit this file.
+-->
+<html>
+  <head>
+    <meta charset="utf-8">
+<script>location.href="../app.html";</script>
+  </head>
+  <body>
+    <div data-role="page" id="page1" data-dom-cache="false" data-title="">
+      <div data-role="header" id="header1" data-position="fixed">
+        <h1>Multi-page application</h1>
+      </div>
+      <div data-role="content" data-scroll="y" id="content1" data-handler="false">
+        <div id="htmlblock1" class="">
+          <!--HtmlCodeBlock-Start[#htmlblock1]-->
+					 This is a multi-page boilerplate template that you can copy to build your first Tizen Web UI Framework page.<br> This template contains multiple "page" containers inside.<br> <br> You link to internal pages by referring to the ID of the page you want to show.<br> For example, to <a href="page2.html">link</a> to the page with an ID of "two", my link would have a <span style="font-style:italic">href="page2.html"</span> in the code.
+          <!--HtmlCodeBlock-End[#htmlblock1]-->
+        </div>
+        <h3 id="heading3">Show internal pages:</h3>
+        <div data-role="button" data-corners="false" id="button1" data-style="" data-icon="" data-inline="false">Show page "two"</div>
+        <div data-role="button" data-corners="false" id="button2" data-style="" data-icon="" data-inline="false">Battery</div>
+      </div>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/cordova-tizen/blob/4ebce38e/samples/TizenWebUI-sample-v1/page/page1.js
----------------------------------------------------------------------
diff --git a/samples/TizenWebUI-sample-v1/page/page1.js b/samples/TizenWebUI-sample-v1/page/page1.js
new file mode 100644
index 0000000..278ff72
--- /dev/null
+++ b/samples/TizenWebUI-sample-v1/page/page1.js
@@ -0,0 +1,165 @@
+/*******************************************************************************
+* This file was generated by Tizen Web UI Builder.
+* User should hand edit this file.
+********************************************************************************/
+
+
+function setupBatteryButtonTitle () {
+	
+	console.log("page1, setupBatteryButtonTitle" + gAppBatteryValue + ", "+ gAppBatteryLowValue + ", "+ gAppBatteryCriticalValue  + ", "+ gAppPowerPlugged);
+
+	var levelStr = "Battery Level";
+	
+	console.log 
+
+	if (gAppBatteryValue < gAppBatteryLowValue) {
+		if (gAppBatteryValue < gAppBatteryCriticalValue) {
+			levelStr = "Battery Critical";
+		}
+		else {
+			levelStr = "Battery Low";
+		}
+	}
+	gAppBatteryLevelStr = levelStr + " = " + gAppBatteryValue + "%, Status: " + ((gAppPowerPlugged) ? "Plugged" : "Unplugged");
+	document.getElementById('button2').innerHTML = gAppBatteryLevelStr;
+	
+	console.log ("document.getElementById('button2').innerHTML = " + document.getElementById('button2').innerHTML);
+}
+
+
+/**
+ * @param {Object} event
+ * @base _page1_page
+ * @returns {Boolean}
+*/
+_page1_page.prototype.button1_ontap = function(event) {
+	pageManager.changePage("page2");
+};
+
+/**
+ * @param {Object} event
+ * @base _page1_page
+ * @returns {Boolean}
+*/
+_page1_page.prototype.button2_ontap = function(event) {
+	window.addEventListener("batterystatus", function (info) {
+
+		gAppBatteryValue = info.level;
+		gAppPowerPlugged = info.isPlugged;
+		
+		setupBatteryButtonTitle();
+		}, false);
+
+	window.addEventListener("batterylow", function (info) {
+
+		gAppBatteryValue = info.level;
+		gAppPowerPlugged = info.isPlugged;
+		gAppBatteryLowValue=info.level;
+		
+		setupBatteryButtonTitle();
+	}, false);
+
+	window.addEventListener("batterycritical", function (info) {
+
+		gAppBatteryValue = info.level;
+		gAppPowerPlugged = info.isPlugged;
+		gAppBatteryCriticalValue = info.level;
+		
+		setupBatteryButtonTitle();
+	}, false);
+};
+
+/**
+ * @param {Object} event
+ * @base _page1_page
+ * @returns {Boolean}
+*/
+_page1_page.prototype.onpagecreate = function(event) {
+	console.log("_page1_page.prototype.onpagecreate");
+};
+
+/**
+ * @param {Object} event
+ * @base _page1_page
+ * @returns {Boolean}
+*/
+_page1_page.prototype.onpagebeforecreate = function(event) {
+	console.log("_page1_page.prototype.onpagebeforecreate");
+
+};
+
+/**
+ * @param {Object} event
+ * @base _page1_page
+ * @returns {Boolean}
+*/
+_page1_page.prototype.onpagebeforeshow = function(event) {
+	console.log("_page1_page.prototype.onpagebeforeshow");
+
+};
+
+/**
+ * @param {Object} event
+ * @base _page1_page
+ * @returns {Boolean}
+*/
+_page1_page.prototype.onpageshow = function(event) {
+	console.log("_page1_page.prototype.onpageshow");
+	
+	setupBatteryButtonTitle();
+};
+
+/**
+ * @param {Object} event
+ * @base _page1_page
+ * @returns {Boolean}
+*/
+_page1_page.prototype.onpageinit = function(event) {
+	console.log("_page1_page.prototype.onpageinit");
+	
+
+};
+
+/**
+ * @param {Object} event
+ * @base _page1_page
+ * @returns {Boolean}
+*/
+_page1_page.prototype.onpagebeforehide = function(event) {
+	console.log("_page1_page.prototype.onpagebeforehide");
+
+};
+
+/**
+ * @param {Object} event
+ * @base _page1_page
+ * @returns {Boolean}
+*/
+_page1_page.prototype.onpagehide = function(event) {
+	console.log("_page1_page.prototype.onpagehide");
+
+};
+
+/**
+ * @param {Object} event
+ * @base _page1_page
+ * @returns {Boolean}
+*/
+_page1_page.prototype.onpageremove = function(event) {
+	console.log("_page1_page.prototype.onpageremove");
+
+};
+
+/**
+ * @param {Object} event
+ * @base _page1_page
+ * @returns {Boolean}
+*/
+_page1_page.prototype.onupdatelayout = function(event) {
+	console.log("_page1_page.prototype.onupdatelayout");
+
+};
+
+
+
+

http://git-wip-us.apache.org/repos/asf/cordova-tizen/blob/4ebce38e/samples/TizenWebUI-sample-v1/page/page1.managed.css
----------------------------------------------------------------------
diff --git a/samples/TizenWebUI-sample-v1/page/page1.managed.css b/samples/TizenWebUI-sample-v1/page/page1.managed.css
new file mode 100644
index 0000000..9d6092c
--- /dev/null
+++ b/samples/TizenWebUI-sample-v1/page/page1.managed.css
@@ -0,0 +1,5 @@
+/*******************************************************************************
+* This file was generated by Tizen Web UI Builder.
+* This file will be auto-generated each and everytime you save your project.
+* Do not hand edit this file.
+********************************************************************************/

http://git-wip-us.apache.org/repos/asf/cordova-tizen/blob/4ebce38e/samples/TizenWebUI-sample-v1/page/page1.managed.js
----------------------------------------------------------------------
diff --git a/samples/TizenWebUI-sample-v1/page/page1.managed.js b/samples/TizenWebUI-sample-v1/page/page1.managed.js
new file mode 100644
index 0000000..e2a5e9d
--- /dev/null
+++ b/samples/TizenWebUI-sample-v1/page/page1.managed.js
@@ -0,0 +1,76 @@
+/*******************************************************************************
+* This file was generated by Tizen Web UI Builder.
+* This file will be auto-generated each and everytime you save your project.
+* Do not hand edit this file.
+********************************************************************************/
+
+// page class
+/**
+*  Object _page1_page()
+*  @super _page
+*  @constructor
+*  @memberOf _page1_page 
+*/
+function _page1_page() {
+}
+
+//inherit _page
+_page1_page.prototype = new _page("page1");
+
+// widget assist
+_page1_page.prototype.header1 = undefined;
+_page1_page.prototype.content1 = undefined;
+_page1_page.prototype.htmlblock1 = undefined;
+_page1_page.prototype.heading3 = undefined;
+_page1_page.prototype.button1 = undefined;
+_page1_page.prototype.button2 = undefined;
+
+// default widget event handler
+_page1_page.prototype.button1_ontap = function(event) {};
+_page1_page.prototype.button2_ontap = function(event) {};
+
+_page1_page.prototype.init_page = function(isStartPage, htmlPath, cssPath, managedCssPath) {
+	this.htmlPath = htmlPath;
+	this.cssPath = cssPath;
+	this.managedCssPath = managedCssPath;
+	this._init_page(function() {
+
+		// widget assist (real object binding)
+
+		/**
+		 * @type jQueryObject
+		 */
+		_page1_page.prototype.header1 = $("#page1 #header1");
+
+		/**
+		 * @type jQueryObject
+		 */
+		_page1_page.prototype.content1 = $("#page1 #content1");
+
+		/**
+		 * @type jQueryObject
+		 */
+		_page1_page.prototype.htmlblock1 = $("#page1 #htmlblock1");
+
+		/**
+		 * @type jQueryObject
+		 */
+		_page1_page.prototype.heading3 = $("#page1 #heading3");
+
+		/**
+		 * @type jQueryObject
+		 */
+		_page1_page.prototype.button1 = $("#page1 #button1");
+
+		/**
+		 * @type jQueryObject
+		 */
+		_page1_page.prototype.button2 = $("#page1 #button2");
+
+		// bind widget event handler
+		_page1_page.prototype.button1.bind("tap", function(event) { _page1_page.prototype.button1_ontap(event); });
+		_page1_page.prototype.button2.bind("tap", function(event) { _page1_page.prototype.button2_ontap(event); });
+
+	}, isStartPage);
+
+};

http://git-wip-us.apache.org/repos/asf/cordova-tizen/blob/4ebce38e/samples/TizenWebUI-sample-v1/page/page1.page
----------------------------------------------------------------------
diff --git a/samples/TizenWebUI-sample-v1/page/page1.page b/samples/TizenWebUI-sample-v1/page/page1.page
new file mode 100644
index 0000000..b4c5a7b
--- /dev/null
+++ b/samples/TizenWebUI-sample-v1/page/page1.page
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<tizenFile>
+    <fileInfo>
+        <type>tizen-page</type>
+        <version>0.0.2</version>
+        <desc>Tizen Web UI Builder Project</desc>
+    </fileInfo>
+    <document>
+        <documentInfo>
+            <title>test</title>
+            <author>noname</author>
+            <version>0.1.1</version>
+        </documentInfo>
+        <documentData>
+            <tizen.css/>
+            <tizen.doc>
+                <tizen.page id="page1" data-dom-cache="false" data-title="" onpagebeforecreate="onpagebeforecreate" onpagecreate="onpagecreate" onpageinit="onpageinit" onpagebeforeshow="onpagebeforeshow" onpageshow="onpageshow" onpagebeforehide="onpagebeforehide" onpagehide="onpagehide" onpageremove="onpageremove" onupdatelayout="onupdatelayout">
+                    <tizen.header id="header1" text="Multi-page application" text2="" data-position="fixed" icon-id="" src=""/>
+                    <tizen.content id="content1" data-handler="false">
+                        <html.htmlblock id="htmlblock1" class="">This is a multi-page boilerplate template that you can copy to build your first Tizen Web UI Framework page.&lt;br&gt; This template contains multiple "page" containers inside.&lt;br&gt; &lt;br&gt; You link to internal pages by referring to the ID of the page you want to show.&lt;br&gt; For example, to &lt;a href="page2.html"&gt;link&lt;/a&gt; to the page with an ID of "two", my link would have a &lt;span style="font-style:italic"&gt;href="page2.html"&lt;/span&gt; in the code.</html.htmlblock>
+                        <html.heading id="heading3" text="Show internal pages:" size="3"/>
+                        <tizen.button id="button1" text="Show page &quot;two&quot;" data-style="" data-icon="" data-iconpos="left" data-inline="false" ontap="button1_ontap"/>
+                        <tizen.button id="button2" text="Battery" data-style="" data-icon="" data-iconpos="left" data-inline="false" ontap="button2_ontap"/>
+                    </tizen.content>
+                </tizen.page>
+            </tizen.doc>
+        </documentData>
+    </document>
+</tizenFile>

http://git-wip-us.apache.org/repos/asf/cordova-tizen/blob/4ebce38e/samples/TizenWebUI-sample-v1/page/page2.css
----------------------------------------------------------------------
diff --git a/samples/TizenWebUI-sample-v1/page/page2.css b/samples/TizenWebUI-sample-v1/page/page2.css
new file mode 100644
index 0000000..dfdb200
--- /dev/null
+++ b/samples/TizenWebUI-sample-v1/page/page2.css
@@ -0,0 +1,4 @@
+/*******************************************************************************
+* This file was generated by Tizen Web UI Builder.
+* User should hand edit this file.
+********************************************************************************/
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-tizen/blob/4ebce38e/samples/TizenWebUI-sample-v1/page/page2.html
----------------------------------------------------------------------
diff --git a/samples/TizenWebUI-sample-v1/page/page2.html b/samples/TizenWebUI-sample-v1/page/page2.html
new file mode 100644
index 0000000..9fe1541
--- /dev/null
+++ b/samples/TizenWebUI-sample-v1/page/page2.html
@@ -0,0 +1,28 @@
+
+<!--
+This file was generated by Tizen Web UI Builder.
+This file will be auto-generated each and everytime you save your project.
+Do not hand edit this file.
+-->
+<html>
+  <head>
+    <meta charset="utf-8">
+<script>location.href="../app.html";</script>
+  </head>
+  <body>
+    <div data-role="page" id="page2" data-dom-cache="false" data-title="">
+      <div data-role="header" id="header1" data-position="fixed">
+        <h1>Two</h1>
+      </div>
+      <div data-role="content" data-scroll="y" id="content1" data-handler="false">
+        <div id="htmlblock1" class="">
+          <!--HtmlCodeBlock-Start[#htmlblock1]-->
+					 I have an id of "two" on my page container. I'm the second page container in this multi-page template.
+          <!--HtmlCodeBlock-End[#htmlblock1]-->
+        </div>
+        <div data-role="button" data-corners="false" id="button1" data-style="" data-icon="" data-inline="false">Back to page "one"</div>
+        <div data-role="button" data-corners="false" id="button2" data-style="" data-icon="" data-inline="false">Battery</div>
+      </div>
+    </div>
+  </body>
+</html>

http://git-wip-us.apache.org/repos/asf/cordova-tizen/blob/4ebce38e/samples/TizenWebUI-sample-v1/page/page2.js
----------------------------------------------------------------------
diff --git a/samples/TizenWebUI-sample-v1/page/page2.js b/samples/TizenWebUI-sample-v1/page/page2.js
new file mode 100644
index 0000000..3cd47f8
--- /dev/null
+++ b/samples/TizenWebUI-sample-v1/page/page2.js
@@ -0,0 +1,156 @@
+/*******************************************************************************
+* This file was generated by Tizen Web UI Builder.
+* User should hand edit this file.
+********************************************************************************/
+
+function setupBatteryButtonTitle () {
+	
+	console.log("page2, setupBatteryButtonTitle" + gAppBatteryValue + ", "+ gAppBatteryLowValue + ", "+ gAppBatteryCriticalValue  + ", "+ gAppPowerPlugged);
+
+	var levelStr = "Battery Level";
+	
+	if (gAppBatteryValue < gAppBatteryLowValue) {
+		if (gAppBatteryValue < gAppBatteryCriticalValue) {
+			levelStr = "Battery Critical";
+		}
+		else {
+			levelStr = "Battery Low";
+		}
+	}
+	gAppBatteryLevelStr = levelStr + " = " + gAppBatteryValue + "%, Status: " + ((gAppPowerPlugged) ? "Plugged" : "Unplugged");
+	document.getElementById('button2').innerHTML = gAppBatteryLevelStr;
+	
+	console.log ("document.getElementById('button2').innerHTML = " + document.getElementById('button2').innerHTML);
+}
+
+
+/**
+ * @param {Object} event
+ * @base _page2_page
+ * @returns {Boolean}
+*/
+_page2_page.prototype.button1_ontap = function(event) {
+	history.back();
+};
+/**
+ * @param {Object} event
+ * @base _page2_page
+ * @returns {Boolean}
+*/
+_page2_page.prototype.button2_ontap = function(event) {
+	window.addEventListener("batterystatus", function (info) {
+		var levelStr = "Battery Level";
+
+		gAppBatteryValue = info.level;
+		gAppPowerPlugged = info.isPlugged;
+		
+		setupBatteryButtonTitle();
+	}, false);
+
+	window.addEventListener("batterylow", function (info) {
+		var levelStr = "Battery Level";
+
+		gAppBatteryValue = info.level;
+		gAppPowerPlugged = info.isPlugged;
+		gAppBatteryLowValue = info.level;
+		
+		setupBatteryButtonTitle();
+	}, false);
+
+	window.addEventListener("batterycritical", function (info) {
+		var levelStr = "Battery Level";
+
+		gAppBatteryValue = info.level;
+		gAppPowerPlugged = info.isPlugged;
+		gAppBatteryCriticalValue = info.level;
+		
+		setupBatteryButtonTitle();
+	}, false);
+};
+
+/**
+ * @param {Object} event
+ * @base _page2_page
+ * @returns {Boolean}
+*/
+_page2_page.prototype.onpagebeforecreate = function(event) {
+	console.log("_page2_page.prototype.onpagebeforecreate");
+
+};
+
+/**
+ * @param {Object} event
+ * @base _page2_page
+ * @returns {Boolean}
+*/
+_page2_page.prototype.onpagecreate = function(event) {
+	console.log("_page2_page.prototype.onpagecreate");
+};
+
+
+/**
+ * @param {Object} event
+ * @base _page2_page
+ * @returns {Boolean}
+*/
+_page2_page.prototype.onpageinit = function(event) {
+	console.log("_page2_page.prototype.onpageinit");
+
+};
+
+/**
+ * @param {Object} event
+ * @base _page2_page
+ * @returns {Boolean}
+*/
+_page2_page.prototype.onpagebeforeshow = function(event) {
+	console.log("_page2_page.prototype.onpagebeforeshow");
+};
+
+/**
+ * @param {Object} event
+ * @base _page2_page
+ * @returns {Boolean}
+*/
+_page2_page.prototype.onpageshow = function(event) {
+	console.log("_page2_page.prototype.onpageshow");
+	
+	setupBatteryButtonTitle();
+};
+
+
+/**
+ * @param {Object} event
+ * @base _page2_page
+ * @returns {Boolean}
+*/
+_page2_page.prototype.onpagebeforehide = function(event) {
+	console.log("_page2_page.prototype.onpagebeforehide");
+};
+
+/**
+ * @param {Object} event
+ * @base _page2_page
+ * @returns {Boolean}
+*/
+_page2_page.prototype.onpagehide = function(event) {
+	console.log("_page2_page.prototype.onpagehide");
+};
+
+/**
+ * @param {Object} event
+ * @base _page2_page
+ * @returns {Boolean}
+*/
+_page2_page.prototype.onpageremove = function(event) {
+	console.log("_page2_page.prototype.onpageremove");
+};
+
+/**
+ * @param {Object} event
+ * @base _page2_page
+ * @returns {Boolean}
+*/
+_page2_page.prototype.onupdatelayout = function(event) {
+	console.log("_page2_page.prototype.onupdatelayout");
+};
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-tizen/blob/4ebce38e/samples/TizenWebUI-sample-v1/page/page2.managed.css
----------------------------------------------------------------------
diff --git a/samples/TizenWebUI-sample-v1/page/page2.managed.css b/samples/TizenWebUI-sample-v1/page/page2.managed.css
new file mode 100644
index 0000000..9d6092c
--- /dev/null
+++ b/samples/TizenWebUI-sample-v1/page/page2.managed.css
@@ -0,0 +1,5 @@
+/*******************************************************************************
+* This file was generated by Tizen Web UI Builder.
+* This file will be auto-generated each and everytime you save your project.
+* Do not hand edit this file.
+********************************************************************************/

http://git-wip-us.apache.org/repos/asf/cordova-tizen/blob/4ebce38e/samples/TizenWebUI-sample-v1/page/page2.managed.js
----------------------------------------------------------------------
diff --git a/samples/TizenWebUI-sample-v1/page/page2.managed.js b/samples/TizenWebUI-sample-v1/page/page2.managed.js
new file mode 100644
index 0000000..12bffa0
--- /dev/null
+++ b/samples/TizenWebUI-sample-v1/page/page2.managed.js
@@ -0,0 +1,70 @@
+/*******************************************************************************
+* This file was generated by Tizen Web UI Builder.
+* This file will be auto-generated each and everytime you save your project.
+* Do not hand edit this file.
+********************************************************************************/
+
+// page class
+/**
+*  Object _page2_page()
+*  @super _page
+*  @constructor
+*  @memberOf _page2_page 
+*/
+function _page2_page() {
+}
+
+//inherit _page
+_page2_page.prototype = new _page("page2");
+
+// widget assist
+_page2_page.prototype.header1 = undefined;
+_page2_page.prototype.content1 = undefined;
+_page2_page.prototype.htmlblock1 = undefined;
+_page2_page.prototype.button1 = undefined;
+_page2_page.prototype.button2 = undefined;
+
+// default widget event handler
+_page2_page.prototype.button1_ontap = function(event) {};
+_page2_page.prototype.button2_ontap = function(event) {};
+
+_page2_page.prototype.init_page = function(isStartPage, htmlPath, cssPath, managedCssPath) {
+	this.htmlPath = htmlPath;
+	this.cssPath = cssPath;
+	this.managedCssPath = managedCssPath;
+	this._init_page(function() {
+
+		// widget assist (real object binding)
+
+		/**
+		 * @type jQueryObject
+		 */
+		_page2_page.prototype.header1 = $("#page2 #header1");
+
+		/**
+		 * @type jQueryObject
+		 */
+		_page2_page.prototype.content1 = $("#page2 #content1");
+
+		/**
+		 * @type jQueryObject
+		 */
+		_page2_page.prototype.htmlblock1 = $("#page2 #htmlblock1");
+
+		/**
+		 * @type jQueryObject
+		 */
+		_page2_page.prototype.button1 = $("#page2 #button1");
+
+		/**
+		 * @type jQueryObject
+		 */
+		_page2_page.prototype.button2 = $("#page2 #button2");
+
+		// bind widget event handler
+		_page2_page.prototype.button1.bind("tap", function(event) { _page2_page.prototype.button1_ontap(event); });
+		_page2_page.prototype.button2.bind("tap", function(event) { _page2_page.prototype.button2_ontap(event); });
+
+	}, isStartPage);
+
+};

http://git-wip-us.apache.org/repos/asf/cordova-tizen/blob/4ebce38e/samples/TizenWebUI-sample-v1/page/page2.page
----------------------------------------------------------------------
diff --git a/samples/TizenWebUI-sample-v1/page/page2.page b/samples/TizenWebUI-sample-v1/page/page2.page
new file mode 100644
index 0000000..d64b53e
--- /dev/null
+++ b/samples/TizenWebUI-sample-v1/page/page2.page
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<tizenFile>
+    <fileInfo>
+        <type>tizen-page</type>
+        <version>0.0.2</version>
+        <desc>Tizen Web UI Builder Project</desc>
+    </fileInfo>
+    <document>
+        <documentInfo>
+            <title>test</title>
+            <author>noname</author>
+            <version>0.1.1</version>
+        </documentInfo>
+        <documentData>
+            <tizen.css/>
+            <tizen.doc>
+                <tizen.page id="page2" data-dom-cache="false" data-title="" onpagebeforecreate="onpagebeforecreate" onpagecreate="onpagecreate" onpageinit="onpageinit" onpagebeforeshow="onpagebeforeshow" onpageshow="onpageshow" onpagebeforehide="onpagebeforehide" onpagehide="onpagehide" onpageremove="onpageremove" onupdatelayout="onupdatelayout">
+                    <tizen.header id="header1" text="Two" text2="" data-position="fixed" icon-id="" src=""/>
+                    <tizen.content id="content1" data-handler="false">
+                        <html.htmlblock id="htmlblock1" class="">I have an id of "two" on my page container. I'm the second page container in this multi-page template.</html.htmlblock>
+                        <tizen.button id="button1" text="Back to page &quot;one&quot;" data-style="" data-icon="" data-iconpos="left" data-inline="false" ontap="button1_ontap"/>
+                        <tizen.button id="button2" text="Battery" data-style="" data-icon="" data-iconpos="left" data-inline="false" ontap="button2_ontap"/>
+                    </tizen.content>
+                </tizen.page>
+            </tizen.doc>
+        </documentData>
+    </document>
+</tizenFile>

http://git-wip-us.apache.org/repos/asf/cordova-tizen/blob/4ebce38e/samples/TizenWebUI-sample-v1/tizen-ui-builder-fw/app-entry.js
----------------------------------------------------------------------
diff --git a/samples/TizenWebUI-sample-v1/tizen-ui-builder-fw/app-entry.js b/samples/TizenWebUI-sample-v1/tizen-ui-builder-fw/app-entry.js
new file mode 100644
index 0000000..b12a573
--- /dev/null
+++ b/samples/TizenWebUI-sample-v1/tizen-ui-builder-fw/app-entry.js
@@ -0,0 +1,48 @@
+/*******************************************************************************
+ * Tizen UI Builder Framework 0.2.2
+ * Application entry manager
+ * 
+ * @generated Tizen UI Builder
+ * @attribute managed, readonly, static
+ *******************************************************************************
+ */
+
+// entry
+$(function() {
+	if (!app)
+		return;
+
+	// bind user unload event handler
+	if (app.onunload)
+		$(window).unload(app.onunload);
+
+	// call user entry
+	if (app.onload)
+		app.onload();
+
+	if (!document.webkitHidden)
+		app.onshow();
+
+	// event handler for detecting when visibility changes
+	document.addEventListener("webkitvisibilitychange", function() {
+		if (document.webkitHidden) {
+			app.onhide();
+		} else {
+			app.onshow();
+		}
+	}, false);
+	
+	// event handler for detecting when hardware key clicked
+	$(window).on("tizenhwkey", function(e) {
+		if (e.originalEvent.keyName == "back") {
+			window.history.back();
+		}
+	});
+
+	var startPageId = app.getStartPageId();
+	if (startPageId) {
+		pageManager.changePage(startPageId);
+	}
+});
+
+if (app && app.init) app.init();

http://git-wip-us.apache.org/repos/asf/cordova-tizen/blob/4ebce38e/samples/TizenWebUI-sample-v1/tizen-ui-builder-fw/page-system.js
----------------------------------------------------------------------
diff --git a/samples/TizenWebUI-sample-v1/tizen-ui-builder-fw/page-system.js b/samples/TizenWebUI-sample-v1/tizen-ui-builder-fw/page-system.js
new file mode 100644
index 0000000..635d77e
--- /dev/null
+++ b/samples/TizenWebUI-sample-v1/tizen-ui-builder-fw/page-system.js
@@ -0,0 +1,350 @@
+/*******************************************************************************
+ * Tizen UI Builder Framework 0.2.3
+ * Page System manager
+ * 
+ * @generated Tizen UI Builder
+ * @attribute managed, readonly, static
+ *******************************************************************************
+ */
+
+/**
+ * Page base class
+ * @param {String} pageID
+ */
+function _page(pageID) {
+	this.pageID = pageID;
+	this.jqID = "#" + this.pageID;
+	/**
+	 * Full path for html file.
+	 * @type String
+	 */
+	this.htmlPath = undefined;	// will be replaced.
+	/**
+	 * Full path for css file.
+	 * @type String
+	 */
+	this.managedCssPath = undefined;	// will be replaced.
+	/**
+	 * Full path for css file.
+	 * @type String
+	 */
+	this.cssPath = undefined;	// will be replaced.
+	
+	/**
+	 * Page object
+	 * @type jQueryObject
+	 */
+	this.obj = undefined;
+	// default event handler
+	/**
+	 * event-handler onpagebeforecreate(event)
+	 * @param {Object} event
+	 * @returns {Boolean}
+	 */
+	this.onpagebeforecreate = function(event) {};
+	/**
+	 * event-handler onpagecreate(event)
+	 * @param {Object} event
+	 * @returns {Boolean}
+	 */
+	this.onpagecreate = function(event) {};
+	/**
+	 * event-handler onpageinit(event)
+	 * @param {Object} event
+	 * @returns {Boolean}
+	 */
+	this.onpageinit = function(event) {};
+	/**
+	 * event-handler onpagebeforeshow(event)
+	 * @param {Object} event
+	 * @returns {Boolean}
+	 */
+	this.onpagebeforeshow = function(event) {};
+	/**
+	 * event-handler onpageshow(event)
+	 * @param {Object} event
+	 * @returns {Boolean}
+	 */
+	this.onpageshow = function(event) {};
+	/**
+	 * event-handler onpagebeforehide(event)
+	 * @param {Object} event
+	 * @returns {Boolean}
+	 */
+	this.onpagebeforehide = function(event) {};
+	/**
+	 * event-handler onpagehide(event)
+	 * @param {Object} event
+	 * @returns {Boolean}
+	 */
+	this.onpagehide = function(event) {};
+	/**
+	 * event-handler onpageremove(event)
+	 * @param {Object} event
+	 * @returns {Boolean}
+	 */
+	this.onpageremove = function(event) {};
+	/**
+	 * event-handler onupdatelayout(event)
+	 * @param {Object} event
+	 * @returns {Boolean}
+	 */
+	this.onupdatelayout = function(event) {};
+}
+
+// default event handler
+/**
+ * function _init_page(initFunc)
+ * @param {function} initFunc
+ * @param {Boolean} isStartPage
+ */
+_page.prototype._init_page = function(initFunc, isStartPage) {
+	// page object
+	var _obj = this.obj = $(this.jqID);
+	var _basePage = this;
+	
+	_obj.live("pageinit", initFunc);
+	
+	var _cssPath = this.cssPath;
+	var _managedCssPath = this.managedCssPath;
+	var _currentPageId = this.pageID;
+	_obj.live("pageinit", function(event) {
+		var managedCssLink = document.createElement('link');
+		managedCssLink.setAttribute('rel', 'stylesheet');
+		managedCssLink.setAttribute('href', _managedCssPath);
+		
+		var cssLink = document.createElement('link');
+		cssLink.setAttribute('rel', 'stylesheet');
+		cssLink.setAttribute('href', _cssPath);
+
+		var head = document.getElementsByTagName('head')[0];
+		if(head) {
+			$(head).append(cssLink);
+			$(head).append(managedCssLink);
+		}
+	});
+	_obj.live("pagebeforeshow", function(event) {
+		app.setCurrentPageId(_currentPageId);
+	});
+	_obj.live("pagebeforehide", function(event) {
+		app.setCurrentPageId(undefined);
+	});
+	_obj.live("pageremove", function(event) {			
+		var cssLinks = document.getElementsByTagName('head')[0].getElementsByTagName('link');				
+		for (var i = (cssLinks.length-1); i >= 0; i--) {
+			var link = cssLinks[i];
+			
+			if (link.getAttribute('href') == _managedCssPath || link.getAttribute('href') == _cssPath) {				
+				link.parentNode.removeChild(link);				
+			}
+		}
+		
+	});
+	_obj.live("pagehide", function(event) {
+		if (app.getCurrentPageId() == undefined) {
+			tizen.application.getCurrentApplication().exit();
+		}
+	});
+	
+	_obj.live("pagebeforecreate", function(event){_basePage.onpagebeforecreate(event);});
+	_obj.live("pagecreate", function(event){_basePage.onpagecreate(event);});
+	_obj.live("pageinit", function(event){_basePage.onpageinit(event);});
+	_obj.live("pagebeforeshow", function(event){_basePage.onpagebeforeshow(event);});
+	_obj.live("pageshow", function(event){_basePage.onpageshow(event);});
+	_obj.live("pagebeforehide", function(event){_basePage.onpagebeforehide(event);});
+	_obj.live("pagehide", function(event){_basePage.onpagehide(event);});
+	_obj.live("pageremove", function(event){_basePage.onpageremove(event);});
+	_obj.live("updatelayout", function(event){_basePage.onupdatelayout(event);});
+};
+
+/**
+ * Page manager class
+ * @constructor
+ * @param {String} pageDir
+ * @returns {_pageManager}
+ */
+function _pageManager() {
+	var _count = 0;
+	
+	var _pages = [];
+	
+	/**
+	 * getVersion()
+	 * @returns {String} 
+	 */
+	this.getVersion = function() {
+		return "0.2.4";
+	};
+	
+	/**
+	 * addPage(page)
+	 * @param {_page} pageObj
+	 * @param {String} htmlPath
+	 * @param {String} cssPath
+	 * @param {String} managedCssPath
+	 * @returns {Number} pages count
+	 */
+	this.addPage = function(pageObj) {
+		if (pageObj instanceof _page === false) {
+			throw page + " is not instance of _page";
+		}
+		_pages[pageObj.pageID] = pageObj;
+		return (++_count);
+	};
+	
+	/**
+	 * getHtmlPath(pageID)
+	 * @param {String} pageID
+	 * @returns {String}
+	 */
+	this.getHtmlPath = function(pageID) {
+		var pageObj = _pages[pageID];
+		if (pageObj == undefined) {
+			throw pageID + " is not exist in pageManager";
+		} else {
+			return pageObj.htmlPath;
+		}
+	};
+	
+	/**
+	 * getPath(pageID) - deprecated. use getHtmlPath()
+	 * @param {String} pageID
+	 * @returns {String}
+	 */
+	this.getPath = this.getHtmlPath;
+	
+	/**
+	 * getManagedCssPath(pageID)
+	 * @param {String} pageID
+	 * @returns {String}
+	 */
+	this.getManagedCssPath = function(pageID) {
+		var pageObj = _pages[pageID];
+		if (pageObj == undefined) {
+			throw pageID + " is not exist in pageManager";
+		} else {
+			return pageObj.managedCssPath;
+		}
+	};
+	
+	/**
+	 * getCssPath(pageID)
+	 * @param {String} pageID
+	 * @returns {String}
+	 */
+	this.getCssPath = function(pageID) {
+		var pageObj = _pages[pageID];
+		if (pageObj == undefined) {
+			throw pageID + " is not exist in pageManager";
+		} else {
+			return pageObj.cssPath;
+		}
+	};
+
+	/**
+	 * getPageObj(pageID)
+	 * @param {String} pageID
+	 * @param {Object} options
+	 */
+	this.getPageObj = function(pageID) {
+		var pageObj = _pages[pageID];
+		if (pageObj == undefined) {
+			throw pageID + " is not exist in pageManager";
+		} else {
+			return pageObj;
+		}
+
+	};
+
+	/**
+     * changePage(pageID, options)
+     * @param {String} pageID
+     * @param {Object} options
+     */
+	this.changePage = function(pageID, options) {
+		$.mobile.changePage(pageManager.getHtmlPath(pageID), options);
+	};
+}
+
+var pageManager = new _pageManager("");
+
+
+/**
+ * app base class
+ */
+function _app() {
+
+	/**
+	 * startPageId
+	 * @private
+	 */
+	var startPageId =	undefined;
+
+	/**
+	 * startPage
+	 * @deprecated Since version 2.1. You get the startPage using PageManager.
+	 */
+	/*this.startPage = undefined;*/
+
+	/**
+	 * currentPageId
+	 * @private
+	 */
+	var currentPageId = undefined;
+
+	/**
+	 * masterPagePath
+	 * @private
+	 */
+	var masterPagePath = undefined;
+
+	function init() {
+	}
+
+	this.setStartPageId = function(pageId) {
+		startPageId = pageId;
+	}
+
+	this.getStartPageId = function() {
+		return startPageId;
+	};
+
+	this.setMasterPagePath = function(path) {
+		masterPagePath = path;
+	};
+
+	this.getMasterPagePath = function() {
+		return masterPagePath;
+	}
+
+	this.setCurrentPageId = function(pageId) {
+		currentPageId = pageId;
+	};
+
+	this.getCurrentPageId = function() {
+		return currentPageId;
+	}
+
+	/**
+	 * onload()
+	 */
+	this.onload = function() {};
+
+	/**
+	 * onunload()
+	 */
+	this.onunload = function() {};
+
+	/**
+	 * onshow()
+	 */
+	this.onshow = function() {};
+
+	/**
+	 * onhide()
+	 */
+	this.onhide = function() {};
+
+}
+
+var app = new _app();

http://git-wip-us.apache.org/repos/asf/cordova-tizen/blob/4ebce38e/samples/TizenWebUI-sample-v1/tizen-ui-builder-tool/res/descriptors/Tizen-web-ui-fw/CSSProperties.xml
----------------------------------------------------------------------
diff --git a/samples/TizenWebUI-sample-v1/tizen-ui-builder-tool/res/descriptors/Tizen-web-ui-fw/CSSProperties.xml b/samples/TizenWebUI-sample-v1/tizen-ui-builder-tool/res/descriptors/Tizen-web-ui-fw/CSSProperties.xml
new file mode 100644
index 0000000..9108496
--- /dev/null
+++ b/samples/TizenWebUI-sample-v1/tizen-ui-builder-tool/res/descriptors/Tizen-web-ui-fw/CSSProperties.xml
@@ -0,0 +1,165 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE css [
+	<!ENTITY tizen.css.types SYSTEM "tizen.css.types.xml">
+]>
+
+<css>
+    <category name="Background">
+	    <property name="background" type="string" displayName="Background"></property>
+	    <property name="background-attachment" type="string" displayName="Attachment"></property>
+	    <property name="background-color" type="string" displayName="Color" default="#F8F6EF"></property>
+	    <property name="background-image" type="string" displayName="Image"></property>
+	    <property name="background-position" type="background@position" displayName="Position"></property>
+	    <property name="background-repeat" type="background@repeat" displayName="Repeat" default=""></property>
+	    <property name="background-clip" type="string" displayName="Clip"></property>
+	    <property name="background-origin" type="string" displayName="Origin"></property>
+	    <property name="background-size" type="string" displayName="Size"></property>
+    </category>
+    <category name="Border">
+        <property name="border" type="string" displayName="Border"></property>
+        <property name="border-bottom" type="string" displayName="Border Bottom"></property>
+        <property name="border-bottom-color" type="string" displayName="Border Bottom Color"></property>
+        <property name="border-bottom-style" type="string" displayName="Border Bottom Style"></property>
+        <property name="border-bottom-width" type="string" displayName="Border Bottom Width"></property>
+        <property name="border-color" type="string" displayName="Color" default="#000000"></property>
+        <property name="border-left" type="string" displayName="Border Left"></property>
+        <property name="border-left-color" type="string" displayName="Border Left Color"></property>
+        <property name="border-left-style" type="string" displayName="Border Left Style"></property>
+        <property name="border-left-width" type="string" displayName="Border Left Width"></property>
+        <property name="border-right" type="string" displayName="Border Right"></property>
+        <property name="border-right-color" type="string" displayName="Border Right Color"></property>
+        <property name="border-right-style" type="string" displayName="Border Right Style"></property>
+        <property name="border-right-width" type="string" displayName="Border Right Width"></property>
+        <property name="border-style" type="border@style" displayName="Style" default=""></property>
+        <property name="border-top" type="string" displayName="Border Top"></property>
+        <property name="border-top-color" type="string" displayName="Border Top Color"></property>
+        <property name="border-top-style" type="string" displayName="Border Top Style"></property>
+        <property name="border-top-width" type="string" displayName="Border Top Width"></property>
+        <property name="border-width" type="style@size" displayName="Width">
+        	<condition name="integer-max" value="999" error="integer-max"/>
+        </property>
+        <property name="border-bottom-left-radius" type="string" displayName="Border Bottom Left Radius"></property>
+        <property name="border-bottom-right-radius" type="string" displayName="Border Bottom Right Radius"></property>
+        <property name="border-image" type="string" displayName="Border Image"></property>
+        <property name="border-radius" type="string" displayName="Border Radius"></property>
+        <property name="border-top-left-radius" type="string" displayName="Border Top Left Radius"></property>
+        <property name="border-top-right-radius" type="string" displayName="Border Top Right Radius"></property>
+    </category>
+    <category name="Outline">
+        <property name="outline" type="string" displayName="Outline"></property>
+        <property name="outline-color" type="string" displayName="Outline Color"></property>
+        <property name="outline-style" type="string" displayName="Outline Style"></property>
+        <property name="outline-width" type="string" displayName="Outline Width"></property>
+    </category>
+    <category name="Box">
+        <property name="box-shadow" type="string" displayName="Box Shadow"></property>
+        <property name="overflow-x" type="string" displayName="Overflow X"></property>
+        <property name="overflow-y" type="string" displayName="Overflow Y"></property>
+        <property name="overflow-style" type="string" displayName="Overflow Style"></property>
+    </category>
+    <category name="Color">
+    	<property name="color" type="string" displayName="Color" default="#000000"></property>
+        <property name="opacity" type="string" displayName="Opacity"></property>
+    </category>
+    <category name="Dimension">
+        <property name="width" type="style@size" displayName="Width"></property>
+        <property name="height" type="style@size" displayName="Height"></property>
+        <property name="max-width" type="string" displayName="Max Width"></property>
+        <property name="max-height" type="string" displayName="Max Height"></property>
+        <property name="min-width" type="string" displayName="Min Width"></property>
+        <property name="min-height" type="string" displayName="Min Height"></property>
+    </category>
+    <category name="Flexible Box">
+        <property name="box-align" type="string" displayName="Box Align"></property>
+        <property name="box-direction" type="string" displayName="Box Direction"></property>
+        <property name="box-flex" type="string" displayName="Box Flex"></property>
+        <property name="box-ordinal-group" type="string" displayName="Box Ordinal Group"></property>
+        <property name="box-orient" type="string" displayName="Box Orient"></property>
+        <property name="box-pack" type="string" displayName="Box Pack"></property>
+    </category>
+    <category name="Font">
+        <property name="font" type="string" displayName="Font"></property>
+        <property name="font-family" type="font@family" displayName="Font Family"></property>
+        <property name="font-size" type="font@size" displayName="Font Size"></property>
+        <property name="font-style" type="string" displayName="Font Style"></property>
+        <property name="font-variant" type="string" displayName="Font Variant"></property>
+        <property name="font-weight" type="string" displayName="Font Weight"></property>
+        <property name="@font-face" type="string" displayName="Font Face"></property>
+    </category>
+    <category name="Generated Conetent">
+        <property name="content" type="string" displayName="Content"></property>
+        <property name="counter-increment" type="string" displayName="Counter Increment"></property>
+        <property name="counter-reset" type="string" displayName="Counter Reset"></property>
+        <property name="quotes" type="string" displayName="Quotes"></property>
+    </category>
+    <category name="List">
+        <property name="list-style" type="string" displayName="List Style"></property>
+        <property name="list-style-image" type="string" displayName="List Style Image"></property>
+        <property name="list-style-position" type="string" displayName="List Style Position"></property>
+        <property name="list-style-type" type="string" displayName="List Style Type"></property>
+    </category>
+    <category name="Margin">
+        <property name="margin" type="string" displayName="Margin"></property>
+        <property name="margin-bottom" type="style@size" displayName="Bottom"></property>
+        <property name="margin-left" type="style@size" displayName="Left"></property>
+        <property name="margin-right" type="style@size" displayName="Right"></property>
+        <property name="margin-top" type="style@size" displayName="Top"></property>
+    </category>
+    <category name="Multi Coloumn">
+        <property name="column-count" type="string" displayName="Column Count"></property>
+        <property name="column-gap" type="string" displayName="Column Gap"></property>
+        <property name="column-rule" type="string" displayName="Column Rule"></property>
+        <property name="column-rule-color" type="string" displayName="Column Rule Color"></property>
+        <property name="column-rule-style" type="string" displayName="Column Rule Style"></property>
+        <property name="column-rule-width" type="string" displayName="Column Rule Width"></property>
+        <property name="column-span" type="string" displayName="Column Span"></property>
+        <property name="column-width" type="string" displayName="Column Width"></property>
+        <property name="columns" type="string" displayName="Columns"></property>
+    </category>
+    <category name="Padding">
+        <property name="padding" type="string" displayName="Padding"></property>
+        <property name="padding-bottom" type="string" displayName="Padding Bottom"></property>
+        <property name="padding-left" type="string" displayName="Padding Left"></property>
+        <property name="padding-right" type="string" displayName="Padding Right"></property>
+        <property name="padding-top" type="string" displayName="Padding Top"></property>
+    </category>
+    <category name="Positioning">
+        <property name="bottom" type="string" displayName="Bottom"></property>
+        <property name="clear" type="string" displayName="Clear"></property>
+        <property name="clip" type="string" displayName="Clip"></property>
+        <property name="cursor" type="string" displayName="Cursor"></property>
+        <property name="display" type="string" displayName="Display"></property>
+        <property name="float" type="string" displayName="Float"></property>
+        <property name="left" type="string" displayName="Left"></property>
+        <property name="overflow" type="string" displayName="Overflow"></property>
+        <property name="position" type="string" displayName="Position"></property>
+        <property name="right" type="string" displayName="Right"></property>
+        <property name="top" type="string" displayName="Top"></property>
+        <property name="visibility" type="string" displayName="Visibility"></property>
+        <property name="z-index" type="string" displayName="Z-Index"></property>
+    </category>
+    <category name="Text">
+        <property name="color" type="string" displayName="Color" default="#000000"></property>
+        <property name="direction" type="string" displayName="Direction"></property>
+        <property name="letter-spacing" type="string" displayName="Letter Spacing"></property>
+        <property name="line-height" type="string" displayName="Line Height"></property>
+        <property name="text-align" type="string" displayName="Text Align"></property>
+        <property name="text-decoration" type="string" displayName="Text Decoration"></property>
+        <property name="text-indent" type="string" displayName="Text Indent"></property>
+        <property name="text-transform" type="string" displayName="Text Transform"></property>
+        <property name="vertical-align" type="string" displayName="Vertical Align"></property>
+        <property name="white-space" type="string" displayName="White Space"></property>
+        <property name="word-spacing" type="string" displayName="Word Spacing"></property>
+        <property name="text-justify" type="string" displayName="Text Justify"></property>
+        <property name="text-overflow" type="string" displayName="Text Overflow"></property>
+        <property name="text-shadow" type="string" displayName="Text Shadow"></property>
+        <property name="word-break" type="string" displayName="Word Break"></property>
+        <property name="word-wrap" type="string" displayName="Word Wrap"></property>
+    </category>
+    <category name="User Interface">
+        <property name="box-sizing" type="string" displayName="Box Sizing"></property>
+        <property name="outline-offset" type="string" displayName="Outline Offset"></property>
+    </category>
+    <!-- type & event type -->
+	&tizen.css.types;
+</css>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-tizen/blob/4ebce38e/samples/TizenWebUI-sample-v1/tizen-ui-builder-tool/res/descriptors/Tizen-web-ui-fw/DescriptorToCSV.xslt
----------------------------------------------------------------------
diff --git a/samples/TizenWebUI-sample-v1/tizen-ui-builder-tool/res/descriptors/Tizen-web-ui-fw/DescriptorToCSV.xslt b/samples/TizenWebUI-sample-v1/tizen-ui-builder-tool/res/descriptors/Tizen-web-ui-fw/DescriptorToCSV.xslt
new file mode 100644
index 0000000..5ac983a
--- /dev/null
+++ b/samples/TizenWebUI-sample-v1/tizen-ui-builder-tool/res/descriptors/Tizen-web-ui-fw/DescriptorToCSV.xslt
@@ -0,0 +1,139 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+<xsl:output method="text"/>
+<xsl:param name="out_type"/>
+
+
+<xsl:variable name="newline">
+   	<xsl:text disable-output-escaping="yes">
+</xsl:text>
+</xsl:variable>
+
+
+<xsl:template match="/">
+	
+	<xsl:choose>
+		<xsl:when test="$out_type=''">
+			<xsl:message>
+parameter 'out_type' is missing
+run this xslt with 'out_type' parameter
+
+ex) out_type=all_properties
+    
+</xsl:message>
+		</xsl:when>
+
+<!-- 
+		<xsl:when test="$out_type='scheme'">
+			<xsl:call-template name="print_all_elements_and_attributes"/>
+		</xsl:when>
+-->		
+		<xsl:when test="$out_type='all_properties'">
+			<xsl:call-template name="print_all_properties"/>
+		</xsl:when>
+		<!-- 
+		<xsl:when test="$out_type='all_events'">
+			<xsl:call-template name="print_all_events"/>
+		</xsl:when>
+		 -->
+	</xsl:choose>
+	
+</xsl:template>
+
+
+
+<xsl:template name="print_all_properties">
+	<xsl:text>node-category,</xsl:text>
+	<xsl:text>widget,</xsl:text>
+	<xsl:text>name,</xsl:text>
+	<xsl:text>type,</xsl:text>
+	<xsl:text>displayName,</xsl:text>
+	<xsl:text>default,</xsl:text>
+	<xsl:text>initValue,</xsl:text>
+	<xsl:text>category,</xsl:text>
+	<xsl:text>not supported,</xsl:text>
+	<xsl:text>ERROR,</xsl:text>
+	<xsl:value-of select="$newline"/>
+	
+	<xsl:for-each select="//property">
+		<xsl:variable name="node" select="ancestor::widget | ancestor::page"/>
+		<xsl:text>"</xsl:text><xsl:value-of select="name($node)"/><xsl:text>",</xsl:text>
+		<xsl:text>"</xsl:text><xsl:value-of select="$node/@id"/><xsl:text>",</xsl:text>
+		<xsl:text>"</xsl:text><xsl:value-of select="@name"/><xsl:text>",</xsl:text>
+		<xsl:text>"</xsl:text><xsl:value-of select="@type"/><xsl:text>",</xsl:text>
+		<xsl:text>"</xsl:text><xsl:value-of select="@displayName"/><xsl:text>",</xsl:text>
+		<xsl:text>"</xsl:text><xsl:value-of select="@default"/><xsl:text>",</xsl:text>
+		<xsl:text>"</xsl:text><xsl:value-of select="@initValue"/><xsl:text>",</xsl:text>
+		<xsl:text>"</xsl:text><xsl:value-of select="@category"/><xsl:text>",</xsl:text>
+		<xsl:choose>
+			<xsl:when test="ancestor-or-self::*[@notsupported='true']">
+				<xsl:text>"true",</xsl:text>
+			</xsl:when>
+			<xsl:otherwise>
+				<xsl:text>"",</xsl:text>
+			</xsl:otherwise>
+		</xsl:choose>
+		<xsl:for-each select="@*">
+			<xsl:choose>
+				<xsl:when test="name()='name'"/>
+				<xsl:when test="name()='type'"/>
+				<xsl:when test="name()='displayName'"/>
+				<xsl:when test="name()='default'"/>
+				<xsl:when test="name()='initValue'"/>
+				<xsl:when test="name()='category'"/>
+				<xsl:when test="name()='notsupported'"/>
+				<xsl:otherwise>
+					<xsl:value-of select="concat('unsupported attribute : ', name())"/>
+				</xsl:otherwise>
+			</xsl:choose>
+		</xsl:for-each>
+		<xsl:value-of select="$newline"/>
+	</xsl:for-each>
+
+</xsl:template>
+
+<!-- 
+<xsl:template name="print_all_events">
+	
+	<xsl:text>category,widget,name,type</xsl:text><xsl:value-of select="$newline"/>
+
+	<xsl:for-each select="//event">
+		<xsl:variable name="node" select="../.."/>
+		<xsl:value-of select="name($node)"/><xsl:text>,</xsl:text>
+		<xsl:value-of select="$node/@type"/><xsl:text>,</xsl:text>
+		<xsl:value-of select="concat('&quot;', @name, '&quot;')"/><xsl:text>,</xsl:text>
+		<xsl:value-of select="@type"/><xsl:text>,</xsl:text>
+		<xsl:text>,</xsl:text>
+		<xsl:text>,</xsl:text>
+		<xsl:text>,</xsl:text>
+		<xsl:text>,</xsl:text>
+		<xsl:text>,</xsl:text>
+		<xsl:text>,</xsl:text>
+		<xsl:text>,</xsl:text>
+		<xsl:text>,</xsl:text>
+		<xsl:value-of select="$newline"/>
+	</xsl:for-each>
+	
+</xsl:template>
+ -->
+
+<!-- 
+<xsl:template name="print_all_elements_and_attributes">
+	<xsl:text>parent,element,attribute</xsl:text><xsl:value-of select="$newline"/>
+	<xsl:for-each select="//*">
+		<xsl:choose>
+			<xsl:when test="@*">
+				<xsl:for-each select="@*">
+					<xsl:value-of select="concat( name(../..), ',', name(..), ',', name(), $newline)"/>
+				</xsl:for-each>
+			</xsl:when>
+			<xsl:otherwise>
+				<xsl:value-of select="concat( name(..), ',', name(), $newline)"/>
+			</xsl:otherwise>
+		</xsl:choose>
+	</xsl:for-each>
+</xsl:template>
+ -->
+
+</xsl:stylesheet>

http://git-wip-us.apache.org/repos/asf/cordova-tizen/blob/4ebce38e/samples/TizenWebUI-sample-v1/tizen-ui-builder-tool/res/descriptors/Tizen-web-ui-fw/Tizen-web-ui-fw.xml
----------------------------------------------------------------------
diff --git a/samples/TizenWebUI-sample-v1/tizen-ui-builder-tool/res/descriptors/Tizen-web-ui-fw/Tizen-web-ui-fw.xml b/samples/TizenWebUI-sample-v1/tizen-ui-builder-tool/res/descriptors/Tizen-web-ui-fw/Tizen-web-ui-fw.xml
new file mode 100644
index 0000000..13bc1c6
--- /dev/null
+++ b/samples/TizenWebUI-sample-v1/tizen-ui-builder-tool/res/descriptors/Tizen-web-ui-fw/Tizen-web-ui-fw.xml
@@ -0,0 +1,187 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE descriptors [
+	<!ENTITY tizen.types SYSTEM "tizen.types.xml">
+	<!ENTITY tizen.eventtypes SYSTEM "tizen.eventtypes.xml">
+
+	<!ENTITY tizen.page SYSTEM "widget/tizen.page.xml">
+
+	<!ENTITY html.divcontrol SYSTEM "widget/html.divcontrol.widget.xml">
+	<!ENTITY html.formcontrol SYSTEM "widget/html.formcontrol.widget.xml">
+
+	<!ENTITY html.canvas SYSTEM "widget/html.canvas.widget.xml">
+	<!ENTITY html.heading SYSTEM "widget/html.heading.widget.xml">
+	<!ENTITY html.htmlblock SYSTEM "widget/html.htmlblock.widget.xml">
+	<!ENTITY html.image SYSTEM "widget/html.image.widget.xml">
+	<!ENTITY html.label SYSTEM "widget/html.label.widget.xml">
+	<!ENTITY html.link SYSTEM "widget/html.link.widget.xml">
+	<!ENTITY html.submit SYSTEM "widget/html.submit.widget.xml">
+	<!ENTITY html.text SYSTEM "widget/html.text.widget.xml">
+	<!ENTITY html.textarea SYSTEM "widget/html.textarea.widget.xml">
+	<!ENTITY html.textinput SYSTEM "widget/html.textinput.widget.xml">
+
+	<!ENTITY tizen.content SYSTEM "widget/tizen.content.widget.xml">
+	<!ENTITY tizen.footer SYSTEM "widget/tizen.footer.widget.xml">
+	<!ENTITY tizen.header SYSTEM "widget/tizen.header.widget.xml">
+	<!ENTITY tizen.list SYSTEM "widget/tizen.list.widget.xml">
+	<!ENTITY tizen.listdivider SYSTEM "widget/tizen.listdivider.widget.xml">
+	<!ENTITY tizen.listitem SYSTEM "widget/tizen.listitem.widget.xml">
+	<!ENTITY tizen.swipe SYSTEM "widget/tizen.swipe.widget.xml">
+	<!ENTITY tizen.swipeitem SYSTEM "widget/tizen.swipeitem.widget.xml">
+
+	<!ENTITY tizen.audio SYSTEM "widget/tizen.audio.widget.xml">
+	<!ENTITY tizen.button SYSTEM "widget/tizen.button.widget.xml">
+	<!ENTITY tizen.checkboxes SYSTEM "widget/tizen.checkboxes.widget.xml">
+	<!ENTITY tizen.checkboxitem SYSTEM "widget/tizen.checkboxitem.widget.xml">
+	<!ENTITY tizen.datetimepicker SYSTEM "widget/tizen.datetimepicker.widget.xml">
+	<!ENTITY tizen.extendablelist SYSTEM "widget/tizen.extendablelist.widget.xml">
+	<!ENTITY tizen.fliptoggleswitch SYSTEM "widget/tizen.fliptoggleswitch.widget.xml">
+	<!ENTITY tizen.headerbutton SYSTEM "widget/tizen.headerbutton.widget.xml">
+	<!ENTITY tizen.gallery SYSTEM "widget/tizen.gallery.widget.xml">
+	<!ENTITY tizen.galleryitem SYSTEM "widget/tizen.galleryitem.widget.xml">
+	<!ENTITY tizen.listbutton SYSTEM "widget/tizen.listbutton.widget.xml">
+	<!ENTITY tizen.listfliptoggleswitch SYSTEM "widget/tizen.listfliptoggleswitch.widget.xml">
+	<!ENTITY tizen.listitemcolorbar SYSTEM "widget/tizen.listitemcolorbar.widget.xml">
+	<!ENTITY tizen.listitemmaintexticonone SYSTEM "widget/tizen.listitemmaintexticonone.widget.xml">
+	<!ENTITY tizen.listitemmaintexticontwo SYSTEM "widget/tizen.listitemmaintexticontwo.widget.xml">
+	<!ENTITY tizen.listitemsubtexticon SYSTEM "widget/tizen.listitemsubtexticon.widget.xml">
+	<!ENTITY tizen.listitemsubtextone SYSTEM "widget/tizen.listitemsubtextone.widget.xml">
+	<!ENTITY tizen.listitemsubtexttwo SYSTEM "widget/tizen.listitemsubtexttwo.widget.xml">
+	<!ENTITY tizen.listitemthumbnail SYSTEM "widget/tizen.listitemthumbnail.widget.xml">
+	<!ENTITY tizen.progressbar SYSTEM "widget/tizen.progressbar.widget.xml">
+	<!ENTITY tizen.progress SYSTEM "widget/tizen.progress.widget.xml">
+	<!ENTITY tizen.radiobuttons SYSTEM "widget/tizen.radiobuttons.widget.xml">
+	<!ENTITY tizen.radiobuttonitem SYSTEM "widget/tizen.radiobuttonitem.widget.xml">
+	<!ENTITY tizen.searchfilterbar SYSTEM "widget/tizen.searchfilterbar.widget.xml">
+	<!ENTITY tizen.slider SYSTEM "widget/tizen.slider.widget.xml">
+	<!ENTITY tizen.starbutton SYSTEM "widget/tizen.starbutton.widget.xml">
+	<!ENTITY tizen.tabbar SYSTEM "widget/tizen.tabbar.widget.xml">
+	<!ENTITY tizen.tabbaritem SYSTEM "widget/tizen.tabbaritem.widget.xml">
+	<!ENTITY tizen.tokentextarea SYSTEM "widget/tizen.tokentextarea.widget.xml">
+	<!ENTITY tizen.video SYSTEM "widget/tizen.video.widget.xml">
+	<!ENTITY tizen.virtualgrid SYSTEM "widget/tizen.virtualgrid.widget.xml">
+	<!ENTITY tizen.virtuallist SYSTEM "widget/tizen.virtuallist.widget.xml">
+]>
+
+<descriptors xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+	xmlns:tizen="http://www.tizen.org/2012/uibuilder/descriptor">
+	<!--
+		types
+			* primitive types (no need to define type element)
+				: boolean, integer, string
+
+		property
+			* name attribute : do not use reserved names
+				reserved names : id, content
+	-->
+
+	<doc id="tizen.doc">
+		<relations>
+			<content ids="tizen.page"/>
+		</relations>
+
+		<xsl-for-output>
+			<xsl:output method="html" encoding="utf-8" indent="yes"/>
+			<xsl:template match="/">
+				<xsl:comment>
+This file was generated by Tizen Web UI Builder.
+This file will be auto-generated each and everytime you save your project.
+Do not hand edit this file.
+</xsl:comment>
+			<xsl:apply-templates select="*"/>
+			</xsl:template>
+			<xsl:template name="print-part-id">
+				<xsl:if test="@part-id">
+					<xsl:attribute name="part-id">
+						<xsl:value-of select="@part-id"/>
+					</xsl:attribute>
+				</xsl:if>
+			</xsl:template>
+
+			<xsl:template match="@*" mode="simple-property">
+				<xsl:if test="name() != 'part-id' and starts-with(name(), 'on') = false and starts-with(name(), 'group') = false">
+					<xsl:attribute name="{name()}">
+						<xsl:value-of select="."/>
+					</xsl:attribute>
+				</xsl:if>
+			</xsl:template>
+
+			<xsl:template match="tizen.doc">
+				<html>
+					<head>
+						<meta charset="utf-8"/>
+						<script>location.href="../app.html";</script>
+					</head>
+					<body>
+						<xsl:apply-templates select="*"/>
+					</body>
+				</html>
+			</xsl:template>
+		</xsl-for-output>
+	</doc>
+
+	&tizen.page;
+
+	<!-- HTML components in alphabetical order -->
+	&html.divcontrol;
+	&html.formcontrol;
+
+	&html.canvas;
+	&html.heading;
+	&html.htmlblock;
+	&html.image;
+	&html.label;
+	&html.link;
+	&html.submit;
+	&html.text;
+	&html.textarea;
+	&html.textinput;
+
+	<!-- Tizen components in alphabetical order -->
+	<!-- &tizen.audio; -->
+	&tizen.content;
+	&tizen.footer;
+	&tizen.header;
+	&tizen.list;
+	&tizen.listdivider;
+	&tizen.listitem;
+	&tizen.swipe;
+	&tizen.swipeitem;
+
+	&tizen.button;
+	&tizen.checkboxes;
+	&tizen.checkboxitem;
+	&tizen.datetimepicker;
+	<!-- &tizen.extendablelist; -->
+	&tizen.fliptoggleswitch;
+	&tizen.headerbutton;
+	<!-- &tizen.gallery;
+	&tizen.galleryitem; -->
+	&tizen.listbutton;
+	&tizen.listfliptoggleswitch;
+	&tizen.listitemcolorbar;
+	&tizen.listitemmaintexticonone;
+	&tizen.listitemmaintexticontwo;
+	&tizen.listitemsubtexticon;
+	&tizen.listitemsubtextone;
+	&tizen.listitemsubtexttwo;
+	&tizen.listitemthumbnail;
+	&tizen.progressbar;
+	<!-- &tizen.progress; -->
+	&tizen.radiobuttons;
+	&tizen.radiobuttonitem;
+	&tizen.searchfilterbar;
+	&tizen.slider;
+	&tizen.starbutton;
+	&tizen.tabbar;
+	&tizen.tabbaritem;
+	&tizen.tokentextarea;
+	<!-- &tizen.video;
+	&tizen.virtualgrid;
+	&tizen.virtuallist; -->
+
+	<!-- type & event type -->
+	&tizen.types;
+	&tizen.eventtypes;
+
+</descriptors>

http://git-wip-us.apache.org/repos/asf/cordova-tizen/blob/4ebce38e/samples/TizenWebUI-sample-v1/tizen-ui-builder-tool/res/descriptors/Tizen-web-ui-fw/tizen.css.types.xml
----------------------------------------------------------------------
diff --git a/samples/TizenWebUI-sample-v1/tizen-ui-builder-tool/res/descriptors/Tizen-web-ui-fw/tizen.css.types.xml b/samples/TizenWebUI-sample-v1/tizen-ui-builder-tool/res/descriptors/Tizen-web-ui-fw/tizen.css.types.xml
new file mode 100644
index 0000000..385f2de
--- /dev/null
+++ b/samples/TizenWebUI-sample-v1/tizen-ui-builder-tool/res/descriptors/Tizen-web-ui-fw/tizen.css.types.xml
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<types>
+	<type id="background@position">
+		<constant value="" 		         	displayName="(None)" />
+		<constant value="left top"          displayName="left top" />
+		<constant value="left center" 		displayName="left center" />
+		<constant value="left bottom" 		displayName="left bottom" />
+		<constant value="right top" 		displayName="right top" />
+		<constant value="right center" 		displayName="right center" />
+		<constant value="right bottom" 		displayName="right bottom" />
+		<constant value="center top" 		displayName="center top" />
+		<constant value="center center" 	displayName="center center" />
+		<constant value="center bottom" 	displayName="center bottom" />
+	</type>
+	<type id="background@repeat">
+	    <constant value=""                  displayName="(None)" />
+		<constant value="repeat" 			displayName="repeat" />
+		<constant value="repeat-x" 			displayName="repeat-x" />
+		<constant value="repeat-y" 			displayName="repeat-y" />
+		<constant value="no-repeat" 		displayName="no-repeat" />
+	</type>
+	<type id="border@style">
+	    <constant value=""                  displayName="(None)" />
+	    <constant value="none"              displayName="none" />
+		<constant value="hidden" 			displayName="hidden" />
+		<constant value="dotted" 			displayName="dotted" />
+		<constant value="dashed" 			displayName="dashed" />
+		<constant value="solid" 			displayName="solid" />
+		<constant value="double" 			displayName="double" />
+		<constant value="groove" 			displayName="groove" />
+		<constant value="ridge" 			displayName="ridge" />
+		<constant value="inset" 			displayName="inset" />
+		<constant value="outset" 			displayName="outset" />
+	</type>
+	<type id="font@family">
+	    <constant value=""                      displayName="(None)" />
+		<constant value="Georgia" 				displayName="Georgia" />
+		<!--  
+		<constant value="Palatino Linotype" 	displayName="Palatino Linotype" />
+		<constant value="Book Antiqua" 			displayName="Book Antiqua" />
+		-->
+		<constant value="Times New Roman" 		displayName="Times New Roman" />
+		<constant value="Arial" 				displayName="Arial" />
+		<constant value="Helvetica" 			displayName="Helvetica" />
+		<constant value="Arial Black" 			displayName="Arial Black" />
+		<!--
+		<constant value="Impact" 				displayName="Impact" />
+		<constant value="Lucida Sans Unicode" 	displayName="Lucida Sans Unicode" />
+		<constant value="Tahoma" 				displayName="Tahoma" />
+		<constant value="Verdana" 				displayName="Verdana" />
+		-->
+		<constant value="Courier New" 			displayName="Courier New" />
+		<!-- 
+		<constant value="Lucida Console" 		displayName="Lucida Console" />
+		 -->
+	</type>
+	<type id="font@size">
+	    <constant value=""      displayName="(None)" />
+		<constant value="6px" 	displayName="6px" />
+		<constant value="8px" 	displayName="8px" />
+		<constant value="9px" 	displayName="9px" />
+		<constant value="10px" 	displayName="10px" />
+		<constant value="11px" 	displayName="11px" />
+		<constant value="12px" 	displayName="12px" />
+		<constant value="14px" 	displayName="14px" />
+		<constant value="16px" 	displayName="16px" />
+		<constant value="18px" 	displayName="18px" />
+		<constant value="20px" 	displayName="20px" />
+		<constant value="22px" 	displayName="22px" />
+		<constant value="24px" 	displayName="24px" />
+		<constant value="26px" 	displayName="26px" />
+		<constant value="28px" 	displayName="28px" />
+		<constant value="36px" 	displayName="36px" />
+		<constant value="48px" 	displayName="48px" />
+		<constant value="72px" 	displayName="72px" />
+	</type>
+	<type id="style@size">
+	    <constant value=""      displayName="(None)" />
+		<constant value="6" 	displayName="6" />
+		<constant value="8" 	displayName="8" />
+		<constant value="9" 	displayName="9" />
+		<constant value="10" 	displayName="10" />
+		<constant value="11" 	displayName="11" />
+		<constant value="12" 	displayName="12" />
+		<constant value="14" 	displayName="14" />
+		<constant value="16" 	displayName="16" />
+		<constant value="18" 	displayName="18" />
+		<constant value="20" 	displayName="20" />
+		<constant value="22" 	displayName="22" />
+		<constant value="24" 	displayName="24" />
+		<constant value="26" 	displayName="26" />
+		<constant value="28" 	displayName="28" />
+		<constant value="36" 	displayName="36" />
+		<constant value="48" 	displayName="48" />
+		<constant value="72" 	displayName="72" />
+	</type>
+	
+</types>

http://git-wip-us.apache.org/repos/asf/cordova-tizen/blob/4ebce38e/samples/TizenWebUI-sample-v1/tizen-ui-builder-tool/res/descriptors/Tizen-web-ui-fw/tizen.eventtypes.xml
----------------------------------------------------------------------
diff --git a/samples/TizenWebUI-sample-v1/tizen-ui-builder-tool/res/descriptors/Tizen-web-ui-fw/tizen.eventtypes.xml b/samples/TizenWebUI-sample-v1/tizen-ui-builder-tool/res/descriptors/Tizen-web-ui-fw/tizen.eventtypes.xml
new file mode 100644
index 0000000..2dc58dd
--- /dev/null
+++ b/samples/TizenWebUI-sample-v1/tizen-ui-builder-tool/res/descriptors/Tizen-web-ui-fw/tizen.eventtypes.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<eventTypes>
+	<eventType id="event.defaultevent">
+		<defaultCode>%object%_%event%</defaultCode>
+		<param name="event" type="" />
+	</eventType>
+
+	<eventType id="event.pageevent">
+		<defaultCode>%event%</defaultCode>
+		<param name="event" type="" />
+	</eventType>
+</eventTypes>
\ No newline at end of file


Mime
View raw message