<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Flex 2: Development on a budget</title>
	<atom:link href="http://flexblog.faratasystems.com/2006/08/27/flex-2-development-on-a-budget/feed" rel="self" type="application/rss+xml" />
	<link>http://flexblog.faratasystems.com/2006/08/27/flex-2-development-on-a-budget</link>
	<description>A blog about our experience with Adobe Flex</description>
	<lastBuildDate>Thu, 04 Mar 2010 16:15:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Yakov Fain</title>
		<link>http://flexblog.faratasystems.com/2006/08/27/flex-2-development-on-a-budget/comment-page-1#comment-1565</link>
		<dc:creator>Yakov Fain</dc:creator>
		<pubDate>Thu, 04 Jan 2007 15:07:06 +0000</pubDate>
		<guid isPermaLink="false">http://flexblog.faratasystems.com/?p=79#comment-1565</guid>
		<description>Read about Flex to servlet communication at http://flexblog.faratasystems.com/?p=143</description>
		<content:encoded><![CDATA[<p>Read about Flex to servlet communication at <a href="http://flexblog.faratasystems.com/?p=143" rel="nofollow">http://flexblog.faratasystems.com/?p=143</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Devanshu</title>
		<link>http://flexblog.faratasystems.com/2006/08/27/flex-2-development-on-a-budget/comment-page-1#comment-1331</link>
		<dc:creator>Devanshu</dc:creator>
		<pubDate>Thu, 28 Dec 2006 07:36:00 +0000</pubDate>
		<guid isPermaLink="false">http://flexblog.faratasystems.com/?p=79#comment-1331</guid>
		<description>Hi ,
I have started using flex very recently, and am facing a problem, when i create a login screen, which in turn redirects us to another flex screen.
problem: Clicking the submit button twice.
The problem description is as follows:
The user enters the userid and password. Then clicks on submit, which calls a servlet and verifies the login credentials entered. then I verify the result of the servlet back into my mxml file. But when the control comes back for the first time, the response is null. It is only on the second click that the page is redirected. Please find the code below, and help me out on this.
the code is as follows: the &#039;correct&#039; and &#039;wrong&#039; being compared in action script are the values returned by the xml.



	
        
            {uname.text}
            {pass.text}
        
    
			
				
				
				
				
				
				
			
		
	


	




servlet code:

if(username.equals(&quot;xyz&quot;) &amp;&amp; paswrd.equals(&quot;xyz&quot;))
        {
                out.println(&quot;&quot;);
                        out.println(&quot;correct&quot;);
                out.println(&quot;&quot;);
        }
        else
        {
                out.println(&quot;&quot;);
                        out.println(&quot;wrong&quot;);
                out.println(&quot;&quot;);
        }</description>
		<content:encoded><![CDATA[<p>Hi ,<br />
I have started using flex very recently, and am facing a problem, when i create a login screen, which in turn redirects us to another flex screen.<br />
problem: Clicking the submit button twice.<br />
The problem description is as follows:<br />
The user enters the userid and password. Then clicks on submit, which calls a servlet and verifies the login credentials entered. then I verify the result of the servlet back into my mxml file. But when the control comes back for the first time, the response is null. It is only on the second click that the page is redirected. Please find the code below, and help me out on this.<br />
the code is as follows: the &#8216;correct&#8217; and &#8216;wrong&#8217; being compared in action script are the values returned by the xml.</p>
<p>            {uname.text}<br />
            {pass.text}</p>
<p>servlet code:</p>
<p>if(username.equals(&#8220;xyz&#8221;) &amp;&amp; paswrd.equals(&#8220;xyz&#8221;))<br />
        {<br />
                out.println(&#8220;&#8221;);<br />
                        out.println(&#8220;correct&#8221;);<br />
                out.println(&#8220;&#8221;);<br />
        }<br />
        else<br />
        {<br />
                out.println(&#8220;&#8221;);<br />
                        out.println(&#8220;wrong&#8221;);<br />
                out.println(&#8220;&#8221;);<br />
        }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yakov</title>
		<link>http://flexblog.faratasystems.com/2006/08/27/flex-2-development-on-a-budget/comment-page-1#comment-1129</link>
		<dc:creator>Yakov</dc:creator>
		<pubDate>Thu, 21 Dec 2006 18:07:11 +0000</pubDate>
		<guid isPermaLink="false">http://flexblog.faratasystems.com/?p=79#comment-1129</guid>
		<description>Sarat, techniques described in this article just illustrate how to connect from Flex to JSP. Do not make a mistake, I&#039;m not saying that this is how you should work from Flex with Java.

Read this article to have a better understanding: http://java.sys-con.com/read/210991.htm, and data polling using timer is described there as well</description>
		<content:encoded><![CDATA[<p>Sarat, techniques described in this article just illustrate how to connect from Flex to JSP. Do not make a mistake, I&#8217;m not saying that this is how you should work from Flex with Java.</p>
<p>Read this article to have a better understanding: <a href="http://java.sys-con.com/read/210991.htm" rel="nofollow">http://java.sys-con.com/read/210991.htm</a>, and data polling using timer is described there as well</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sarat Chandra Sekhar</title>
		<link>http://flexblog.faratasystems.com/2006/08/27/flex-2-development-on-a-budget/comment-page-1#comment-1128</link>
		<dc:creator>Sarat Chandra Sekhar</dc:creator>
		<pubDate>Thu, 21 Dec 2006 17:55:30 +0000</pubDate>
		<guid isPermaLink="false">http://flexblog.faratasystems.com/?p=79#comment-1128</guid>
		<description>I am pretty new to using flex and presently a java developer.  This article has given me good introductory knowledge on using flex with java. 

If you can help me i want clarification on following :

(1)  I am want to change the color of the button based on the data received from the server.

(2) how to make this client continuously ask data from the server without user intervention.

Regards,

Sarat.</description>
		<content:encoded><![CDATA[<p>I am pretty new to using flex and presently a java developer.  This article has given me good introductory knowledge on using flex with java. </p>
<p>If you can help me i want clarification on following :</p>
<p>(1)  I am want to change the color of the button based on the data received from the server.</p>
<p>(2) how to make this client continuously ask data from the server without user intervention.</p>
<p>Regards,</p>
<p>Sarat.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leif Wells</title>
		<link>http://flexblog.faratasystems.com/2006/08/27/flex-2-development-on-a-budget/comment-page-1#comment-28</link>
		<dc:creator>Leif Wells</dc:creator>
		<pubDate>Mon, 02 Oct 2006 20:03:34 +0000</pubDate>
		<guid isPermaLink="false">http://flexblog.faratasystems.com/?p=79#comment-28</guid>
		<description>I&#039;ll be a whole lot more comfortable when OpenAMF supports the new version of AMF. I suppose that another project to look seriously at would be Red5.

The reason I don&#039;t particularly like using XML in this manner is because of the processing of data on both the client and server sides. An AMF solution works so much better as both sides already agree on what the data is and thus data is only created and not parsed. That being said, Web Services are great especially when it&#039;s someone else&#039;s server you are getting data from.

Just my thoughts on this topic. Thanks for bringing it up.</description>
		<content:encoded><![CDATA[<p>I&#8217;ll be a whole lot more comfortable when OpenAMF supports the new version of AMF. I suppose that another project to look seriously at would be Red5.</p>
<p>The reason I don&#8217;t particularly like using XML in this manner is because of the processing of data on both the client and server sides. An AMF solution works so much better as both sides already agree on what the data is and thus data is only created and not parsed. That being said, Web Services are great especially when it&#8217;s someone else&#8217;s server you are getting data from.</p>
<p>Just my thoughts on this topic. Thanks for bringing it up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Austin</title>
		<link>http://flexblog.faratasystems.com/2006/08/27/flex-2-development-on-a-budget/comment-page-1#comment-23</link>
		<dc:creator>Austin</dc:creator>
		<pubDate>Mon, 02 Oct 2006 18:10:32 +0000</pubDate>
		<guid isPermaLink="false">http://flexblog.faratasystems.com/?p=79#comment-23</guid>
		<description>Yea, and with Red5 you have the push technology sitting there so you can have two-way interaction with the server and its open source. Check it out.</description>
		<content:encoded><![CDATA[<p>Yea, and with Red5 you have the push technology sitting there so you can have two-way interaction with the server and its open source. Check it out.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
