<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
      <title>Enyo 2 - Enyo</title>
      <link>http://forums.enyojs.com/categories/enyo-2/feed.rss</link>
      <pubDate>Wed, 19 Jun 2013 00:13:12 +0000</pubDate>
         <description>Enyo 2 - Enyo</description>
   <language>en-CA</language>
   <atom:link href="http://forums.enyojs.com/categories/enyo-2/feed.rss" rel="self" type="application/rss+xml" />
   <item>
      <title>Enyo Bootplate deploy script question</title>
      <link>http://forums.enyojs.com/discussion/1525/enyo-bootplate-deploy-script-question</link>
      <pubDate>Tue, 18 Jun 2013 16:27:46 +0000</pubDate>
      <category>Enyo 2</category>
      <dc:creator>drahgon</dc:creator>
      <guid isPermaLink="false">1525@/discussions</guid>
      <description><![CDATA[Does the bootplate deploy script support versioning of your enyo application? That way the browser will not used the cached versions of the web pages but instead the newest versioned pages?<br /><br />for example currently the deploy script creates <br />enyo.js<br />enyo.css<br />app.js<br />app.css<br /><br />say i create a version 1.0 of my app can I make it produce<br />enyo1_0.js<br />enyo1_0.css<br />app1_0.js<br />app1_0.css]]></description>
   </item>
   <item>
      <title>Routing</title>
      <link>http://forums.enyojs.com/discussion/161/routing</link>
      <pubDate>Fri, 02 Mar 2012 02:47:24 +0000</pubDate>
      <category>Enyo 2</category>
      <dc:creator>asolovyov</dc:creator>
      <guid isPermaLink="false">161@/discussions</guid>
      <description><![CDATA[I'm building web application with Enyo and I'm wondering if anybody did routing already? I can bolt it on myself, of course, but I'm interested in seeing what others are doing in this direction.]]></description>
   </item>
   <item>
      <title>A few questions about MVC</title>
      <link>http://forums.enyojs.com/discussion/1523/a-few-questions-about-mvc</link>
      <pubDate>Tue, 18 Jun 2013 14:24:11 +0000</pubDate>
      <category>Enyo 2</category>
      <dc:creator>MarcDominjon</dc:creator>
      <guid isPermaLink="false">1523@/discussions</guid>
      <description><![CDATA[Hi everyone,<br /><br />I've been manipulating MVC since the changes made recently and I have a few questions.<br /><br />Why are most of the properties not placed as <code>published</code> like the property data for controllers. By doing so we lose the setData which triggers the sync of bindings in contrary to <code>myController.data = &quot;&quot;</code>. Am I missing something?<br /><br />In AutoBindingSupport.js, the property <code>autoSync</code> is set to false by default but it is set to true by default in  Binding.js. Is there a reason why?<br /><br />Once a <code>enyo.Model</code> is created and linked to a <code>enyo.ModelController</code>, how do I create bindings to the elements in the enyo.Model from the binding of the controller to an UI component? I tried using autoBinding but failed.<br /><br />I know that MVC is still a WIP and those questions may be obsolete in a couple of weeks.<br />I'll post other questions on MVC as I discover more of it.<br /><br />Thank you in avance,<br />Marc]]></description>
   </item>
   <item>
      <title>How activate gesture on ImageView</title>
      <link>http://forums.enyojs.com/discussion/1524/how-activate-gesture-on-imageview</link>
      <pubDate>Tue, 18 Jun 2013 14:47:57 +0000</pubDate>
      <category>Enyo 2</category>
      <dc:creator>FlexOnMobile</dc:creator>
      <guid isPermaLink="false">1524@/discussions</guid>
      <description><![CDATA[Hi,<br /><br />I'm currently trying to make gesture working on an ImageView but I'm unable to active pinch-zoom.<br /><br />My app is embedded on a cordova project and I test it on an Android HTC Desire (2.x).<br />How could I know if it's a <code> touchscreen devices that support it</code> ?<br /><br />Thanks]]></description>
   </item>
   <item>
      <title>I confuse the enyo.js path</title>
      <link>http://forums.enyojs.com/discussion/1522/i-confuse-the-enyo-js-path</link>
      <pubDate>Tue, 18 Jun 2013 02:52:45 +0000</pubDate>
      <category>Enyo 2</category>
      <dc:creator>SeokHyeonSong</dc:creator>
      <guid isPermaLink="false">1522@/discussions</guid>
      <description><![CDATA[hello I'm seokhyeonsong korean new freshman to enyo2.0.<br />/usr/palm/frameworks/enyo/1.0/framework/enyo.js &lt;-- where is it? <br />I really don't know where the path is.<br />Is there anyone who know that?<br />my webos sdk path is C:\Program Files\HP webOS\SDK\share\framework\enyo\1.0\framework\enyo.js<br />]]></description>
   </item>
   <item>
      <title>Using Input to upload a file</title>
      <link>http://forums.enyojs.com/discussion/1517/using-input-to-upload-a-file</link>
      <pubDate>Fri, 14 Jun 2013 14:19:28 +0000</pubDate>
      <category>Enyo 2</category>
      <dc:creator>biffta</dc:creator>
      <guid isPermaLink="false">1517@/discussions</guid>
      <description><![CDATA[Trying to upload a file to a server app using the following:
<pre><code>enyo.kind({<br />	name : &quot;App&quot;,<br />	components : [ {<br />		kind : &quot;onyx.Input&quot;,<br />		type : &quot;file&quot;,<br />		onchange : &quot;thingTap&quot;,<br />		placeholder : &quot;Enter local file location...&quot;<br />	} ],<br />	thingTap : function(inSender, inEvent) {<br />		enyo.log(inSender.getValue());<br />	}<br />});</code></pre>
<br />The problem is I can't see the whole file path, just the filename, so I don't see how I am going to go about putting it into an ajax request and uploading it.<br /><br />I did notice that this has something interesting in it:<br /><br /><code>this.$.input.getNodeProperty(&quot;files&quot;)</code><br /><br />but still can't seem to get the whole file path.<br /><br />Any ideas?<br /><br />Thanks!!]]></description>
   </item>
   <item>
      <title>Enyo 2.2 use MVC or wait</title>
      <link>http://forums.enyojs.com/discussion/1492/enyo-2-2-use-mvc-or-wait</link>
      <pubDate>Wed, 05 Jun 2013 17:56:49 +0000</pubDate>
      <category>Enyo 2</category>
      <dc:creator>fjfeijoo</dc:creator>
      <guid isPermaLink="false">1492@/discussions</guid>
      <description><![CDATA[Hello,<br /><br />I'm evaluating Enyo for my next project and after a couple of days reading the docs and trying things I think I'm lost. I have a REST web service and ideally I would like to use Models from Enyo (or backbone). I have tried using bootstrap-mvc as a base with a backbone model and a collection. I can receive the data objects but I'm unable to show the collection using the controller/view way in enyo.<br />After trying the examples from <a href="http://jsfiddle.net/user/clinuz/fiddles/" target="_blank" rel="nofollow">http://jsfiddle.net/user/clinuz/fiddles/</a> I have found that some parts of the backbone project are out in backbone-support so I can't use that.<br /><br />Finally I looked at enyo-master where there are new classes (enyo.Model and enyo.Collection) but I can't find any documentation showing how to use that with controllers and views.<br /><br />- Is there any plan or roadmap with an estimate of when is 2.3 going to be released? A month? A year? (I'm not asking for a date)<br />- Should I wait for 2.3 before using MVC with Enyo?<br />- Should I start with 2.2 and avoid using MVC at all (I would prefer to have all organized the MVC way but maybe I don't need to with Enyo)?<br /><br />Best Regards and THANKS for creating Enyo. <br />Francsico]]></description>
   </item>
   <item>
      <title>MVC Bindings and RepeaterCollection (tying one repeater's height to another)</title>
      <link>http://forums.enyojs.com/discussion/1505/mvc-bindings-and-repeatercollection-tying-one-repeater-s-height-to-another</link>
      <pubDate>Tue, 11 Jun 2013 14:09:32 +0000</pubDate>
      <category>Enyo 2</category>
      <dc:creator>psarin</dc:creator>
      <guid isPermaLink="false">1505@/discussions</guid>
      <description><![CDATA[Any thoughts on whether I can tie two different RepeaterCollections' heights together. That is, I have two separate RepeaterCollections and I want the height of row 1 of RepeaterCollection 1 to match the height of row 1 of RepeaterCollection 2.<br /><br />Any thoughts on how I should proceed, either using MVC bindings or otherwise?<br /><br />Thanks,<br />Cage]]></description>
   </item>
   <item>
      <title>Reverse direction for CardSlideInArranger</title>
      <link>http://forums.enyojs.com/discussion/1507/reverse-direction-for-cardslideinarranger</link>
      <pubDate>Wed, 12 Jun 2013 14:31:27 +0000</pubDate>
      <category>Enyo 2</category>
      <dc:creator>VTweam</dc:creator>
      <guid isPermaLink="false">1507@/discussions</guid>
      <description><![CDATA[Hi, everybody!<br /><br />I have a <code>Panels</code> container with <code>CardSlideInArranger</code> specified and two views. I also have a toolbar with two buttons, each of the two changes the panel to show the according view (one of the views controlled by the <code>Panels</code> component).<br /><br />Now when I press the second button I want the first view slide out to the left and the second view to slide in from the right, this is how my views behave right now. When I press the first button I want the exact opposite animation, the second view has to slide out to the right and the first view has to slide in from the left.<br /><br />Right now, both buttons lead to the same animation. How can I control in which direction the views slide?]]></description>
   </item>
   <item>
      <title>how to overlay one control on top of another</title>
      <link>http://forums.enyojs.com/discussion/1510/how-to-overlay-one-control-on-top-of-another</link>
      <pubDate>Thu, 13 Jun 2013 08:53:56 +0000</pubDate>
      <category>Enyo 2</category>
      <dc:creator>drahgon</dc:creator>
      <guid isPermaLink="false">1510@/discussions</guid>
      <description><![CDATA[I cannot figure this out. I am sure there must be an easy way. How can I overlay one control on top of another. I am building something similar to an image gallery that scrolls horizontally left and right. I want to overlay left and right arrow to scroll through the content in the enyo.Panels control. I need the left and right arrows to overlay on top of the enyo.Panels control and take up the full height as you resize the window, but have a fixed width. <br /><br />Will I have to just add the control as a component and position it on top of the control with CSS? I feel like there is an easier "enyo" way to do this that is just eluding me right now. ]]></description>
   </item>
   <item>
      <title>tap events and swiping in List</title>
      <link>http://forums.enyojs.com/discussion/1242/tap-events-and-swiping-in-list</link>
      <pubDate>Thu, 28 Feb 2013 07:30:25 +0000</pubDate>
      <category>Enyo 2</category>
      <dc:creator>Ted_Hopp</dc:creator>
      <guid isPermaLink="false">1242@/discussions</guid>
      <description><![CDATA[The new swiping and reordering features of List look great. I have a couple of questions about their use.<br /><br />First, when I enable swipe, is there a recommended way to make only some rows swipeable? (I want to use the swipe gesture to reset items in the list, and that doesn't make sense for items that are already in the reset state.) The way I'm handling it now is in the swipe setup function, I'm calling <tt>hide()</tt> or <tt>show()</tt> for the swipeable component, depending on whether the item is already reset or not. This seems to work, but also seems like a kludge. The swiping mechanism is still engaged, just made invisible to the user.<br /><br />Second, and perhaps more important, what's the right way to use a List to take an action when an item is tapped? Right now, I'm setting an <tt>ontap</tt> handler on the row component. Unfortunately, the handler gets called when a swipe ends as well as when there is a tap. Also, by the time the ontap handler gets called, the list thinks swiping is over--it returns false from <tt>isSwiping()</tt> (even though the swipe complete event hasn't yet been delivered). I thought about setting a flag when swiping starts, but I wouldn't know when to clear it if swiping is not completed (e.g., the user doesn't drag far enough)--there's no "swipe cancelled" event.<br /><br />I haven't yet tried to use the reordering features (that's for another part of the app I'm building), so I don't know if there's a similar interaction between tap events and reordering.]]></description>
   </item>
   <item>
      <title>Events not firing in a nested component</title>
      <link>http://forums.enyojs.com/discussion/1509/events-not-firing-in-a-nested-component</link>
      <pubDate>Wed, 12 Jun 2013 21:15:01 +0000</pubDate>
      <category>Enyo 2</category>
      <dc:creator>pcimino</dc:creator>
      <guid isPermaLink="false">1509@/discussions</guid>
      <description><![CDATA[<a rel="nofollow" href="http://jsfiddle.net/pcimino/Cxa2U/">Example on <span><b><i>JSFiddle </i></b></span>here</a>.<br /><br />I create an input (Input A), type a letter and onkeyup event is generated. There is also a control that contains a nested input (Input A2) which also generates an onkeyup event.<br /><br />The problem is I want to create components dynamically.<br /><br />So I use createComponent() for "Input B", and onkeyup it generates an event. So far so good. But now I createComponent() for my control, and then add the component "Input B2", which does not work.
<pre><code>this.createComponent({kind: 'Control',name: 'testContainerB'});<br />this.$.testContainerB.createComponent({name: &quot;inputB2&quot;,<br />            kind: &quot;onyx.Input&quot;,<br />            placeholder: &quot;Input B2&quot;,<br />            onkeyup: 'inputKeyUp'<br />});<br /></code></pre>
I expect the static and dynamic setup to be equivalent, but the behavior of the nested component differs. Anyone have suggestions? Or answers, answers are good too!  :)]]></description>
   </item>
   <item>
      <title>arrange method in arrangerKind does not know a control was destroyed</title>
      <link>http://forums.enyojs.com/discussion/1494/arrange-method-in-arrangerkind-does-not-know-a-control-was-destroyed</link>
      <pubDate>Thu, 06 Jun 2013 02:46:30 +0000</pubDate>
      <category>Enyo 2</category>
      <dc:creator>drahgon</dc:creator>
      <guid isPermaLink="false">1494@/discussions</guid>
      <description><![CDATA[I have a enyo.Panel with a custom LeftRightArranger Kind. My problem say there are three panels/controls in an enyo.Panel. When I destroy one panel/control in the enyo.Panel the "inC" array of panels/controls passed to the "arrange" method still gives me all three panels/controls. It does not register that one panel was destroyed<br /><br />I am destroying the panel/control by simply calling the destroy method on the panel/control itself. Is there some better way I should be doing this or is it a bug? ]]></description>
   </item>
   <item>
      <title>Enyo2 and MathJax</title>
      <link>http://forums.enyojs.com/discussion/1506/enyo2-and-mathjax</link>
      <pubDate>Wed, 12 Jun 2013 02:52:43 +0000</pubDate>
      <category>Enyo 2</category>
      <dc:creator>xxu_xiao</dc:creator>
      <guid isPermaLink="false">1506@/discussions</guid>
      <description><![CDATA[I am trying to render math equations(MathML tags)  using Enyo2 and MathJax but I running into strange issue. It works fine in firefox, because MathML is supported in Firefox. But in IE10 and chrome<br />It doesn't work, that is why I started using MathJax JS library. MathML tags in embedded directly  in HTML works fine but If try to use enyo to render the MathML tags, it doesn't work. <br />below is the fiddle URL <br /><a href="http://jsfiddle.net/dkYQp/" target="_blank" rel="nofollow">http://jsfiddle.net/dkYQp/</a><br /><br />Another strange part is, If I delay the loading of MathJax Library, it works for the first time and then I try to render it again ( calling destroy and create)  it fails render the math tags.<br />It looks like it has to do something the way MathJax is getting loaded, but unable to find the issue their.  Looking for some help here to find the cause or a work around<br />Below is the code HTML code
<pre><code>&lt;!DOCTYPE html&gt;<br />&lt;html&gt;<br />	&lt;head&gt;<br />		&lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=edge,chrome=1&quot;/&gt;<br />		&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;<br />		<br />		&lt;link rel=&quot;shortcut icon&quot; href=&quot;assets/favicon.ico&quot;/&gt;<br />&lt;script type=&quot;text/javascript&quot;&gt;<br /><br />window.onload = function () {<br />  setTimeout(function () {<br />    var script = document.createElement(&quot;script&quot;);<br />    script.type = &quot;text/javascript&quot;;<br />    script.src  = &quot;<a href="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=MML_HTMLorMML-full&quot;" target="_blank" rel="nofollow">http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=MML_HTMLorMML-full&quot;</a>;<br />    document.getElementsByTagName(&quot;head&quot;)[0].appendChild(script);<br />  },1000)<br />}<br />&lt;/script&gt;<br /><br />		&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf8&quot;/&gt;<br />		&lt;meta name=&quot;apple-mobile-web-app-capable&quot; content=&quot;yes&quot;/&gt;<br />		&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no&quot;/&gt;<br />		&lt;!-- enyo (debug) --&gt;<br />		&lt;script src=&quot;enyo/enyo.js&quot;&gt;&lt;/script&gt;<br />		&lt;!-- application (debug) --&gt;<br />		&lt;script src=&quot;source/package.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;<br />	  &lt;!--&lt;script type=&quot;text/javascript&quot; src=&quot;<a href="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=MML_HTMLorMML-full&quot;&gt;&lt;/script&gt;--&amp;gt" target="_blank" rel="nofollow">http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=MML_HTMLorMML-full&quot;&gt;&lt;/script&gt;--&amp;gt</a>;<br />	&lt;/head&gt;<br />	&lt;body class=&quot;enyo-unselectable&quot;&gt;<br />		&lt;script&gt;<br />			 new ex.EqContainer().renderInto(document.body);<br />		&lt;/script&gt;<br />	&lt;/body&gt;<br />	<br />&lt;/html&gt;<br /><br /></code></pre>
Enyo Kinds
<pre><code>var __data = <br />{<br />   &quot;steps&quot;:[<br />      {<br />         &quot;equation&quot;:&quot; &lt;math&gt; &lt;mrow&gt;&lt;mi&gt;y&lt;/mi&gt;&lt;/mrow&gt;&lt;/math&gt;&lt;math&gt; &lt;mrow&gt;&lt;mo&gt; &amp;equals; &lt;/mo&gt; &lt;/mrow&gt; &lt;/math&gt; &lt;math&gt;&lt;msup&gt; &lt;mrow&gt;&lt;mn&gt;5&lt;/mn&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;/mrow&gt; &lt;mrow&gt;&lt;mn&gt;9&lt;/mn&gt;&lt;/mrow&gt; &lt;/msup&gt; &lt;/math&gt; &lt;math&gt;&lt;mo&gt; &amp;minus; &lt;/mo&gt;&lt;/math&gt; &lt;math&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;/math&gt;&quot;,<br />      },<br />      {<br />         &quot;equation&quot;:&quot; &lt;math&gt; &lt;mfrac&gt; &lt;mrow&gt;&lt;mo&gt;&amp;DifferentialD;&lt;/mo&gt;&lt;mi&gt;y&lt;/mi&gt;&lt;/mrow&gt; &lt;mrow&gt;&lt;mo&gt;&amp;DifferentialD;&lt;/mo&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;/mrow&gt; &lt;/mfrac&gt; &lt;/math&gt; &lt;math&gt; &lt;mrow&gt;&lt;mo&gt; &amp;equals; &lt;/mo&gt;&lt;mrow&gt;&lt;/math&gt; &lt;math&gt; &lt;mfrac&gt; &lt;mrow&gt;&lt;mo&gt;&amp;DifferentialD;&lt;/mo&gt;&lt;/mrow&gt; &lt;mrow&gt;&lt;mo&gt;&amp;DifferentialD;&lt;/mo&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;/mrow&gt; &lt;/mfrac&gt; &lt;/math&gt; &lt;math&gt; &lt;mo&gt;(&lt;/mo&gt; &lt;/math&gt;&lt;math&gt; &lt;mn&gt;5&lt;/mn&gt;  &lt;/math&gt;&lt;math&gt;&lt;mrow&gt;&lt;msup&gt;  &lt;mi&gt;x&lt;/mi&gt; &lt;mn&gt;9&lt;/mn&gt; &lt;/msup&gt;&lt;/mrow&gt; &lt;/math&gt;&lt;math&gt;&lt;mo&gt;)&lt;/mo&gt;  &lt;/math&gt; &lt;math&gt;&lt;mo&gt; &amp;plus; &lt;/mo&gt;&lt;/math&gt; &lt;math&gt;&lt;mrow&gt; &lt;mfrac&gt; &lt;mrow&gt;&lt;mo&gt;&amp;DifferentialD;&lt;/mo&gt;&lt;/mrow&gt; &lt;mrow&gt;&lt;mo&gt;&amp;DifferentialD;&lt;/mo&gt;&lt;mi&gt;x&lt;/mi&gt; &lt;/mfrac&gt;&lt;/mrow&gt;&lt;/math&gt; &lt;math&gt; &lt;mrow&gt;&lt;mo&gt;(&lt;/mo&gt; &lt;mo&gt; &amp;minus; &lt;/mo&gt;&lt;mn&gt;2&lt;/mn&gt;&lt;mo&gt;)&lt;/mo&gt;&lt;/mrow&gt; &lt;/math&gt;&quot;,<br />      },<br />      {<br />         &quot;equation&quot;:&quot;&lt;math&gt;  &lt;mfrac&gt; &lt;mrow&gt;&lt;mo&gt;&amp;DifferentialD;&lt;/mo&gt;&lt;mi&gt;y&lt;/mi&gt;&lt;/mrow&gt; &lt;mrow&gt;&lt;mo&gt;&amp;DifferentialD;&lt;/mo&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;/mrow&gt; &lt;/mfrac&gt;&lt;/math&gt; &lt;math&gt; &lt;mrow&gt;&lt;mo&gt; &amp;equals; &lt;/mo&gt;&lt;/mrow&gt; &lt;/math&gt; &lt;math&gt; &lt;mrow&gt;&lt;mn&gt;5&lt;/mn&gt; &lt;/mrow&gt;&lt;/math&gt; &lt;math&gt; &lt;mo&gt; &amp;times; &lt;/mo&gt;&lt;/math&gt; &lt;math&gt; &lt;mn&gt;9&lt;/mn&gt;&lt;/math&gt; &lt;math&gt;&lt;mrow&gt;&lt;msup&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mn&gt;8&lt;/mn&gt; &lt;/msup&gt;&lt;/mrow&gt;&lt;/math&gt; &lt;math&gt;&lt;mo&gt; &amp;plus; &lt;/mo&gt;&lt;/math&gt; &lt;math&gt;&lt;mn&gt;0&lt;/mn&gt;&lt;/math&gt;&quot;,<br />      },<br />      {<br />         &quot;equation&quot;:&quot;&lt;math&gt;&lt;mrow&gt;&lt;mfrac&gt;&lt;mrow&gt;&lt;mo&gt;&amp;DifferentialD;&lt;/mo&gt;&lt;mi&gt;y&lt;/mi&gt;&lt;/mrow&gt;&lt;mrow&gt;&lt;mo&gt;&amp;DifferentialD;&lt;/mo&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;/mrow&gt;&lt;/mfrac&gt;&lt;/math&gt;&lt;math&gt;&lt;mrow&gt;&lt;mo&gt;&amp;equals;&lt;/mo&gt;&lt;/math&gt;&lt;math&gt;&lt;mrow&gt;&lt;mn&gt;45&lt;/mn&gt;&lt;/math&gt;&lt;math&gt;&lt;mrow&gt;&lt;msup&gt;&lt;mi&gt;x&lt;/mi&gt;&lt;mn&gt;8&lt;/mn&gt;&lt;/msup&gt;&lt;/mrow&gt;&lt;/math&gt;&quot;,<br />      }<br />   ]<br />};<br /><br />enyo.kind({<br />    name:&quot;DataRow&quot;,<br />    tag:&quot;tr&quot;,<br />    defaultKind:&quot;DataCell&quot;,     <br />});<br /><br />enyo.kind({<br />    name:&quot;DataCell&quot;,<br />    tag:&quot;td&quot;,<br />    classes: &quot;box&quot;,<br />    allowHtml: &quot;true&quot;<br />});<br /><br />enyo.kind({<br />    name:&quot;ex.DataTable&quot;,<br />    tag:&quot;table&quot;,<br />    published:{<br />        data:0<br />    },<br />    components:[<br />        {name:&quot;header&quot;, tag:&quot;tr&quot;},<br />        {name:&quot;list&quot;, kind:&quot;Repeater&quot;, onSetupItem:&quot;setupItem&quot;, components:[<br />            {name:&quot;row&quot;, kind:&quot;DataRow&quot;}<br />        ]}<br />    ],<br />    create:function() {<br />        this.inherited(arguments);<br />        this.dataChanged = enyo.bind(this, &quot;refresh&quot;);<br />        <br />        this.refresh();<br />    },<br />    refresh:function()<br />    {<br />    	console.log(&quot;data=&quot;+this.data);//+&quot; data length=&quot;+this.data.length);<br />        if( this.data) <br />        {<br />        	console.log(&quot;data=&quot;+this.data +&quot; data length=&quot;+this.data.length);<br />            this.$.list.setCount(this.data.length);<br />        }<br />    },<br />    setupItem:function(source, event) <br />    {<br />    	var eqtn = this.data[event.index][&quot;equation&quot;];<br />    	event.item.$.row.createComponent({content:eqtn,allowHtml: true,name:&quot;eqtn_&quot;+event.index},{owner: this});<br />        event.item.render();<br />    },<br />});<br /><br /><br />enyo.kind({<br />    name:&quot;ex.EquationProxy&quot;,<br />    kind:&quot;Scroller&quot;,<br />    components:[<br />    {<br />    		&quot;name&quot;: &quot;divtbl&quot;,<br />			&quot;tag&quot;: &quot;div&quot;,<br />			style: &quot;display: table;  margin: 0 auto;&quot;,<br />			classes:&quot;theboxgrid&quot;,<br />			//components:[{name:&quot;dt&quot;, kind:&quot;DataTable&quot;}]<br />    }],<br />    create:function() {<br />        this.inherited(arguments);<br />    },<br />    getEquation: function(urlx) {<br />			this.handleResponse();<br />	},<br />	handleResponse: function(inSender, inResponse) <br />	{<br />			this.$.divtbl.destroyClientControls();<br />			this.$.divtbl.createComponent({name:&quot;dt&quot;, kind:&quot;ex.DataTable&quot;},{owner: this});<br />			this.$.dt.setData(__data.steps);<br />			this.$.divtbl.render();<br />	}<br />});<br /><br /><br />enyo.kind({<br />    name: &quot;ex.EqContainer&quot;,<br />    kind: &quot;Scroller&quot;,<br />    classes: &quot;onyx enyo-unselectable&quot;,<br />     horizontal: &quot;hidden&quot;,<br />    fit: true,<br />    components:[<br />        {kind: &quot;onyx.Toolbar&quot;, &quot;name&quot;: &quot;title&quot;,	&quot;content&quot;: &quot;Algebra Equation&quot;},<br />        {tag:&quot;div&quot;,name:&quot;dummy&quot;},<br />       /* {kind: &quot;ex.EquationProxy&quot;,name:&quot;equation&quot;, fit: true},*/<br />        { kind: &quot;onyx.Toolbar&quot;,        components: [<br />			    	{ kind: &quot;onyx.Button&quot;, content: &quot;Next&quot;,id:&quot;next&quot;,&quot;classes&quot;: &quot;onyx-negative&quot;,&quot;ontap&quot;: &quot;next&quot;},<br />            ]},  <br />    ],<br />	create:function() <br />	{<br />		this.inherited(arguments);<br />	},<br />	rendered: function() {<br />		this.inherited(arguments);<br />		this.$.dummy.createComponent({kind: &quot;ex.EquationProxy&quot;,name:&quot;equation&quot;, fit: true},{owner: this});<br />		this.$.dummy.render();<br />		this.getEquation();<br />		<br />	},<br />	getEquation: function() {<br />		this.$.equation.getEquation(this.url);<br />		//	var a = new enyo.Ajax( {url: urlx} );<br />		//	return a.go().response(this, &quot;handleResponse&quot;);<br />		<br />	},<br />	next:function()<br />	{<br />		//this.$.dummy.destroyClientControls();<br />		//this.$.dummy.createComponent({kind: &quot;ex.EquationProxy&quot;,name:&quot;equation&quot;, fit: true},{owner: this});<br />		//this.$.dummy.render();<br />		this.getEquation();<br />	<br />	},<br />});<br /><br /><br /></code></pre>]]></description>
   </item>
   <item>
      <title>Enyo Inspector</title>
      <link>http://forums.enyojs.com/discussion/1503/enyo-inspector</link>
      <pubDate>Mon, 10 Jun 2013 15:22:07 +0000</pubDate>
      <category>Enyo 2</category>
      <dc:creator>theryanjduffy</dc:creator>
      <guid isPermaLink="false">1503@/discussions</guid>
      <description><![CDATA[Created a bookmarklet this morning to inspect Enyo instances. It works by hooking enyo.dispatcher to react to user events and, in this case, displaying a floating div if the user shift-clicks a control backed by an Enyo instance. It's functional but not attractive. Looking for feedback from the community.<br /><br />Give it a try on <a href="http://enyojs.com" target="_blank" rel="nofollow">http://enyojs.com</a> on the main Image carousel.<br /><br />Source: <a href="https://gist.github.com/ryanjduffy/5749323" target="_blank" rel="nofollow">https://gist.github.com/ryanjduffy/5749323</a><br />Bookmarklet: <a href="http://marklets.com/Enyo+Inspector.aspx" target="_blank" rel="nofollow">http://marklets.com/Enyo+Inspector.aspx</a>]]></description>
   </item>
   <item>
      <title>Multiple onyx.Menu issue.</title>
      <link>http://forums.enyojs.com/discussion/1502/multiple-onyx-menu-issue</link>
      <pubDate>Sun, 09 Jun 2013 22:52:58 +0000</pubDate>
      <category>Enyo 2</category>
      <dc:creator>TimE</dc:creator>
      <guid isPermaLink="false">1502@/discussions</guid>
      <description><![CDATA[I have a form, with 3 onyx.Menu's on it. I click the first menu, and the menu list appears, I now click on the second menu, and the first one disappears, but the second one does on appear until I click it again. The same behaviour occurs in the sampler on the onyx Menus sample, is this expected behaviour?]]></description>
   </item>
   <item>
      <title>New menu control i'm working on (SlideableMenu)</title>
      <link>http://forums.enyojs.com/discussion/1454/new-menu-control-i-m-working-on-slideablemenu</link>
      <pubDate>Fri, 24 May 2013 02:18:42 +0000</pubDate>
      <category>Enyo 2</category>
      <dc:creator>chrisvanhooser</dc:creator>
      <guid isPermaLink="false">1454@/discussions</guid>
      <description><![CDATA[Hey, so i've been working on this control for my app to update the menus a bit.<br />It uses Slideables as menu items, and you get a nice smooth opening and closing of the menu.<br />I have it so it can be a top, left, right, or bottom anchored menu, and the animation is a bit different for all of them.<br />Also got support for a scrim as well.<br />Heres a jsfiddle:<br /><a href="http://jsfiddle.net/3Z2jC/5/" target="_blank" rel="nofollow">http://jsfiddle.net/3Z2jC/5/</a><br /><br />I still got a bit to do, but i thought i would share. I should have a proper github home for it in the next few weeks to submit to the gallery.<br /><br />Any ideas or bug fixes, etc welcome.<br />]]></description>
   </item>
   <item>
      <title>ToasterPopup control</title>
      <link>http://forums.enyojs.com/discussion/1501/toasterpopup-control</link>
      <pubDate>Sun, 09 Jun 2013 02:13:25 +0000</pubDate>
      <category>Enyo 2</category>
      <dc:creator>chrisvanhooser</dc:creator>
      <guid isPermaLink="false">1501@/discussions</guid>
      <description><![CDATA[So i made a Toaster popup control out of a slideable.<br />You should be pretty much be able to drop it in over an <code>onyx.Popup</code> or <code>enyo.Popup</code>.<br />Supports <code>floating</code>, <code>scrim</code>, <code>autoDismiss</code>, <code>modal</code>, <code>centered</code>.<br />Added in support for <code>centeredX</code> and <code>centeredY</code>, so you can only center it on one axis.<br />You can have it <code>anchor</code> to a side (top, left, right, bottom), or not and have it float at a custom position.<br />You need to set a top or left (or both if un-anchored) to give it a spot to render to.<br /><br />Still got some work to do on it, but its pretty functional right now.<br />heres the jsfiddle:<br /><br /><a href="http://jsfiddle.net/xqsaj/1/" target="_blank" rel="nofollow">http://jsfiddle.net/xqsaj/1/</a><br /><br />Once i get my app update finished ill push the code to github and the community gallery.<br /><br />Also got a lot of work done on my SlideableMenu (<a href="http://forums.enyojs.com/discussion/comment/6773/" target="_blank" rel="nofollow">http://forums.enyojs.com/discussion/comment/6773/</a>), i'll be posting an update to that too soon.<br /><br />Any bugfixes, updates, or comments welcome.]]></description>
   </item>
   <item>
      <title>Signals - Synchronous or Asynchronous?</title>
      <link>http://forums.enyojs.com/discussion/1495/signals-synchronous-or-asynchronous</link>
      <pubDate>Thu, 06 Jun 2013 14:04:08 +0000</pubDate>
      <category>Enyo 2</category>
      <dc:creator>GlitchTech</dc:creator>
      <guid isPermaLink="false">1495@/discussions</guid>
      <description><![CDATA[Are enyo signals synchronous or asynchronous? I think event are traditionally async actions, and signals are a subset of events but I'm not sure.]]></description>
   </item>
   <item>
      <title>Dynamically created components inside horizontal scroller</title>
      <link>http://forums.enyojs.com/discussion/1497/dynamically-created-components-inside-horizontal-scroller</link>
      <pubDate>Thu, 06 Jun 2013 21:22:46 +0000</pubDate>
      <category>Enyo 2</category>
      <dc:creator>cletustboone</dc:creator>
      <guid isPermaLink="false">1497@/discussions</guid>
      <description><![CDATA[I'm trying to create a horizontal scroller to which you can dynamically add components and the scroller will expand and allow you to scroll to the new components. Anyway, whenever I try to attempt this, it seems that the scroller's bounds never expand because I can't scroll to the newly added items. I'm not doing a good job of explaining this. Alas! JSFiddle to the rescue:<br /><br /><a href="http://jsfiddle.net/qebEE/3/" target="_blank" rel="nofollow">http://jsfiddle.net/qebEE/3/</a><br /><br />Just click the Add Item button until boxes are added that go beyond the bounds of the scroller, then try to scroll to them. I'm sure I'm missing something stupid.]]></description>
   </item>
   <item>
      <title>Is it possible to programmatically reorder list items?</title>
      <link>http://forums.enyojs.com/discussion/1430/is-it-possible-to-programmatically-reorder-list-items</link>
      <pubDate>Sun, 19 May 2013 10:58:55 +0000</pubDate>
      <category>Enyo 2</category>
      <dc:creator>Samarthwiz</dc:creator>
      <guid isPermaLink="false">1430@/discussions</guid>
      <description><![CDATA[Hello!<br /><br />I know it's possible to reorder items in an array and then refresh the list, but I was wondering if it was possible to reorder list items using an <code>enyo.List</code>'s  <code>onReorder</code> events?]]></description>
   </item>
   <item>
      <title>EnyoJS 2.3 Questions about MV* system</title>
      <link>http://forums.enyojs.com/discussion/1354/enyojs-2-3-questions-about-mv-system</link>
      <pubDate>Fri, 19 Apr 2013 12:42:40 +0000</pubDate>
      <category>Enyo 2</category>
      <dc:creator>allclone</dc:creator>
      <guid isPermaLink="false">1354@/discussions</guid>
      <description><![CDATA[I know there is very little documentation at the moment for the new MVC stuff that looks like it will be part of the 2.3 release. There is a link posted in the forums here <a href="http://todomvc.com/labs/dependency-examples/enyo_backbone/" target="_blank" rel="nofollow">http://todomvc.com/labs/dependency-examples/enyo_backbone/</a> and I would love to have automatic bindings for data models to views, but with very large data sets things seam to get a little weighted down.<br /><br />In the Todo MVC link, one thing I have noticed with most of the MVC systems if you add &gt; 200 todo's to the list it starts to get unresponsive, doing a profile on the page shows that when I add or update the list of todo's it causes greater then 500-600 parse html events to occur, which causes the whole process to take a good 2-4 seconds. This could just hopefully be an implementation problem.<br /><br /><b>My main question is what are the affects of large sets of data bindings to a set of very complex views and the performance issues that may pop up</b>? I know there are ways to deffer/lazy load, but for my situation its not an option as all data needs to be viewed/modifiable at once. Some of the applications I currently work on have a very large amount of data that changes constantly on screen.<br /><br />As I have very little personal experience with the new EnyoJS MVC that is being brought in, and was hoping that someone closer to the update would have some helpful hints. I have tried a couple other JS MV* Frameworks as well and have hit very negative performance problems. All this being said, I currently use EnyoJS 2.2 with awesome results, though it does require a little more work on my part as a developer to make "smarter" enyo kinds.<br /><br />Thanks for taking the time to read this.]]></description>
   </item>
   <item>
      <title>Unable to add components dyanamically in Enyo</title>
      <link>http://forums.enyojs.com/discussion/1489/unable-to-add-components-dyanamically-in-enyo</link>
      <pubDate>Wed, 05 Jun 2013 09:18:54 +0000</pubDate>
      <category>Enyo 2</category>
      <dc:creator>sangramanand</dc:creator>
      <guid isPermaLink="false">1489@/discussions</guid>
      <description><![CDATA[Here is a simple enyo class
<pre><code>enyo.kind({<br />	name : 'OB.OBPOSPointOfSale.UI.SectionBar',<br />	classes : 'span12',<br />	published : {<br />		sectiontablebar: null<br />	},<br />	components : [ {<br />		tag : 'ul',<br />		classes : 'unstyled nav-pos row-fluid',<br />		name : 'toolbar'<br />	},<br />	{<br />		tag : 'ul',<br />		classes : 'unstyled nav-pos row-fluid',<br />		name : 'sectiontablebar'<br />	}],<br />	handlers: {<br />		onTestPOSView: 'testPOSView'<br />	},<br />	initComponents : function() {<br />		this.inherited(arguments);<br />		var sectionDetail = new OB.DS.Process('org.openbravo.retail.posterminal.steward.SectionDetail');<br />		me = this;<br />		sectionDetail.exec({<br />		}, <br />		function (data) {<br />			enyo.forEach(data.sections, function(section) {<br />				me.$.toolbar.createComponent({<br />					kind : 'OB.OBPOSPointOfSale.UI.TablesButton',<br />					button :  {<br />						kind : 'OB.UI.Section',<br />						content: section.sectionName,<br />						id: section.sectionId<br />					}<br />				});<br />			}, this);<br />		});<br />	},<br />	testPOSView : function(inSender, inEvent) {<br />		var data = inEvent.data;<br />		console.log(data.tables);<br />		enyo.forEach(data.tables, function(table) {<br />			console.log(table);<br />			this.$.sectiontablebar.createComponent({<br />				kind : 'OB.OBPOSPointOfSale.UI.TablesButton',<br />				button :  {<br />					kind : 'OB.UI.Table',<br />					content: table.tableName,<br />					id: table.tableId<br />				}<br />			},{owner: this});<br />		}, this);<br />		this.testFuncRT();<br />	},<br />	testFuncRT : function(){<br />		alert(&quot;in testFuncRT&quot;);<br />		this.$.toolbar.hide();<br />		console.log(this.$.sectiontablebar.createComponent({<br />			kind : 'OB.OBPOSPointOfSale.UI.TablesButton',<br />			button :  {<br />				kind : 'OB.UI.Section',<br />				content: 'TESt',<br />				id: '012345'<br />			}<br />		}));<br />	}<br />});</code></pre>
In testFuncRT method i am trying to add a new component to the sectiontablebar, but am unable to. Am i missing any code here. <br /><br />--<br />Thanks]]></description>
   </item>
   <item>
      <title>How to remove the components inside a parent component</title>
      <link>http://forums.enyojs.com/discussion/1490/how-to-remove-the-components-inside-a-parent-component</link>
      <pubDate>Wed, 05 Jun 2013 12:24:33 +0000</pubDate>
      <category>Enyo 2</category>
      <dc:creator>sangramanand</dc:creator>
      <guid isPermaLink="false">1490@/discussions</guid>
      <description><![CDATA[Hi Team,<br /><br />I am adding components inside a components using  <b>createComponent</b> function on every button tap. But after repetitive taps the old content is not cleared, thus causing duplicates within.  I get the following warning messages in the console 
<blockquote><div>enyo.Component.addComponent():  Duplicate component name "button" in owner "terminal_containerWindow_rTPointOfSale_sectionBar" violates unique-name-under-owner rule, replacing existing component in the hash and continuing, but this is an error condition and should be fixed. <br /></div></blockquote>
How can i remove the components within a particular components.  I tried the destroyComponents() and destroy() but that would eventually make the component inaccessible.<br /><br />Here is the piece of code which does the adding components on a button tap
<pre><code>	tablesView : function(inSender, inEvent) {<br />		var data = inEvent.data;<br />		this.$.backbutton.createComponent({<br />				kind : 'OB.UI.Button',<br />				name: 'button',<br />			    content: 'back to sections',<br />			    style: 'font-weight:bold; margin-bottom:15px;background-color:#7da7d9',<br />			    classes: '',<br />			    ontap: &quot;backToSections&quot;<br />		},{owner: this});<br />		<br />		enyo.forEach(data.tables, function(table) {<br />			console.log(table);<br />			this.$.sectiontablebar.createComponent({<br />				kind : 'OB.OBPOSPointOfSale.UI.TablesButton',<br />				button :  {<br />					kind : 'OB.UI.Table',<br />					content: table.tableName,<br />					id: table.tableId<br />				}<br />			},{owner: this});<br />		}, this);<br />		<br />		this.$.toolbar.hide();<br />			this.$.sectiontablebar.show();<br />			this.$.backbutton.show();<br />		this.$.sectiontablebar.render();<br />		this.$.backbutton.render();<br />	},</code></pre>
<br />this.$.sectiontablebar.destroy(); will remove the sectiontablebar, but will also be inaccessible when i try to addComponents in next taps. <br /><br />Basically the sectiontablebar is <ul>  in which  <li> items are added  via  createComponent()  method. So, on every button tap, i want to first remove the </li><li> items and then add the new items, so that no duplicates are added to the list.<br /><br />Added the views for a better understanding.  Thanks.<br /><br /><b>ACTUAL VIEW</b><br /><br /><img src="https://s3-ap-southeast-1.amazonaws.com/indavestresources/images/actual_view.png" alt="image" /><br /><br /><b>DUPLICATE VIEW</b><br /><br /><img src="https://s3-ap-southeast-1.amazonaws.com/indavestresources/images/duplicate_data.png" alt="image" /><br /><br /><b>DUPLICATE VIEW WITH CONSOLE </b><br /><br /><img src="https://s3-ap-southeast-1.amazonaws.com/indavestresources/images/duplicate_content_in_list.png" alt="image" /><br /><br /><br />--<br />Thanks</li></ul>]]></description>
   </item>
   <item>
      <title>cannot receive Signals inside LeftRightArranger</title>
      <link>http://forums.enyojs.com/discussion/1485/cannot-receive-signals-inside-leftrightarranger</link>
      <pubDate>Mon, 03 Jun 2013 20:49:38 +0000</pubDate>
      <category>Enyo 2</category>
      <dc:creator>drahgon</dc:creator>
      <guid isPermaLink="false">1485@/discussions</guid>
      <description><![CDATA[<pre><code>enyo.kind(<br />    {<br />        name: &quot;Arr&quot;,<br />        kind: &quot;LeftRightArranger&quot;,<br />	margin: 0,<br />	components: [<br />		{kind: &quot;Signals&quot;, onFullBrowser: &quot;fullBrowser&quot;}<br />	],<br />	fullBrowser: function () {<br />		console.log(&quot;Received Signal!&quot;);<br />	}<br />     }<br />);</code></pre>
this code never receives the signal. I also cannot use this.log in the arranger. Do Arranger kinds not have all the abilities of "regular" kinds?]]></description>
   </item>
   <item>
      <title>How to pass params between two windows in enyo</title>
      <link>http://forums.enyojs.com/discussion/1481/how-to-pass-params-between-two-windows-in-enyo</link>
      <pubDate>Mon, 03 Jun 2013 06:49:42 +0000</pubDate>
      <category>Enyo 2</category>
      <dc:creator>sangramanand</dc:creator>
      <guid isPermaLink="false">1481@/discussions</guid>
      <description><![CDATA[Hi Team,<br /><br />I have created a new webview, which basically fetches Json data from DB and creates the no. of buttons based on the no. of items it receives from the json data. My next step is on tap of a button, it should redirect to a different page, but with some params. Like say button id, name etc., Added the code below, which is a window view with dyanamic content. As a trial, i tried using a line - <br /><br /><code>OB.POS.navigate('Toit.section1',{sectionId:this.$.content});</code><br />
<pre><code>// Point of sale main window view<br />enyo.kind({<br />  name: 'OB.OBPOSPointOfSale.UI.RTPointOfSale',<br />  kind: 'OB.UI.WindowView',<br />  windowmodel: OB.OBPOSPointOfSale.Model.RTPointOfSale,<br />  tag: 'section',<br />  content: 'This is a test',<br />  events: {<br />	    onShowPopup: ''<br />  },<br />  components: [<br />               {<br />            	      classes: 'row',<br />            	      style: 'margin-bottom: 5px;',<br />            	      components: [{<br />            	        kind: 'OB.OBPOSPointOfSale.UI.SectionBar'<br />            	      }]<br />               }<br />  ],<br />  init: function () {<br />    this.inherited(arguments)<br />  }<br />});<br />//TABLE BUTTONS<br />enyo.kind({<br />	name : 'OB.OBPOSPointOfSale.UI.TablesButton',<br />	tag : 'li',<br />	classes : 'span3',<br />	components : [ {<br />		name : 'theButton',<br />		attributes : {<br />			style : 'margin: 0px 5px 0px 5px;'<br />		}<br />	} ],<br />	initComponents : function() {<br />		this.inherited(arguments);<br />		this.$.theButton.createComponent(this.button);<br />	}<br />});<br /> <br />enyo.kind({<br />	name : 'OB.OBPOSPointOfSale.UI.SectionBar',<br />	classes : 'span12',<br />	components : [ {<br />		tag : 'ul',<br />		classes : 'unstyled nav-pos row-fluid',<br />		name : 'toolbar'<br />	} ],<br />	initComponents : function() {<br />		this.inherited(arguments);<br />		var sectionDetail = new OB.DS.Process('org.openbravo.retail.posterminal.steward.SectionDetail');<br />		me = this;<br />		sectionDetail.exec({<br />		}, <br />		function (data) {<br />			enyo.forEach(data.sections, function(section) {<br />				me.$.toolbar.createComponent({<br />					kind : 'OB.OBPOSPointOfSale.UI.TablesButton',<br />					button :  {<br />						kind : 'OB.UI.Section',<br />						content: section.sectionName<br />					}<br />				});<br />			}, this);<br />		});<br />	}<br />});<br /> <br /> <br /> <br />enyo.kind({<br />	name : 'OB.UI.Section',<br />	kind : 'OB.UI.ToolbarButton',<br />	icon : 'btn-icon',<br />	events : {<br />		onAddNewOrder : ''<br />	},<br />	handlers : {<br />		onLeftToolbarDisabled : 'disabledButton'<br />	},<br />	disabledButton : function(inSender, inEvent) {<br />		this.isEnabled = !inEvent.status;<br />		this.setDisabled(inEvent.status);<br />	},<br />	initComponents : function() {<br />		this.inherited(arguments);<br />	},<br />	tap : function() {<br />		OB.POS.navigate('Toit.section1',{sectionId:this.$.content});<br />	}<br />});<br /><br /><br />//CUSTOMIZATION<br />OB.OBPOSPointOfSale.UICustomization = OB.OBPOSPointOfSale.UICustomization || {};<br /><br />//REGISTRATION<br />OB.POS.registerWindow({<br />  windowClass: OB.OBPOSPointOfSale.UI.RTPointOfSale,<br />  route: 'Toit.sections',<br />  menuPosition: 15,<br />  permission: 'OBPOS_retail.pointofsale',<br />  menuLabel: 'TESTLABEL',<br />  menuI18NLabel: 'TESTLABEL',<br />});</code></pre>
<br /><br /><br /><br /><br />I know its not the right way to do, but i want to do something similar, like sending the params to the next window. Also how should i <br />collect the incoming params in the next page.<br /><br /><br />Any help would be appreciated. Thanks!!!]]></description>
   </item>
   <item>
      <title>Content in a enyo modal</title>
      <link>http://forums.enyojs.com/discussion/1486/content-in-a-enyo-modal</link>
      <pubDate>Tue, 04 Jun 2013 11:57:40 +0000</pubDate>
      <category>Enyo 2</category>
      <dc:creator>sangramanand</dc:creator>
      <guid isPermaLink="false">1486@/discussions</guid>
      <description><![CDATA[Hi Team,<br /><br />I am calling a modal with parameters.  In the modal, i checked whether am getting params properly using  this.args, and it works fine.  The args i get is a list of items.<br /><br />Now based on the no. of items, i want to create no. of buttons within the Modal. I am kinda of confused where exactly to write the code related to it, is it in executeOnShow() or bodyContent() or bodyButtons()  function.  <br /><br />The content in this.args is - <br /><br /><img src="https://s3-ap-southeast-1.amazonaws.com/indavestresources/args.PNG" alt="image" /><br /><br /> <br /><br />Added below the code for my Modal.
<pre><code>enyo.kind({<br />	  kind: 'OB.UI.ModalAction',<br />	  name: 'OB.UI.ModalTable',<br />	  popup: 'modalCancel',<br />	  header: 'Tables',<br /><br />	  bodyContent: {<br />		 <br />	  },<br />	  bodyButtons: {<br />		  <br />	  },<br />	  executeOnShow : function() {<br />		  console.log(&quot;in execute on show&quot;);<br />		  console.log(this.args);<br />	  },<br />});</code></pre>
<br />Any help will be appreciated.<br /><br />--<br />Thanks<br />]]></description>
   </item>
   <item>
      <title>Handling Browser Buttons.</title>
      <link>http://forums.enyojs.com/discussion/1482/handling-browser-buttons</link>
      <pubDate>Mon, 03 Jun 2013 08:19:15 +0000</pubDate>
      <category>Enyo 2</category>
      <dc:creator>TimE</dc:creator>
      <guid isPermaLink="false">1482@/discussions</guid>
      <description><![CDATA[Is there a way in enyo, to handle the browser buttons back, forward and reload?]]></description>
   </item>
   <item>
      <title>Can i pass params in the do Methods</title>
      <link>http://forums.enyojs.com/discussion/1483/can-i-pass-params-in-the-do-methods</link>
      <pubDate>Mon, 03 Jun 2013 11:49:51 +0000</pubDate>
      <category>Enyo 2</category>
      <dc:creator>sangramanand</dc:creator>
      <guid isPermaLink="false">1483@/discussions</guid>
      <description><![CDATA[Hi Team,<br /><br />Can i call a method with params in it, like <br /><code>this.doGoTables({id: id});</code><br /><br />Added below the total code - <br />
<pre><code>enyo.kind({<br />	name : 'OB.UI.Section',<br />	kind : 'OB.UI.ToolbarButton',<br />	icon : 'btn-icon',<br />	events : {<br />		onAddNewOrder : '',<br />		onGoTables: ''<br />	},<br />	handlers : {<br />		onLeftToolbarDisabled : 'disabledButton',<br />		ontap: &quot;anythingTap&quot;<br />	},<br />	disabledButton : function(inSender, inEvent) {<br />		this.isEnabled = !inEvent.status;<br />		this.setDisabled(inEvent.status);<br />	},<br />	initComponents : function() {<br />		this.inherited(arguments);<br />	},<br />	anythingTap : function(inSender, inEvent) {<br />		var id = inSender.id;<br />		alert(id);<br />		this.doGoTables({id: id});<br />	}<br />});</code></pre>
<br />The method onGoTables() is present in its parent class - 
<pre><code>enyo.kind({<br />	name : 'OB.OBPOSPointOfSale.UI.SectionBar',<br />	classes : 'span12',<br />	components : [ {<br />		tag : 'ul',<br />		classes : 'unstyled nav-pos row-fluid',<br />		name : 'toolbar'<br />	} ],<br />	handlers: {<br />		onGoTables: 'goTables',<br />	},<br />	initComponents : function() {<br />		this.inherited(arguments);<br />		var sectionDetail = new OB.DS.Process('org.openbravo.retail.posterminal.steward.SectionDetail');<br />		me = this;<br />		sectionDetail.exec({<br />		}, <br />		function (data) {<br />			enyo.forEach(data.sections, function(section) {<br />				me.$.toolbar.createComponent({<br />					kind : 'OB.OBPOSPointOfSale.UI.TablesButton',<br />					button :  {<br />						kind : 'OB.UI.Section',<br />						content: section.sectionName,<br />						id: section.sectionId<br />					}<br />				});<br />			}, this);<br />		});<br />	},<br />	goTables: function(inResponse) {<br />		alert(&quot;in go tables&quot;);<br />		alert(inResponse.id);<br />		alert(inResponse);<br />	}<br />}); </code></pre>
 <br />How can i access the data in params like  the ID which i set passed in the params.<br /><br />--<br />Thanks]]></description>
   </item>
   <item>
      <title>how to use onyx.Scrim properly</title>
      <link>http://forums.enyojs.com/discussion/1480/how-to-use-onyx-scrim-properly</link>
      <pubDate>Sat, 01 Jun 2013 00:09:14 +0000</pubDate>
      <category>Enyo 2</category>
      <dc:creator>drahgon</dc:creator>
      <guid isPermaLink="false">1480@/discussions</guid>
      <description><![CDATA[I am trying to figure out how to use the onyx.Scrim kind properly. Basically I want the scrim to appear over my control when I mouse over it. When the mouse leaves the control the scrim should go away. Also clicking the scrim should fire off the click event<br /><br />I tried adding my control as a component of my scrim kind but mouse events are not fired due to pointer events:none css class. I want the scrim to prevent mouse events going to the underlying control but I still want clicks on the scrim to be handled. Also when I hide the scrim my control hide as well.  <br /><br />Can some one explain how I should use the scrim kind, an example would be nice if possible. ]]></description>
   </item>
   </channel>
</rss>