<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>Wakanda Forum - General Discussion</title>
		<link>http://forum.wakanda.org/</link>
		<description>Discuss anything you’d like with other Wakanda developers.</description>
		<language>en</language>
		<lastBuildDate>Wed, 19 Jun 2013 08:05:00 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://forum.wakanda.org/images/misc/rss.png</url>
			<title>Wakanda Forum - General Discussion</title>
			<link>http://forum.wakanda.org/</link>
		</image>
		<item>
			<title>What happens if internet connection is broken during CRUD operations?</title>
			<link>http://forum.wakanda.org/showthread.php?4910-What-happens-if-internet-connection-is-broken-during-CRUD-operations&amp;goto=newpost</link>
			<pubDate>Wed, 19 Jun 2013 06:24:14 GMT</pubDate>
			<description>If internet connection is broken during CRUD operations: 
1. NoSQL database will be broken? 
2. WAF warns that they could not perform CRUD operations...</description>
			<content:encoded><![CDATA[<div>If internet connection is broken during CRUD operations:<br />
1. NoSQL database will be broken?<br />
2. WAF warns that they could not perform CRUD operations or needs us to create events?<br />
3. After restoring the connection is enough replay CRUD operations?</div>

 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>aurelv</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4910-What-happens-if-internet-connection-is-broken-during-CRUD-operations</guid>
		</item>
		<item>
			<title>Wakanda borrows from 4D?</title>
			<link>http://forum.wakanda.org/showthread.php?4908-Wakanda-borrows-from-4D&amp;goto=newpost</link>
			<pubDate>Tue, 18 Jun 2013 21:47:07 GMT</pubDate>
			<description>How can you make such complex and well structured product?</description>
			<content:encoded><![CDATA[<div>How can you make such complex and well structured product?</div>

 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>aurelv</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4908-Wakanda-borrows-from-4D</guid>
		</item>
		<item>
			<title>Wakanda database integrity - NoSQL vs. MySQL</title>
			<link>http://forum.wakanda.org/showthread.php?4907-Wakanda-database-integrity-NoSQL-vs.-MySQL&amp;goto=newpost</link>
			<pubDate>Tue, 18 Jun 2013 21:29:26 GMT</pubDate>
			<description>What about Wakanda database integrity?</description>
			<content:encoded><![CDATA[<div>What about Wakanda database integrity?</div>

 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>aurelv</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4907-Wakanda-database-integrity-NoSQL-vs.-MySQL</guid>
		</item>
		<item>
			<title>How can we protect Wakanda source code applications from clients?</title>
			<link>http://forum.wakanda.org/showthread.php?4905-How-can-we-protect-Wakanda-source-code-applications-from-clients&amp;goto=newpost</link>
			<pubDate>Tue, 18 Jun 2013 11:25:52 GMT</pubDate>
			<description>Is it possble to protect Wakanda source code applications from clients?</description>
			<content:encoded><![CDATA[<div>Is it possble to protect Wakanda source code applications from clients?</div>

 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>aurelv</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4905-How-can-we-protect-Wakanda-source-code-applications-from-clients</guid>
		</item>
		<item>
			<title>dynamic binding for Web Components</title>
			<link>http://forum.wakanda.org/showthread.php?4904-dynamic-binding-for-Web-Components&amp;goto=newpost</link>
			<pubDate>Tue, 18 Jun 2013 11:00:05 GMT</pubDate>
			<description><![CDATA[Hello.  
I'm trying Web components. Is there a way to dinamically bind a web component to an existing data source? I tried: 
 
	this.load = function...]]></description>
			<content:encoded><![CDATA[<div>Hello. <br />
I'm trying Web components. Is there a way to dinamically bind a web component to an existing data source? I tried:<br />
<br />
	this.load = function (data) {<br />
	  this.sources.set = data.userData.src;<br />
.<br />
.<br />
.<br />
<br />
where userData.src is sources of the embedding page. This doesn't give errors, but neither works as expected. <br />
<br />
Could you help. please?<br />
Thank you.</div>

 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>franco.tiveron</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4904-dynamic-binding-for-Web-Components</guid>
		</item>
		<item>
			<title>Wakanda installation on webfaction server</title>
			<link>http://forum.wakanda.org/showthread.php?4903-Wakanda-installation-on-webfaction-server&amp;goto=newpost</link>
			<pubDate>Tue, 18 Jun 2013 06:44:51 GMT</pubDate>
			<description>Hi some one can help me in installing wakanda on webfaction server? i got this reply: 
 
It appears the installation of Wakanda is not...</description>
			<content:encoded><![CDATA[<div>Hi some one can help me in installing wakanda on webfaction server? i got this reply:<br />
<br />
It appears the installation of Wakanda is not straightforward on CentOS Linux, which is the operating system on our servers. Please refer to the following infos:<br />
<br />
According to the system requirements on Wakanda's download page, they are providing a binary distribution that requires &quot;Linux Ubuntu distribution (LTS) 10.4 or above&quot;. So, what's probably happening is that the binary requires libbsd.so.0 and CentOS doesn't provide it.<br />
<br />
It turns out I'm running Xubuntu 12.04 locally, so I tried running it on my local machine, and it works; it's using /lib/x86_64-linux-gnu/libbsd.so.0`.<br />
<br />
This is essentially why on Windows and Mac you see so many binary distributions of software, but on Linux, source distributions of software are more popular. Linux itself is a kernel, and different operating systems will have different libraries, so you either have to (1) make many binary software downloads, (2) choose to support only one or two operating systems, or (3) just distribute the source code instead. Most people opt for (3).<br />
<br />
Wakanda does have source code on its github page, but doesn't seem to offer much in the way of a single tarball with a simple build process.<br />
<br />
As an aside, the most popular operating system for application servers is RedHat Enterprise Linux (or, similarly, CentOS), so it would be somewhat expected that if Wakanda was providing binary executables for Linux, they would at least provide one for the latest stable RHEL. But, they don't.<br />
<br />
What can be done? I haven't tried it for Wakanda, but I bet you could get it running by copying all of the necessary libraries to something like $HOME/lib/ubuntu_libs, and then export LD_LIBRARY_PATH=&quot;$HOME/lib/ubuntu_libs&quot; . Something like patchelf might work as an export replacement, by modifying the ELF binary's internal rpath.<br />
<br />
I'm an end user of OS so I didn't know linux, someone can help me in installing wakanda there?<br />
<br />
Best regards<br />
Sincerely<br />
<br />
Carlo</div>

 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>x_titanium_x</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4903-Wakanda-installation-on-webfaction-server</guid>
		</item>
		<item>
			<title><![CDATA[Why Wakanda isn't Windows XP compatible?]]></title>
			<link>http://forum.wakanda.org/showthread.php?4902-Why-Wakanda-isn-t-Windows-XP-compatible&amp;goto=newpost</link>
			<pubDate>Tue, 18 Jun 2013 05:36:28 GMT</pubDate>
			<description><![CDATA[Why Wakanda isn't Windows XP compatible?]]></description>
			<content:encoded><![CDATA[<div>Why Wakanda isn't Windows XP compatible?</div>

 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>aurelv</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4902-Why-Wakanda-isn-t-Windows-XP-compatible</guid>
		</item>
		<item>
			<title><![CDATA[I like Wakanda. It's a dream.]]></title>
			<link>http://forum.wakanda.org/showthread.php?4900-I-like-Wakanda.-It-s-a-dream.&amp;goto=newpost</link>
			<pubDate>Mon, 17 Jun 2013 21:05:02 GMT</pubDate>
			<description><![CDATA[Today I (re) discover Wakanda after 1-2 years. It's a dream. I hope I did not wake up.]]></description>
			<content:encoded><![CDATA[<div>Today I (re) discover Wakanda after 1-2 years. It's a dream. I hope I did not wake up.</div>

 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>aurelv</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4900-I-like-Wakanda.-It-s-a-dream.</guid>
		</item>
		<item>
			<title>Has memory leaks/consumptions been addressed in Studio version 4 and beyound?</title>
			<link>http://forum.wakanda.org/showthread.php?4898-Has-memory-leaks-consumptions-been-addressed-in-Studio-version-4-and-beyound&amp;goto=newpost</link>
			<pubDate>Sun, 16 Jun 2013 21:28:01 GMT</pubDate>
			<description>Hello Wak Team; 
 
During my app development in Wak3, the major reason I had to stop, was because the studio could simply not handle any page that...</description>
			<content:encoded><![CDATA[<div>Hello Wak Team;<br />
<br />
During my app development in Wak3, the major reason I had to stop, was because the studio could simply not handle any page that had many and complex layout and widgets, in particular the &quot;Tab&quot; widgets with 10 pages and each with many combo boxes. <br />
I had provided lots of info to team regarding these memory leaks, especially when widgets were being moved around and studio would crash. By then, I had reached the limit and that was only 20% of my project.<br />
<br />
My question to team is, have you fixed all these memory leaks? and secondly, I don't see the Tab widget is being re-written in the Roadmap. What's the story with the status of Tab Widget?<br />
<br />
I need to start planning when I can re-start from ground up again, but with the assurance that Studio is working now.<br />
<br />
Thanks!<br />
..Ben</div>

 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>BenHayat</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4898-Has-memory-leaks-consumptions-been-addressed-in-Studio-version-4-and-beyound</guid>
		</item>
		<item>
			<title>Hosted Questionaire with Skip Logic</title>
			<link>http://forum.wakanda.org/showthread.php?4890-Hosted-Questionaire-with-Skip-Logic&amp;goto=newpost</link>
			<pubDate>Fri, 14 Jun 2013 22:36:21 GMT</pubDate>
			<description><![CDATA[Hey there Wakanda Forum, 
 
I'm looking to develop a questionnaire that I can host and have skip logic (or conditional questions) involved.  I know...]]></description>
			<content:encoded><![CDATA[<div>Hey there Wakanda Forum,<br />
<br />
I'm looking to develop a questionnaire that I can host and have skip logic (or conditional questions) involved.  I know that SurveyMonkey can do it, but I need to host this myself because I will have to eventually run private instances (different Wakanda Servers) for a few large select clients (where each project will have it's own questionnaire.<br />
<br />
My goals are the following:<br />
<br />
  - Have pages with 5 to 15 questions.  When the user clicks Submit &amp; Next, the next set of questions (5 to 15) are selection based on the answers of the first set.<br />
<br />
  - Users will only have access to their questionnaire (per client, then per project).  <br />
<br />
  - Once complete and submitted, a report of the answered questions will generated as PDF, automatically emailed to a predetermined email.<br />
<br />
  - Analytical reports can be run across all answers, broken down by Client, Project, etc.  To determine trends within the data.  <br />
<br />
  - I will have a default set of questions, but then I need to be able to add/delete based on the individual client and/or project.  I'd like to be able to add/delete groups of questions (not have to do it individually).  <br />
<br />
Any thoughts?  Is this something that can be easily accomplished in Wakanda?  Suggestions?<br />
<br />
THANKS!<br />
<br />
-H</div>

 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>McMahon@Driven-Inc</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4890-Hosted-Questionaire-with-Skip-Logic</guid>
		</item>
		<item>
			<title><![CDATA[Primary key isn't created...]]></title>
			<link>http://forum.wakanda.org/showthread.php?4883-Primary-key-isn-t-created...&amp;goto=newpost</link>
			<pubDate>Wed, 12 Jun 2013 19:50:42 GMT</pubDate>
			<description><![CDATA[Hi, 
I imported data from mysql, I define a primary key with an existing field. When I make a addnewelement, my key isn't created automatically is...]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
I imported data from mysql, I define a primary key with an existing field. When I make a addnewelement, my key isn't created automatically is this normal.<br />
<br />
Thank for your help.<br />
<br />
Best regards.<br />
<br />
Sylvain</div>

 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>Sylvain</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4883-Primary-key-isn-t-created...</guid>
		</item>
		<item>
			<title>Handler is not a function error</title>
			<link>http://forum.wakanda.org/showthread.php?4879-Handler-is-not-a-function-error&amp;goto=newpost</link>
			<pubDate>Wed, 12 Jun 2013 15:16:34 GMT</pubDate>
			<description>I got this error on MacOS X 10.8.4, Wakanda v5 build 5.135161 (64 bit) 
The same solution has no problem on Windows 7 64 bit (using same build of...</description>
			<content:encoded><![CDATA[<div>I got this error on MacOS X 10.8.4, Wakanda v5 build 5.135161 (64 bit)<br />
The same solution has no problem on Windows 7 64 bit (using same build of wakanda).<br />
<br />
<a href="http://forum.wakanda.org/attachment.php?attachmentid=2792"  title="Name:  
Views: 
Size:  ">Attachment 2792</a><br />
<br />
This error show up when loading a page. This page is the login page as shown below.<br />
<br />
<a href="http://forum.wakanda.org/attachment.php?attachmentid=2793"  title="Name:  
Views: 
Size:  ">Attachment 2793</a><br />
<br />
Below is the code for the page.<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">WAF.onAfterInit = function onAfterInit() {<br />
<br />
// @region namespaceDeclaration<br />
&nbsp; &nbsp; &nbsp; &nbsp; var documentEvent = {};&nbsp; &nbsp; &nbsp; &nbsp; // @document<br />
&nbsp; &nbsp; &nbsp; &nbsp; var btnSignOut = {};&nbsp; &nbsp; &nbsp; &nbsp; // @button<br />
&nbsp; &nbsp; &nbsp; &nbsp; var btnSignIn = {};&nbsp; &nbsp; &nbsp; &nbsp; // @button<br />
// @endregion<br />
<br />
// eventHandlers<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; documentEvent.onLoad = function documentEvent_onLoad (event)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //debugger;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(WAF.directory.currentUser() !== null){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //curUser = WAF.directory.currentUser().fullName;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $$('btnSignIn').hide();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $$('tfLogin').hide();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $$('tfPassword').hide();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $$('rtMessage').setValue(&quot;Logged in as &quot; + WAF.directory.currentUser().fullName);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $$('btnSignOut').show();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } else {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $$('tfLogin').show();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $$('tfPassword').show();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $$('btnSignIn').show();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $$('btnSignOut').hide();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; };<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; btnSignOut.click = function btnSignOut_click (event)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //debugger;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; WAF.directory.logout();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $$('tfLogin').show();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $$('tfPassword').show();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $$('btnSignIn').show();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $$('tfLogin').setValue(&quot;&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $$('tfPassword').setValue(&quot;&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $$('btnSignOut').hide();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $$('rtMessage').setValue(&quot;&quot;);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; };<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; btnSignIn.click = function btnSignIn_click (event)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //debugger;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var loginName = $$('tfLogin').getValue();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var thePassword = $$('tfPassword').getValue();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (WAF.directory.loginByPassword(loginName, thePassword)){<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (WAF.directory.currentUserBelongsTo(&quot;admin&quot;)) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //curUser = WAF.directory.currentUser().fullName;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $$('btnSignIn').hide();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $$('tfLogin').hide();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $$('tfPassword').hide();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $$('rtMessage').setValue(&quot;Logged in as &quot; + WAF.directory.currentUser().fullName);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $$('btnSignOut').show();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; };<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; };<br />
&nbsp; &nbsp; &nbsp; &nbsp; };<br />
<br />
// @region eventManager<br />
&nbsp; &nbsp; &nbsp; &nbsp; WAF.addListener(&quot;document&quot;, &quot;onLoad&quot;, documentEvent.onLoad, &quot;WAF&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; WAF.addListener(&quot;btnSignOut&quot;, &quot;click&quot;, btnSignOut.click, &quot;WAF&quot;);<br />
&nbsp; &nbsp; &nbsp; &nbsp; WAF.addListener(&quot;btnSignIn&quot;, &quot;click&quot;, btnSignIn.click, &quot;WAF&quot;);<br />
// @endregion<br />
};</code><hr />
</div> <br />
Below is content of required.js<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">function myLogin(userName, password){<br />
&nbsp; &nbsp; &nbsp; &nbsp; debugger;<br />
&nbsp; &nbsp; &nbsp; &nbsp; var myUser = ds.User({login:userName});<br />
&nbsp; &nbsp; &nbsp; &nbsp; if (myUser === null) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return false;<br />
&nbsp; &nbsp; &nbsp; &nbsp; } else {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // we will handle login<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (myUser.validatePassword(password)) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var theGroups = [];<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; switch (myUser.accessType) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case 1:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; theGroups = ['Internal'];<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case 2:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; theGroups = ['Administrator'];<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case 3:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; theGroups = ['Manager'];<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case 4:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; theGroups = ['Employee'];<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var connectTime = new Date();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ID: myUser.ID,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; name: myUser.login,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fullName: &quot;guest &quot; + myUser.fullName,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; belongsTo: theGroups,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; storage: {time: connectTime}<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } else {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return {error: 1024, errorMessage: &quot;Invalid login&quot;};<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
}</code><hr />
</div> <br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">// startup.js<br />
directory.setLoginListener('myLogin');</code><hr />
</div> <br />
Thanks in advance</div>


	<div style="padding:10px">

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Images</legend>
			<ul>
			<li>
	<img class="inlineimg" src="/png.gif" alt="File Type: png" />
	<a href="http://forum.wakanda.org/attachment.php?attachmentid=2792&amp;d=1371048706" target="_blank">Screen Shot 2013-06-12 at 9.51.53 PM.png&lrm;</a> 
(61.6 KB)
</li> <li>
	<img class="inlineimg" src="/png.gif" alt="File Type: png" />
	<a href="http://forum.wakanda.org/attachment.php?attachmentid=2793&amp;d=1371049076" target="_blank">Screen Shot 2013-06-12 at 9.57.58 PM.png&lrm;</a> 
(16.0 KB)
</li> 
			</ul>
			</fieldset>
	

	

	</div>
 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>oky</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4879-Handler-is-not-a-function-error</guid>
		</item>
		<item>
			<title><![CDATA[What are the issues related to using Wakanda in Microsoft's world]]></title>
			<link>http://forum.wakanda.org/showthread.php?4877-What-are-the-issues-related-to-using-Wakanda-in-Microsoft-s-world&amp;goto=newpost</link>
			<pubDate>Wed, 12 Jun 2013 05:46:26 GMT</pubDate>
			<description>While the title may insinuate that I am asking for troubles, that is not the case. I am quite impressed with Wakanda as likely the best environment...</description>
			<content:encoded><![CDATA[<div>While the title may insinuate that I am asking for troubles, that is not the case. I am quite impressed with Wakanda as likely the best environment for development of sophisticated JavaScript applications. At the same time all my clients are firmly attached to Microsoft's &quot;stack&quot; (ASP.NET MVC / HTML5 / IIS / Azure).<br />
<br />
So, my question is simply this: assuming that I can prove to my clients the technical prowess of Wakanda, what kind of problems can I run into while developing parts of my solutions in Wakanda. As an example, I will use our Health Record Bank application which is ASP.NET Web Forms app, using Microsoft's HealthVault as data storage with an intermediate SQL database which being bidirectionally synced with HealthVault acts as a proxy that eliminates the network latency issues. <br />
<br />
The same question stated differently: would I be better off extending my solution by using a more MS centric approach like KendoUI, or would Wakanda offer equally good services in my situation?<br />
<br />
Thanks in advance</div>

 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>nik</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4877-What-are-the-issues-related-to-using-Wakanda-in-Microsoft-s-world</guid>
		</item>
		<item>
			<title>CRUD + ComboBox</title>
			<link>http://forum.wakanda.org/showthread.php?4866-CRUD-ComboBox&amp;goto=newpost</link>
			<pubDate>Sat, 08 Jun 2013 14:30:35 GMT</pubDate>
			<description><![CDATA[Hello everyone 
 
What's the best way to do CRUD with a combobox? Do you have an example. 
 
Thank you for this beautiful product:RpS_biggrin: 
...]]></description>
			<content:encoded><![CDATA[<div>Hello everyone<br />
<br />
What's the best way to do CRUD with a combobox? Do you have an example.<br />
<br />
Thank you for this beautiful product:RpS_biggrin:<br />
<br />
Best regards<br />
<br />
Yves</div>

 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>YvesWak</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4866-CRUD-ComboBox</guid>
		</item>
		<item>
			<title>Templating in wakanda server</title>
			<link>http://forum.wakanda.org/showthread.php?4863-Templating-in-wakanda-server&amp;goto=newpost</link>
			<pubDate>Fri, 07 Jun 2013 17:51:24 GMT</pubDate>
			<description>Hello Wakandians, 
 
I have created a module that uses underscore (http://underscorejs.org/) to generate pages/scripts from the server. 
 
I have...</description>
			<content:encoded><![CDATA[<div>Hello Wakandians,<br />
<br />
I have created a module that uses <a href="http://underscorejs.org/" target="_blank">underscore</a> to generate pages/scripts from the server.<br />
<br />
I have published a demo solution to <a href="https://github.com/midrissi/Templating" target="_blank">github</a><br />
<br />
<b><u>This is how to use the demo</u></b>:<ol class="decimal"><li> <a href="http://docs2.wakanda.org/Wakanda/0.Dev%20Branch/Cloning-a-Solution-on-GitHub.200-988395.en.html" target="_blank">Clone the solution from github</a> or just download it and open it with wakanda</li>
<li> Run the file &quot;_tmp/fill.js&quot; to generate the data</li>
<li> Run the &quot;runMe.js&quot;</li>
<li> And finally, open this url: <a href="http://localhost:8081/pages/page.ssjs" target="_blank">http://localhost:8081/pages/page.ssjs</a></li>
</ol><br />
Notice that the file &quot;page.ssjs&quot; does not exist in the webFolder (It's in the Templates folder!), and the content of that file, is simply an <a href="http://underscorejs.org/#template" target="_blank">underscore template</a> that is executed on the server side:<br />
<div class="bbcode_container">
	<div class="bbcode_description">HTML Code:</div>
	<hr /><code class="bbcode_code"><span style="color:#000080">&lt;% ds.Comment.forEach(function(entity){%&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;h4&gt;</span><span style="color:#000080">&lt;%= entity.user %&gt;</span><span style="color:#000080">&lt;/h4&gt;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#000080">&lt;p&gt;</span><span style="color:#000080">&lt;%= entity.comment %&gt;</span><span style="color:#000080">&lt;/p&gt;</span><br />
<span style="color:#000080">&lt;%});%&gt;</span></code><hr />
</div> The &quot;ssjs&quot; module gives direct access to http request and response objects.<br />
As an example, the file &quot;Templates/scripts/script.ssjs&quot; rewrites the content type of the response, and generate a js file that we can inject into an html page. To see the result, just launch the test.html page (In the webFolder).<br />
<br />
This is the content of the &quot;script.ssjs&quot; file:<br />
<div class="bbcode_container">
	<div class="bbcode_description">HTML Code:</div>
	<hr /><code class="bbcode_code"><span style="color:#000080">&lt;% response.headers&#91;'Content-Type'&#93; = 'text/javascript'; %&gt;</span><br />
var array = <span style="color:#000080">&lt;%= JSON.stringify(ds.Comment.toArray('user')) %&gt;</span>;</code><hr />
</div> Please contact me if you have any question.</div>

 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>Mohamed Idrissi</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4863-Templating-in-wakanda-server</guid>
		</item>
		<item>
			<title><![CDATA[Server User's  Session Expiration]]></title>
			<link>http://forum.wakanda.org/showthread.php?4859-Server-User-s-Session-Expiration&amp;goto=newpost</link>
			<pubDate>Thu, 06 Jun 2013 23:24:14 GMT</pubDate>
			<description><![CDATA[Hi Wakanda Team, 
 
Do you now, if there is any server event that it fires just after of server's user session expiration ? 
 
BR/Antonis]]></description>
			<content:encoded><![CDATA[<div>Hi Wakanda Team,<br />
<br />
Do you now, if there is any server event that it fires just after of server's user session expiration ?<br />
<br />
BR/Antonis</div>

 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>avac2005</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4859-Server-User-s-Session-Expiration</guid>
		</item>
		<item>
			<title>Marketplace?</title>
			<link>http://forum.wakanda.org/showthread.php?4858-Marketplace&amp;goto=newpost</link>
			<pubDate>Thu, 06 Jun 2013 17:36:02 GMT</pubDate>
			<description>Is there a Wakanda market place where one can find developers skilled in Wakanda?</description>
			<content:encoded><![CDATA[<div>Is there a Wakanda market place where one can find developers skilled in Wakanda?</div>

 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>ilemona</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4858-Marketplace</guid>
		</item>
		<item>
			<title>wak 5 and sql to 4d v12, does this work, anyone tried?</title>
			<link>http://forum.wakanda.org/showthread.php?4855-wak-5-and-sql-to-4d-v12-does-this-work-anyone-tried&amp;goto=newpost</link>
			<pubDate>Wed, 05 Jun 2013 08:53:55 GMT</pubDate>
			<description>wak 5 and sql to 4d v12, does this work, anyone tried?</description>
			<content:encoded><![CDATA[<div>wak 5 and sql to 4d v12, does this work, anyone tried?</div>

 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>vegarringdal</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4855-wak-5-and-sql-to-4d-v12-does-this-work-anyone-tried</guid>
		</item>
		<item>
			<title>Solved Roadmap</title>
			<link>http://forum.wakanda.org/showthread.php?4854-Roadmap&amp;goto=newpost</link>
			<pubDate>Wed, 05 Jun 2013 04:59:46 GMT</pubDate>
			<description>I am missing the update of the roadmap announced for yesterday. 
 
Ronald 
 
Perhaps this happens in California :RpS_rolleyes:</description>
			<content:encoded><![CDATA[<div>I am missing the update of the roadmap announced for yesterday.<br />
<br />
Ronald<br />
<br />
Perhaps this happens in California :RpS_rolleyes:</div>

 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>Ronald Pfitzer</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4854-Roadmap</guid>
		</item>
		<item>
			<title>Question about the Wak5 Matrix widget</title>
			<link>http://forum.wakanda.org/showthread.php?4845-Question-about-the-Wak5-Matrix-widget&amp;goto=newpost</link>
			<pubDate>Tue, 04 Jun 2013 00:25:46 GMT</pubDate>
			<description>In Wak4 when you dragged a datasource (pointing to a datastore class on the server) onto a matrix, you got the matrix autofilled with Text fields. 
...</description>
			<content:encoded><![CDATA[<div>In Wak4 when you dragged a datasource (pointing to a datastore class on the server) onto a matrix, you got the matrix autofilled with Text fields.<br />
<br />
In Wak5 when you drag a datasource onto a matrix you get a bunch of little pseudo-grids, complete with title and navigation bar? (Why? And is the documentation to be updated soon?)</div>

 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>portis40</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4845-Question-about-the-Wak5-Matrix-widget</guid>
		</item>
		<item>
			<title>Some Feedback</title>
			<link>http://forum.wakanda.org/showthread.php?4835-Some-Feedback&amp;goto=newpost</link>
			<pubDate>Fri, 31 May 2013 20:22:20 GMT</pubDate>
			<description>I am very new to wakanda but I am very experienced in IDEs, tools, languages, javascript, etc., so conceptually I felt right at home with wakanda...</description>
			<content:encoded><![CDATA[<div>I am very new to wakanda but I am very experienced in IDEs, tools, languages, javascript, etc., so conceptually I felt right at home with wakanda from the very first moment.  Wakanda's paradigm is wicked cool.  Well done.<br />
<br />
However, as incredibly powerful and agile wakanda is conceptually, I am encountering so many bugs and quirks that within one day I started to question whether I should use it.<br />
<br />
To be fair I am using the dev release (downloaded yesterday).  So, this might explain the quirks - they are in a number of different categories:<br />
<br />
1) ds.Airport.find and ds.Airport.query don't consistently work.  something as simple as ds.Airport.find(&quot;Code = :1&quot;,&quot;BED&quot;) pulls data only sometimes.<br />
2) the google map is quirky - the zoom and pan work only sometimes<br />
3) Saving a file sometimes doesn't update the rendered html<br />
4) The server side debugger is flaky - it gets stuck and doesn't update the code when the code is changed.<br />
5) The UI designer is very flaky - I click items on the designer surface and sometimes I just can't select something.<br />
6) Grid column before and after vertical separators do not align with the ones in the rows.<br />
7) There are some small pauses in responding to clicks in the designer.  It makes the developement process feel slow.<br />
8) I am not seeing intellisense in the editor.  This is a huge loss for me as this how I quickly learn things.<br />
<br />
The list goes on and on.  In all fairness - what I was able to accomplish in half a day is pretty incredible.  I loaded airport data from the FAA with lats and longs and built a great circle distance calculator which in a class method returns airports within a certain radius distance of a given/selected airport.  The results are displayed in a grid and mapped on the google map.  The javascript method for the distance calculator runs in a serverside where clause and runs in under a second for 20,000 records.  Nice!<br />
<br />
The taste I got from wakanda is delicious, but I am torn about the productivity thing given so many issues.<br />
Can this have to do with me using the v5 dev build?<br />
<br />
Please help me understand if I am doing something wrong.  I am willing to send my project to a wakanda employee in a private message...</div>

 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>t316</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4835-Some-Feedback</guid>
		</item>
		<item>
			<title>Wakanda V5 - Issues</title>
			<link>http://forum.wakanda.org/showthread.php?4832-Wakanda-V5-Issues&amp;goto=newpost</link>
			<pubDate>Fri, 31 May 2013 14:47:07 GMT</pubDate>
			<description><![CDATA[Hi, 
 
I just downloaded V5 and it failed to start with the same error I had for long with DEV versions. 
Not sure why and how to fix it. 
It's...]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I just downloaded V5 and it failed to start with the same error I had for long with DEV versions.<br />
Not sure why and how to fix it.<br />
It's really frustrated unable to use it<br />
<br />
<a href="http://forum.wakanda.org/attachment.php?attachmentid=2755"  title="Name:  
Views: 
Size:  ">Attachment 2755</a><br />
<br />
Maybe Tech team get involved to resolve this.<br />
<br />
Regards,<br />
Hung</div>


	<div style="padding:10px">

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Images</legend>
			<ul>
			<li>
	<img class="inlineimg" src="/jpg.gif" alt="File Type: jpg" />
	<a href="http://forum.wakanda.org/attachment.php?attachmentid=2755&amp;d=1370011527" target="_blank">Wkd_v5.JPG&lrm;</a> 
(28.7 KB)
</li> 
			</ul>
			</fieldset>
	

	

	</div>
 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>nguyenhung77478</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4832-Wakanda-V5-Issues</guid>
		</item>
		<item>
			<title>How do I stop a running script?</title>
			<link>http://forum.wakanda.org/showthread.php?4830-How-do-I-stop-a-running-script&amp;goto=newpost</link>
			<pubDate>Fri, 31 May 2013 12:19:00 GMT</pubDate>
			<description>As in the instructions for importing data I have a script that parses line by line an import file. 
 
As I am doing quick prototyping, I notice...</description>
			<content:encoded><![CDATA[<div>As in the instructions for importing data I have a script that parses line by line an import file.<br />
<br />
As I am doing quick prototyping, I notice things that are wrong in the script (like misaligned columns etc) and want to stop the script and re-run it.<br />
<br />
Firstly, I can't figure out what UI action stops the script (it opens chrome in debug mode which is great but how do I stop this script?).<br />
<br />
I have tried just closing chrome and then re-running the script but the execution (breakpoint) is right where the script left before closing the browser.  As I fiddle around with pressing the Stop Server button, etc., I am getting &quot;Errors occured while stopping Wakanda Sever with the Test Solution&quot; type of errors.<br />
<br />
What am I doing wrong?<br />
<br />
Also - how would I go about making the script work with parameters (almost like command line parameters).  In the import scenarios, for example, I would want a parameter to indicate whether the delete all records first or just overlay updated records...</div>

 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>t316</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4830-How-do-I-stop-a-running-script</guid>
		</item>
		<item>
			<title>setTimeout in entity method</title>
			<link>http://forum.wakanda.org/showthread.php?4829-setTimeout-in-entity-method&amp;goto=newpost</link>
			<pubDate>Fri, 31 May 2013 02:20:38 GMT</pubDate>
			<description><![CDATA[The following method is a entity method(scope is public) 
 
Code: 
--------- 
plant:function() 
{ 
	var myCrop = this.cropCollection.find('ID = 99');...]]></description>
			<content:encoded><![CDATA[<div>The following method is a entity method(scope is public)<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">plant:function()<br />
{<br />
&nbsp; &nbsp; &nbsp; &nbsp; var myCrop = this.cropCollection.find('ID = 99');<br />
&nbsp; &nbsp; &nbsp; &nbsp; //I have tested the myCrop is right<br />
&nbsp; &nbsp; &nbsp; &nbsp; setTimeout(myCrop.changeMaturity, 10000);<br />
&nbsp; &nbsp; &nbsp; &nbsp; wait();<br />
}</code><hr />
</div> the changeMaturity method:<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">changeMaturity:function()<br />
{<br />
&nbsp; &nbsp; &nbsp; &nbsp; this.maturity = 99;<br />
&nbsp; &nbsp; &nbsp; &nbsp; this.save();<br />
}</code><hr />
</div> My question is that the sentence <br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">this.save();</code><hr />
</div> does not work, the debugger show the below picture:<br />
<a href="http://forum.wakanda.org/attachment.php?attachmentid=2757"  title="Name:  
Views: 
Size:  ">Attachment 2757</a><br />
<br />
Can anybody give some tips, Thx in advance.</div>


	<div style="padding:10px">

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Images</legend>
			<ul>
			<li>
	<img class="inlineimg" src="/jpg.gif" alt="File Type: jpg" />
	<a href="http://forum.wakanda.org/attachment.php?attachmentid=2757&amp;d=1370012324" target="_blank">12123.jpg&lrm;</a> 
(23.1 KB)
</li> 
			</ul>
			</fieldset>
	

	

	</div>
 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>bonjourscott</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4829-setTimeout-in-entity-method</guid>
		</item>
		<item>
			<title>Adding onRowDraw listener on dynamically created grid</title>
			<link>http://forum.wakanda.org/showthread.php?4828-Adding-onRowDraw-listener-on-dynamically-created-grid&amp;goto=newpost</link>
			<pubDate>Thu, 30 May 2013 21:27:13 GMT</pubDate>
			<description>Hi, 
 
I am creating a grid dynamically in code and I want to have code run using the onRowDraw event.  My problem is that the datasource is defined...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I am creating a grid dynamically in code and I want to have code run using the onRowDraw event.  My problem is that the datasource is defined when creating the grid and the rows are all drawn before the onRowDraw event is defined.  Can someone tell me how to A) assign the datasource (and columns) after the event is defined, and then draw the grid rows, or B) just refresh the grid to redraw all the rows after defining the event.<br />
<br />
My code is below.  Thanks.<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">&nbsp; &nbsp; <br />
&nbsp;var componentWidget = new WAF.widget.Grid({<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'id': 'comp_' + domID,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'data-type': 'grid',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'data-lib': 'WAF',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'data-binding': dataBindingValue,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'data-column':dataColumnValue,<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  'data-constraint-top': 'true',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'data-constraint-right': 'true',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'data-constraint-left': 'true',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'data-constraint-bottom': 'true',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'class': 'waf-widget waf-grid default inherited',<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 'data-readOnly':'true'});<br />
<br />
$$('comp_'+domID).addListener('onRowDraw',function(e) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var html = '&lt;div style=&quot;text-align:right&quot;&gt;' + e.row.cells[4].value + '&lt;/div&gt;';<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; e.row.cells[4].insideCell.html(html);<br />
&nbsp; &nbsp; &nbsp; &nbsp; });</code><hr />
</div> </div>

 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>Jernz</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4828-Adding-onRowDraw-listener-on-dynamically-created-grid</guid>
		</item>
		<item>
			<title>Can the journal file be backed with Volume Shadow Services while wakanda app is running without performance degradation?</title>
			<link>http://forum.wakanda.org/showthread.php?4827-Can-the-journal-file-be-backed-with-Volume-Shadow-Services-while-wakanda-app-is-running-without-performance-degradation&amp;goto=newpost</link>
			<pubDate>Thu, 30 May 2013 19:09:19 GMT</pubDate>
			<description>Can the journal file be backed with Volume Shadow Services while wakanda app is running without considerable performance degradation? 
 
I am asking...</description>
			<content:encoded><![CDATA[<div>Can the journal file be backed with Volume Shadow Services while wakanda app is running without considerable performance degradation?<br />
<br />
I am asking this because this would allow a single data file backup for the day and regular (every x hours or x minutes) backup of the journal file during the day for differential data during the day...<br />
<br />
Also, can a data, model and journal files be xcopy deployed?  Meaning, can I take a full live production copy of those files (while the site is running) and copy them in to a dev environment to get an up to date snapshot of the production site for development and debugging purposes?<br />
<br />
Thanks</div>

 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>t316</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4827-Can-the-journal-file-be-backed-with-Volume-Shadow-Services-while-wakanda-app-is-running-without-performance-degradation</guid>
		</item>
		<item>
			<title>Socket programming</title>
			<link>http://forum.wakanda.org/showthread.php?4823-Socket-programming&amp;goto=newpost</link>
			<pubDate>Thu, 30 May 2013 07:27:15 GMT</pubDate>
			<description>I use the socket for the first time, so I do a basic test about the communication between server and client socket(in the same host, which is...</description>
			<content:encoded><![CDATA[<div>I use the socket for the first time, so I do a basic test about the communication between server and client socket(in the same host, which is localhost).<br />
Here are my codes,<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">// the sever side<br />
var net = require('net');<br />
var server = new net.Server();<br />
<br />
server.listen(8081, &quot;127.0.0.1&quot;, function(socket) { //'listening' event listener<br />
&nbsp; &nbsp; console.log('server bound');<br />
&nbsp; &nbsp; socket.write('Hello~');<br />
});<br />
<br />
// the client side<br />
var net = require('net'); <br />
var socket = new net.Socket();<br />
socket.connect(8081, 'localhost', function () {<br />
&nbsp; &nbsp; socket.addListener('data', function (data) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; console.log(data.toString());<br />
&nbsp; &nbsp; });<br />
});<br />
<br />
socket.destroy();</code><hr />
</div> Then,I first run the sever code, it returns 'fail to start listener'. Can anybody tell me what's wrong with my code? I know little about the socket usage, so maybe there is some stupid mistakes, please answer it with patience, and tell me more in details if possible. Thanks~</div>

 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>begincolor</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4823-Socket-programming</guid>
		</item>
		<item>
			<title>Production / Test Environment</title>
			<link>http://forum.wakanda.org/showthread.php?4821-Production-Test-Environment&amp;goto=newpost</link>
			<pubDate>Wed, 29 May 2013 21:32:40 GMT</pubDate>
			<description><![CDATA[I have been using Wakanda for a few months now and may be getting to a point where I am going to put out our first "live" application.  To date I...]]></description>
			<content:encoded><![CDATA[<div>I have been using Wakanda for a few months now and may be getting to a point where I am going to put out our first &quot;live&quot; application.  To date I have been doing all of my development on the local machine and running the server on the local machine as well.  What are people using for the workflow (I have minimal git experience)?  <br />
<br />
Here are the issues I am trying to resolve:<br />
<br />
1.  All my development has been on a 64 bit Windows 7 system.  Production will be a Linux based server running on one of our virtual servers.  Can I just expect everything to work as it has to this point?  At one point I believe the Linux Wakanda server did not have full support as the other OS'es did.<br />
<br />
2.  How to I do the initial publishing of the system from my development machine to the server?<br />
<br />
3.  Ongoing, how do I work on changes locally with a local model and then only push out the changes to the live box.  Cannot obviously work directly on live as there will be people using it and sometimes (or maybe more than sometimes) I like to break / refactor things.  <br />
<br />
Other ideas on making the production / development cycle more smooth and seamless?<br />
<br />
Thanks!</div>

 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>lweidig</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4821-Production-Test-Environment</guid>
		</item>
		<item>
			<title>Comingle external ui component witn wakanda ui</title>
			<link>http://forum.wakanda.org/showthread.php?4820-Comingle-external-ui-component-witn-wakanda-ui&amp;goto=newpost</link>
			<pubDate>Wed, 29 May 2013 20:55:10 GMT</pubDate>
			<description>If I wanted to add, for example, a wijmo widget in to a wakanda ui page... 
 
a) Is it possible to place it in to a wakanda container or arbitrary...</description>
			<content:encoded><![CDATA[<div>If I wanted to add, for example, a wijmo widget in to a wakanda ui page...<br />
<br />
a) Is it possible to place it in to a wakanda container or arbitrary div.  Can I add custom html to wakanda pages?<br />
b) how do I add the external js and css files<br />
c) what happens when wakanda resizes the page or containing div<br />
d) can I still work inside wakanda (I probably would not see the widget until I run the page - this is fine)<br />
e) how do I pass data from the datasource to the widget (I am ok with brute force iteration for now)<br />
f) is there a video or tutorial for this - looked but didn't see anything</div>

 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>t316</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4820-Comingle-external-ui-component-witn-wakanda-ui</guid>
		</item>
		<item>
			<title>Datagrid looses horizontal scrollbar when it shrinks</title>
			<link>http://forum.wakanda.org/showthread.php?4818-Datagrid-looses-horizontal-scrollbar-when-it-shrinks&amp;goto=newpost</link>
			<pubDate>Wed, 29 May 2013 18:08:46 GMT</pubDate>
			<description><![CDATA[Hi All, 
 
Not sure why Datagrid looses horizontal scrollbar when it vertically shrinks. 
I don't think it's a normal behavior...maybe a bug? 
...]]></description>
			<content:encoded><![CDATA[<div>Hi All,<br />
<br />
Not sure why Datagrid looses horizontal scrollbar when it vertically shrinks.<br />
I don't think it's a normal behavior...maybe a bug?<br />
<br />
<a href="http://forum.wakanda.org/attachment.php?attachmentid=2751"  title="Name:  
Views: 
Size:  ">Attachment 2751</a><br />
<a href="http://forum.wakanda.org/attachment.php?attachmentid=2752"  title="Name:  
Views: 
Size:  ">Attachment 2752</a></div>


	<div style="padding:10px">

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Images</legend>
			<ul>
			<li>
	<img class="inlineimg" src="/jpg.gif" alt="File Type: jpg" />
	<a href="http://forum.wakanda.org/attachment.php?attachmentid=2751&amp;d=1369850880" target="_blank">grid_normal.JPG&lrm;</a> 
(139.6 KB)
</li> <li>
	<img class="inlineimg" src="/jpg.gif" alt="File Type: jpg" />
	<a href="http://forum.wakanda.org/attachment.php?attachmentid=2752&amp;d=1369850888" target="_blank">grid_shrink.JPG&lrm;</a> 
(161.7 KB)
</li> 
			</ul>
			</fieldset>
	

	

	</div>
 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>nguyenhung77478</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4818-Datagrid-looses-horizontal-scrollbar-when-it-shrinks</guid>
		</item>
		<item>
			<title>Data grouping by multiple fields</title>
			<link>http://forum.wakanda.org/showthread.php?4817-Data-grouping-by-multiple-fields&amp;goto=newpost</link>
			<pubDate>Wed, 29 May 2013 13:59:40 GMT</pubDate>
			<description>I am considering replacing an Asp.Net MVC sytem that uses WebApi and hence has fantastic support for rest based querying of data sources.  I am...</description>
			<content:encoded><![CDATA[<div>I am considering replacing an Asp.Net MVC sytem that uses WebApi and hence has fantastic support for rest based querying of data sources.  I am fairly sure wakanda matches most of the functionality except for two areas that I haven't seen mentioned:<br />
1) Queries that group data by multiple fields (and sort by the grouped field) and potentially run aggregate functions on the groups.<br />
2) Defining url route patterns that map to different restful queries.<br />
<br />
Are these possible?  2) is nice to have and it's absence is not a big problem for me, but 1) is fairly important.</div>

 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>t316</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4817-Data-grouping-by-multiple-fields</guid>
		</item>
		<item>
			<title>Aligning numbers to the right in grid column</title>
			<link>http://forum.wakanda.org/showthread.php?4815-Aligning-numbers-to-the-right-in-grid-column&amp;goto=newpost</link>
			<pubDate>Wed, 29 May 2013 03:35:18 GMT</pubDate>
			<description><![CDATA[Hello, 
 
I have some grids, and I want to make the data in the number columns align to the right.  How can I do this?  I can't find anything in the...]]></description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
I have some grids, and I want to make the data in the number columns align to the right.  How can I do this?  I can't find anything in the documentation.</div>

 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>Jernz</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4815-Aligning-numbers-to-the-right-in-grid-column</guid>
		</item>
		<item>
			<title>A few questions:</title>
			<link>http://forum.wakanda.org/showthread.php?4813-A-few-questions&amp;goto=newpost</link>
			<pubDate>Tue, 28 May 2013 18:14:51 GMT</pubDate>
			<description>I am considering using wakanda in a brand new project but have the following questions/concerns - would somebody be kind enough to answer them?: 
...</description>
			<content:encoded><![CDATA[<div>I am considering using wakanda in a brand new project but have the following questions/concerns - would somebody be kind enough to answer them?:<br />
<br />
1) The Current User/Group architecture:  Can the user and group entities be extended with additional properties?  Can the current user and group entities be linked to other entitites as object properties in the ER designer?<br />
<br />
2) Can one use an outside social login service like janrain to do the authentication and tell wakanda that a user has been authenticated (and should become the current user)?  The way this would work is a client side javascript component provided by janrain would invoke the social service's login, this would trigger a server side callback in wakanda - there would be enough info at this point to lookup the successfully authenticated user in wakanda and assume it is logged in (but on the server side) and set the current session user to it.<br />
<br />
3) Can most of the ui be built with components like wijmo by using wakanda as a datastore and initializing knockout observables with the returned data?<br />
<br />
4) Is there a way to parse xml returned from external web services on the server side.<br />
<br />
5) Is there a solution to pub/sub like real-time communication between and server and client right now (possibly through other nodejs components)?<br />
<br />
6) When is the mysql version of the entity relationship designer coming out?  I want the same restful data querying and client side api story going against the same type of ER diagrammed data model, but with the physical implementation of the data model being in mysql.<br />
<br />
7) Is there a multi-server load balancing/fault-tolerance story yet?  <br />
<br />
8) Is the current dev channel (as of 05-28-2013) basically the v5 in the roadmap?  When is v5 scheduled for and when is v6 scheduled for?<br />
<br />
9) If I had a history of 500 million vehicle position history records and wanted to query the database with a query that semantically equated to: &quot;Get me all the type x vehicles that were within 50 mile radius of city y as of datetime xyz&quot;.  Such a query would have nuances of doing a query with a where clause based on a computed scalar function (defined in javascript on the server side data model by me) that tells you whether vehicle position is within 50 miles of city y position and further constrains that by a time and vehicle characteristics.  Is it possible?  How would it perform?<br />
<br />
10) If I wanted to build a Single Page Application where any relevant UI state has a matching hashtag url parameter:  I know how to do this in a plain javascript SPA with a toolkit like sammy.js.   How do I do this in wakanda - preferably can I use sammy js as the dispatcher of hashtag routes which then set the state of the UI?<br />
<br />
Thanks</div>

 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>t316</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4813-A-few-questions</guid>
		</item>
		<item>
			<title>permissions for pages, files and folders</title>
			<link>http://forum.wakanda.org/showthread.php?4805-permissions-for-pages-files-and-folders&amp;goto=newpost</link>
			<pubDate>Mon, 27 May 2013 07:08:51 GMT</pubDate>
			<description>In the docu there is a section about permissions for pages, files and folders: 
 
 
---Quote--- 
For Pages, files, and folders, the following...</description>
			<content:encoded><![CDATA[<div>In the docu there is a section about permissions for pages, files and folders:<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Quote:</div>
	<div class="bbcode_quote printable">
		<hr />
		
			For Pages, files, and folders, the following permissions are available:<br />
All HTTP request methods (GET, POST, PUT, and DELETE)<br />
Note: Currently being implemented and not yet available
			
		<hr />
	</div>
</div> It is said that it is currently being implemented. <br />
<br />
As I did not see it in the roadmap I am just curious if it is still being implemented or if the implementation has been postponed?</div>

 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>pkesch</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4805-permissions-for-pages-files-and-folders</guid>
		</item>
		<item>
			<title><![CDATA[How to calculate the elapsed time&#65311;]]></title>
			<link>http://forum.wakanda.org/showthread.php?4803-How-to-calculate-the-elapsed-time&#65311;&amp;goto=newpost</link>
			<pubDate>Sun, 26 May 2013 08:06:40 GMT</pubDate>
			<description>hi all, 
 
I am dealing with a web game, which needs a time system to calculate the elapsed time? 
 
This game considers 4 hours as 1 day. 
 
What is...</description>
			<content:encoded><![CDATA[<div>hi all,<br />
<br />
I am dealing with a web game, which needs a time system to calculate the elapsed time?<br />
<br />
This game considers 4 hours as 1 day.<br />
<br />
What is the best solution to establish it?<br />
<br />
thanks a lot in advance.</div>

 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>bonjourscott</dc:creator>
			<guid isPermaLink="true"><![CDATA[http://forum.wakanda.org/showthread.php?4803-How-to-calculate-the-elapsed-time&#65311;]]></guid>
		</item>
		<item>
			<title>Very strange about query on client-side</title>
			<link>http://forum.wakanda.org/showthread.php?4800-Very-strange-about-query-on-client-side&amp;goto=newpost</link>
			<pubDate>Sat, 25 May 2013 16:29:00 GMT</pubDate>
			<description><![CDATA[I know it's not good to put too much thing here, but some problems really confused me a week that I have to describe the whole scenario here....]]></description>
			<content:encoded><![CDATA[<div>I know it's not good to put too much thing here, but some problems really confused me a week that I have to describe the whole scenario here.<br />
<a href="http://forum.wakanda.org/attachment.php?attachmentid=2737"  title="Name:  
Views: 
Size:  ">Attachment 2737</a><br />
The thing is that I wanna achieve a shopping cart on client. every time the user click the '+' button, corresponding goods will be accumulated to the local entityCollection of datasource(named shop_cart which has datastore class defined on server,but normally I won't persist any data in it,because all operation on it will be on client).The left grid shown in the picture is bound to the Shop_cart datastore, just for testing use. Here is part of my code:<br />
<br />
var myshops=sources.shop_cart.getEntityCollection();<br />
<br />
cropsadd.click = function cropsadd_click (event)<br />
	{<br />
var cropCurr=sources.crop_model.getCurrentElement(); //to get the current selected item in store, in the current case shown in picture, it is 'corn'.<br />
<br />
myshops.query(&quot;name==:1&quot;,{ params:[cropCurr.type.getValue()],   // the query just wanna judge if the selected item has already existed in my shop_cart collection<br />
			onSuccess:function(event){<br />
				var items=<font color="#FF0000">event.entityCollection</font>;<br />
				_addShop(items,cropCurr);<br />
			}<br />
			......<br />
}<br />
<br />
<br />
	function _addShop(items,cropCurr){<br />
		if(items.length!=0)    // if the item selected has already been added in shop cart at least once,<br />
		{<br />
			......              // the accumulation realization<br />
			                <br />
			sources.shop_cart.setEntityCollection(myshops);<br />
			<br />
		<br />
			<br />
		} else{                   //if the item selected is adding for the first time<br />
			......                          // adding new item realization<br />
<br />
			sources.shop_cart.setEntityCollection(myshops);<br />
			<br />
		}	<br />
	<br />
	}<br />
<br />
Regardless of the omitted part of code that I ensure there is nothing wrong and myshops is assigned, my problem is every time I click the add button, the event.entityCollection just show nothing, so every time it just add a new item, even if with the same item(in this case, I want them be accumulated, changes on the quantity attibute of shop_cart). The truth is myshops does have the same entities, but the query returns nothing,as displayed below:<br />
<a href="http://forum.wakanda.org/attachment.php?attachmentid=2739"  title="Name:  
Views: 
Size:  ">Attachment 2739</a><br />
Thus, I cannot achieve my requirement.<br />
<br />
Is there something I don't know clearly about the query method? Besides, I find difficulty telling the difference between entityCollection.query() and sources.datasource.query(), are they actually serve the same purpose?<br />
<br />
I realized that maybe my description is not easy to understand, or if there is more easy ways to achieve my shop cart function as what I need, I will be very grateful for those options offered, because I don't even think my approach is a good one, and I got quite a few obstacles to do that.</div>


	<div style="padding:10px">

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Images</legend>
			<ul>
			<li>
	<img class="inlineimg" src="/jpg.gif" alt="File Type: jpg" />
	<a href="http://forum.wakanda.org/attachment.php?attachmentid=2737&amp;d=1369497219" target="_blank">QQ&#25130;&#22270;20130525234233.jpg&lrm;</a> 
(17.8 KB)
</li> <li>
	<img class="inlineimg" src="/jpg.gif" alt="File Type: jpg" />
	<a href="http://forum.wakanda.org/attachment.php?attachmentid=2739&amp;d=1369499889" target="_blank">QQ&#25130;&#22270;20130526003744.jpg&lrm;</a> 
(16.1 KB)
</li> 
			</ul>
			</fieldset>
	

	

	</div>
 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>begincolor</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4800-Very-strange-about-query-on-client-side</guid>
		</item>
		<item>
			<title>question about query in client-side</title>
			<link>http://forum.wakanda.org/showthread.php?4798-question-about-query-in-client-side&amp;goto=newpost</link>
			<pubDate>Fri, 24 May 2013 06:07:54 GMT</pubDate>
			<description><![CDATA[It's not convenient to bring all my code here, and not very simple to describe the context.But I think there is just some conceptual questions bother...]]></description>
			<content:encoded><![CDATA[<div>It's not convenient to bring all my code here, and not very simple to describe the context.But I think there is just some conceptual questions bother me. <br />
The setting is in client, when I do a query on the entityCollection of a bound datastore, I find the query is always based on all entities in datastore class. But I need a query always on current entitycollection in client-side, how can I achieve that? (there is no filterQuery() for entityCollection).<br />
Another thing is about the filterQuery of datasource, how to retrieve the returning entityCollection in onSuccess method? Because the normal way event.entityCollection doesn't work, or specifically,there is no entitycollection in event. So how can I get the result?</div>

 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>begincolor</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4798-question-about-query-in-client-side</guid>
		</item>
		<item>
			<title><![CDATA[Wakanda Image attribute -> Javascript Image Class]]></title>
			<link>http://forum.wakanda.org/showthread.php?4796-Wakanda-Image-attribute-gt-Javascript-Image-Class&amp;goto=newpost</link>
			<pubDate>Thu, 23 May 2013 21:30:53 GMT</pubDate>
			<description>Hello, 
 
I am using Wakanda to do a web multiplayer game and I need to draw an image attribute from dataclass in a canvas. But the image attribute...</description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
I am using Wakanda to do a web multiplayer game and I need to draw an image attribute from dataclass in a canvas. But the image attribute of Wakanda is different from a Javascript Image Class so it's not functional.<br />
<br />
I want to know if there is a way in order to use the image Attribute from Wakanda in a Image Class from Javascript.<br />
<br />
Thanks for your answers<br />
<br />
Sorry for my english, I am French.</div>

 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>alexis85</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4796-Wakanda-Image-attribute-gt-Javascript-Image-Class</guid>
		</item>
		<item>
			<title>question about client-side callback function</title>
			<link>http://forum.wakanda.org/showthread.php?4792-question-about-client-side-callback-function&amp;goto=newpost</link>
			<pubDate>Thu, 23 May 2013 09:22:00 GMT</pubDate>
			<description>This is about entityCollection.query() in client-side. Recently, when I use this function in my project, I feel very confused about the execution...</description>
			<content:encoded><![CDATA[<div>This is about entityCollection.query() in client-side. Recently, when I use this function in my project, I feel very confused about the execution sequence of its callback function.As show below:<br />
<a href="http://forum.wakanda.org/attachment.php?attachmentid=2734"  title="Name:  
Views: 
Size:  ">Attachment 2734</a><br />
myShops is an entityCollection, and it does contain several entities. But every time the judgement below shows the length is 0. When I debug it, I see the code in onSuccess{} is always executed afterwards, after all subsequent code, so the variable items certainly isn't assigned before the judgement statement. Why? How can I control the the callback function's executing sequence to make the following judgement statement meaningful?</div>


	<div style="padding:10px">

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Images</legend>
			<ul>
			<li>
	<img class="inlineimg" src="/png.gif" alt="File Type: png" />
	<a href="http://forum.wakanda.org/attachment.php?attachmentid=2734&amp;d=1369300364" target="_blank">QQ&#25130;&#22270;20130523171017.png&lrm;</a> 
(8.7 KB)
</li> 
			</ul>
			</fieldset>
	

	

	</div>
 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>begincolor</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4792-question-about-client-side-callback-function</guid>
		</item>
		<item>
			<title>How is the Tech note about generating pdf report using Jasper report going?</title>
			<link>http://forum.wakanda.org/showthread.php?4790-How-is-the-Tech-note-about-generating-pdf-report-using-Jasper-report-going&amp;goto=newpost</link>
			<pubDate>Wed, 22 May 2013 20:44:22 GMT</pubDate>
			<description>Hi, Wakanda Team, 
 
Saad Mousliki mentioned a Tech Note about using a third party (Jasper report) and a system worker to create PDF report in this...</description>
			<content:encoded><![CDATA[<div>Hi, Wakanda Team,<br />
<br />
Saad Mousliki mentioned a Tech Note about using a third party (Jasper report) and a system worker to create PDF report in this thread (<a href="http://forum.wakanda.org/showthread.php?4066-Anyone-know-if-wak5-will-get-generate-PDF-build-in-and-good-report-component&amp;highlight=jasper+report" target="_blank">http://forum.wakanda.org/showthread....=jasper+report</a>) .<br />
<br />
I am wondering when will the tech note be released? thx<br />
<br />
Cheers</div>

 ]]></content:encoded>
			<category domain="http://forum.wakanda.org/forumdisplay.php?8-General-Discussion">General Discussion</category>
			<dc:creator>wei</dc:creator>
			<guid isPermaLink="true">http://forum.wakanda.org/showthread.php?4790-How-is-the-Tech-note-about-generating-pdf-report-using-Jasper-report-going</guid>
		</item>
	</channel>
</rss>
